Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 105.9 kB / 17.06 MB, free: 6.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001122, allocations: 196.1 kB / 18 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 47.92 kB / 351.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3003, allocations: 49.44 MB / 400.8 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02422/0.3246, allocations: 24.76 MB / 425.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01531/0.34, allocations: 7.348 MB / 432.9 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006146/0.3461, allocations: 187.4 kB / 433 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01982/0.366, allocations: 8.789 MB / 441.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.3761, allocations: 2.917 MB / 444.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005434/0.3816, allocations: 1.706 MB / 446.5 MB, free: 11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01456/0.3961, allocations: 10.73 MB / 457.2 MB, free: 244 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03296/0.4291, allocations: 21.83 MB / 479 MB, free: 10.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008472/0.4377, allocations: 5.697 MB / 484.7 MB, free: 4.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009869/0.4476, allocations: 6.253 MB / 491 MB, free: 14.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004392/0.452, allocations: 1.672 MB / 492.6 MB, free: 12.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007049/0.4591, allocations: 2.035 MB / 494.7 MB, free: 10.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005647/0.4647, allocations: 3.153 MB / 497.8 MB, free: 7.418 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0117/0.4765, allocations: 6.09 MB / 0.4921 GB, free: 1.305 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02443/0.5009, allocations: 22.36 MB / 0.5139 GB, free: 10.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.501, allocations: 4 kB / 0.5139 GB, free: 10.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.501, allocations: 4 kB / 0.514 GB, free: 10.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005244/0.5015, allocations: 0 / 0.514 GB, free: 10.86 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.042/0.5435, allocations: 12.94 MB / 0.5266 GB, free: 13.81 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.5436, allocations: 12.03 kB / 0.5266 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03635/0.5799, allocations: 6.241 MB / 0.5327 GB, free: 7.543 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01632/0.5963, allocations: 6.922 MB / 0.5395 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.4427/1.039, allocations: 0.6991 MB / 0.5401 GB, free: 114.6 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005467/1.045, allocations: 0.9151 MB / 0.541 GB, free: 114.6 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04006/1.085, allocations: 15.75 MB / 0.5564 GB, free: 109.1 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002699/1.085, allocations: 6.203 kB / 0.5564 GB, free: 109.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002099/1.087, allocations: 389.8 kB / 0.5568 GB, free: 108.9 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004089/1.087, allocations: 0.5563 MB / 0.5573 GB, free: 108.8 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02665/1.114, allocations: 14.77 MB / 0.5718 GB, free: 96.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07096/1.185, allocations: 51.12 MB / 0.6217 GB, free: 44.8 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01821/1.203, allocations: 26.45 MB / 0.6475 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004319/1.208, allocations: 3.213 MB / 0.6507 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003256/1.208, allocations: 159 kB / 0.6508 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/1.208, allocations: 77.69 kB / 0.6509 GB, free: 11.86 MB / 462.1 MB Notification: Performance of pre-optimization done (n=398): time 5.731e-06/1.208, allocations: 3.312 kB / 0.6509 GB, free: 11.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=404): time 0.03564/1.244, allocations: 17.41 MB / 0.6679 GB, free: 10.77 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/1.244, allocations: 98.5 kB / 0.668 GB, free: 10.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005822/1.25, allocations: 3.694 MB / 0.6716 GB, free: 7.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000717/1.251, allocations: 89.7 kB / 0.6717 GB, free: 6.926 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002798/1.253, allocations: 4.122 MB / 0.6757 GB, free: 2.945 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001725/1.255, allocations: 1.445 MB / 0.6771 GB, free: 1.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001707/1.257, allocations: 1.137 MB / 0.6782 GB, free: 380 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.953e-05/1.257, allocations: 305.1 kB / 0.6785 GB, free: 72 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004069/1.261, allocations: 2.797 MB / 0.6812 GB, free: 13.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005265/1.266, allocations: 4.96 MB / 0.6861 GB, free: 7.316 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01073/1.277, allocations: 8.308 MB / 0.6942 GB, free: 14.01 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-05/1.277, allocations: 20 kB / 0.6942 GB, free: 13.99 MB / 0.4982 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01871/1.296, allocations: 9.112 MB / 0.7031 GB, free: 4.855 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 9.81e-05/1.296, allocations: 36 kB / 0.7032 GB, free: 4.82 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002458/1.296, allocations: 75.98 kB / 0.7032 GB, free: 4.746 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004172/1.3, allocations: 1.225 MB / 0.7044 GB, free: 3.523 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005664/1.306, allocations: 1.322 MB / 0.7057 GB, free: 2.199 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01723/1.323, allocations: 9.933 MB / 0.7154 GB, free: 8.133 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004944/1.328, allocations: 335.6 kB / 0.7157 GB, free: 7.805 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001233/1.33, allocations: 280 kB / 0.716 GB, free: 7.531 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007871/1.337, allocations: 3.709 MB / 0.7196 GB, free: 3.809 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001538/1.339, allocations: 421.3 kB / 0.72 GB, free: 3.395 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01469/1.354, allocations: 6.693 MB / 0.7266 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01041/1.364, allocations: 5.603 MB / 0.732 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.348e-05/1.364, allocations: 12 kB / 0.732 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.888e-05/1.364, allocations: 19.92 kB / 0.7321 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3057/1.67, allocations: 15.76 MB / 0.7475 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/1.67, allocations: 7.844 kB / 0.7475 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002645/1.673, allocations: 0.7212 MB / 0.7482 GB, free: 173.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002937/1.676, allocations: 1.112 MB / 0.7493 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003841/1.676, allocations: 93.19 kB / 0.7493 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/1.687, allocations: 8.862 MB / 0.758 GB, free: 168.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.687, allocations: 7.844 kB / 0.758 GB, free: 168.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01373/1.701, allocations: 9.869 MB / 0.7676 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002211/1.703, allocations: 0.9761 MB / 0.7686 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006666/1.704, allocations: 75.53 kB / 0.7687 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00194/1.706, allocations: 198.9 kB / 0.7689 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006043/1.706, allocations: 290 kB / 0.7691 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002272/1.707, allocations: 120.3 kB / 0.7692 GB, free: 164 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003412/1.71, allocations: 2.499 MB / 0.7717 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/1.71, allocations: 0 / 0.7717 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00535/1.715, allocations: 1.607 MB / 0.7733 GB, free: 162.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006828/1.716, allocations: 286.4 kB / 0.7735 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01034/1.726, allocations: 7.149 MB / 0.7805 GB, free: 157.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/1.726, allocations: 0 / 0.7805 GB, free: 157.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006555/1.733, allocations: 3.398 MB / 0.7838 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004685/1.738, allocations: 0.9723 MB / 0.7848 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02498/1.763, allocations: 16.63 MB / 0.801 GB, free: 138.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005209/1.768, allocations: 6.189 MB / 0.8071 GB, free: 132.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004569/1.773, allocations: 1.908 MB / 0.8089 GB, free: 130.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009685/1.774, allocations: 343.4 kB / 0.8093 GB, free: 130.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.323e-06/1.774, allocations: 0 / 0.8093 GB, free: 130.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.09558/1.869, allocations: 66.23 MB / 0.8739 GB, free: 64.49 MB / 0.5294 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches