Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 115.9 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 51.91 kB / 378.3 MB, free: 2.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2348, allocations: 53.36 MB / 431.7 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03213/0.267, allocations: 27.16 MB / 458.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01859/0.2856, allocations: 8.199 MB / 467 MB, free: 3.391 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004857/0.2904, allocations: 238.8 kB / 467.3 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02259/0.313, allocations: 9.514 MB / 476.8 MB, free: 9.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01133/0.3243, allocations: 3.455 MB / 480.2 MB, free: 6.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005613/0.3299, allocations: 1.881 MB / 482.1 MB, free: 4.285 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01847/0.3484, allocations: 12.36 MB / 494.5 MB, free: 7.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0283/0.3767, allocations: 16.03 MB / 0.4985 GB, free: 7.656 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009848/0.3866, allocations: 6.636 MB / 0.505 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01228/0.3988, allocations: 7.312 MB / 0.5122 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0047/0.4035, allocations: 1.836 MB / 0.514 GB, free: 7.832 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006677/0.4102, allocations: 2.23 MB / 0.5161 GB, free: 5.602 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005819/0.416, allocations: 3.62 MB / 0.5197 GB, free: 1.973 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01407/0.4301, allocations: 6.927 MB / 0.5264 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2464/0.6765, allocations: 24.82 MB / 0.5507 GB, free: 43.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.6765, allocations: 0 / 0.5507 GB, free: 43.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6765, allocations: 3.406 kB / 0.5507 GB, free: 43.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000668/0.6772, allocations: 0 / 0.5507 GB, free: 43.76 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04275/0.7199, allocations: 14.69 MB / 0.565 GB, free: 37.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.72, allocations: 9.906 kB / 0.565 GB, free: 37.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04421/0.7642, allocations: 8.437 MB / 0.5733 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01819/0.7824, allocations: 7.777 MB / 0.5809 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007792/0.7832, allocations: 0.8027 MB / 0.5816 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005204/0.7884, allocations: 1.055 MB / 0.5827 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04227/0.8306, allocations: 18.34 MB / 0.6006 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003306/0.831, allocations: 15.91 kB / 0.6006 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003107/0.8341, allocations: 450.8 kB / 0.601 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005173/0.8346, allocations: 0.6672 MB / 0.6017 GB, free: 9.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03787/0.8725, allocations: 17.6 MB / 0.6189 GB, free: 8.215 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1077/0.9802, allocations: 56.9 MB / 0.6744 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02376/1.004, allocations: 12.82 MB / 0.6869 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006638/1.011, allocations: 3.747 MB / 0.6906 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004787/1.011, allocations: 148.8 kB / 0.6907 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.867e-05/1.011, allocations: 94.61 kB / 0.6908 GB, free: 464 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=518): time 6.893e-06/1.011, allocations: 0 / 0.6908 GB, free: 464 kB / 0.5137 GB Notification: Performance of matching and sorting (n=524): time 0.04986/1.061, allocations: 21.46 MB / 0.7118 GB, free: 10.86 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.024e-05/1.061, allocations: 103.5 kB / 0.7119 GB, free: 10.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006604/1.068, allocations: 4.191 MB / 0.716 GB, free: 6.527 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005338/1.068, allocations: 109.7 kB / 0.7161 GB, free: 6.414 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003584/1.072, allocations: 4.668 MB / 0.7206 GB, free: 1.734 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001972/1.074, allocations: 1.869 MB / 0.7225 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002163/1.076, allocations: 1.366 MB / 0.7238 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.076, allocations: 305.1 kB / 0.7241 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005701/1.082, allocations: 3.453 MB / 0.7275 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007764/1.09, allocations: 5.884 MB / 0.7332 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01536/1.105, allocations: 10.04 MB / 0.743 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.2e-05/1.105, allocations: 20 kB / 0.743 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2589/1.364, allocations: 10.95 MB / 0.7537 GB, free: 201 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.504e-05/1.364, allocations: 38.25 kB / 0.7538 GB, free: 201 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001886/1.364, allocations: 79.06 kB / 0.7538 GB, free: 201 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003707/1.368, allocations: 1.448 MB / 0.7553 GB, free: 201 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005931/1.374, allocations: 1.625 MB / 0.7568 GB, free: 201 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01491/1.389, allocations: 11.41 MB / 0.768 GB, free: 197.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00548/1.394, allocations: 404.7 kB / 0.7684 GB, free: 197.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001114/1.395, allocations: 337.3 kB / 0.7687 GB, free: 197.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006526/1.402, allocations: 4.163 MB / 0.7728 GB, free: 195.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001083/1.403, allocations: 498.6 kB / 0.7732 GB, free: 195.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01268/1.416, allocations: 8.445 MB / 0.7815 GB, free: 192.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009617/1.425, allocations: 7.076 MB / 0.7884 GB, free: 189.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.932e-05/1.425, allocations: 14.12 kB / 0.7884 GB, free: 189.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-05/1.425, allocations: 26.34 kB / 0.7884 GB, free: 189.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02849/1.454, allocations: 18.81 MB / 0.8068 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/1.454, allocations: 4 kB / 0.8068 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003356/1.457, allocations: 0.9442 MB / 0.8077 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00315/1.46, allocations: 1.303 MB / 0.809 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000411/1.461, allocations: 116 kB / 0.8091 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0121/1.473, allocations: 10.11 MB / 0.819 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/1.473, allocations: 4.5 kB / 0.819 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01774/1.491, allocations: 12.29 MB / 0.831 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003009/1.494, allocations: 1.137 MB / 0.8321 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007555/1.494, allocations: 96 kB / 0.8322 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/1.497, allocations: 271.8 kB / 0.8324 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006407/1.497, allocations: 372.2 kB / 0.8328 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002789/1.498, allocations: 157.5 kB / 0.833 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003252/1.501, allocations: 2.815 MB / 0.8357 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/1.501, allocations: 0 / 0.8357 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005281/1.506, allocations: 1.941 MB / 0.8376 GB, free: 145.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.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 (499): * Single equations (assignments): 497 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005426/1.507, allocations: 297.6 kB / 0.8379 GB, free: 145 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01144/1.518, allocations: 8.407 MB / 0.8461 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/1.518, allocations: 4 kB / 0.8461 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005392/1.523, allocations: 3.9 MB / 0.8499 GB, free: 132.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004619/1.528, allocations: 1.14 MB / 0.851 GB, free: 131.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02581/1.554, allocations: 19.53 MB / 0.8701 GB, free: 111.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005153/1.559, allocations: 7.005 MB / 0.8769 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005054/1.564, allocations: 2.317 MB / 0.8792 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/1.565, allocations: 443.3 kB / 0.8796 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/1.565, allocations: 0 / 0.8796 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.1188/1.684, allocations: 86.25 MB / 0.9639 GB, free: 16.43 MB / 0.5762 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.584818714065477]