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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 80.67 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 154.9 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 319 MB, free: 3.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.757e-05, allocations: 6.219 kB / 319 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02651/0.02653, allocations: 21.35 MB / 340.3 MB, free: 5.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01688/0.04342, allocations: 7.084 MB / 347.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004849/0.04827, allocations: 222.9 kB / 347.6 MB, free: 14.94 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02195/0.07022, allocations: 8.67 MB / 356.3 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01159/0.08181, allocations: 3.025 MB / 359.3 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005377/0.08719, allocations: 1.717 MB / 361 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01565/0.1028, allocations: 11.17 MB / 372.2 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02385/0.1267, allocations: 14.2 MB / 386.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01886/0.1455, allocations: 8.62 MB / 395 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01189/0.1574, allocations: 5.454 MB / 400.5 MB, free: 9.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004495/0.1619, allocations: 1.668 MB / 402.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006288/0.1682, allocations: 2.03 MB / 404.2 MB, free: 6.141 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004568/0.1728, allocations: 3.215 MB / 407.4 MB, free: 2.918 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00928/0.1821, allocations: 4.078 MB / 411.5 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03142/0.2135, allocations: 22.69 MB / 434.1 MB, free: 8.086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.2135, allocations: 0 / 434.1 MB, free: 8.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2135, allocations: 0 / 434.1 MB, free: 8.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006071/0.2141, allocations: 4 kB / 434.2 MB, free: 8.082 MB / 398.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.04049/0.2546, allocations: 12.76 MB / 446.9 MB, free: 11.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.2546, allocations: 12.92 kB / 446.9 MB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03701/0.2916, allocations: 6.253 MB / 453.2 MB, free: 4.949 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01757/0.3092, allocations: 6.995 MB / 460.2 MB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001006/0.3102, allocations: 0.6985 MB / 460.9 MB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004082/0.3143, allocations: 0.9218 MB / 461.8 MB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3517/0.666, allocations: 15.88 MB / 477.7 MB, free: 110.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005178/0.6665, allocations: 12.8 kB / 477.7 MB, free: 110.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002647/0.6691, allocations: 394.7 kB / 478.1 MB, free: 110.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008064/0.67, allocations: 0.5513 MB / 478.6 MB, free: 110.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03135/0.7013, allocations: 14.71 MB / 493.3 MB, free: 105 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07493/0.7762, allocations: 44 MB / 0.5248 GB, free: 71.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0169/0.7931, allocations: 9.17 MB / 0.5337 GB, free: 63.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00445/0.7976, allocations: 2.925 MB / 0.5366 GB, free: 60.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004136/0.798, allocations: 75.08 kB / 0.5366 GB, free: 60.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.762e-05/0.7981, allocations: 77.62 kB / 0.5367 GB, free: 60.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=398): time 7.304e-06/0.7981, allocations: 0 / 0.5367 GB, free: 60.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=404): time 0.03827/0.8363, allocations: 17.03 MB / 0.5533 GB, free: 43.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.8364, allocations: 94.58 kB / 0.5534 GB, free: 43.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0056/0.842, allocations: 3.583 MB / 0.5569 GB, free: 40.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005966/0.8426, allocations: 89.7 kB / 0.557 GB, free: 39.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002155/0.8447, allocations: 4.128 MB / 0.561 GB, free: 35.92 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001576/0.8463, allocations: 1.428 MB / 0.5624 GB, free: 34.51 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002417/0.8487, allocations: 1.129 MB / 0.5635 GB, free: 33.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.824e-05/0.8488, allocations: 305.1 kB / 0.5638 GB, free: 33.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003834/0.8526, allocations: 2.795 MB / 0.5666 GB, free: 30.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004688/0.8573, allocations: 4.974 MB / 0.5714 GB, free: 24.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008886/0.8662, allocations: 8.294 MB / 0.5795 GB, free: 15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.688e-05/0.8663, allocations: 20 kB / 0.5795 GB, free: 14.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.0148/0.8811, allocations: 9.031 MB / 0.5884 GB, free: 5.922 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.715e-05/0.8811, allocations: 32 kB / 0.5884 GB, free: 5.891 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001222/0.8812, allocations: 72 kB / 0.5885 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003128/0.8844, allocations: 1.182 MB / 0.5896 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004736/0.8891, allocations: 1.322 MB / 0.5909 GB, free: 3.312 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01587/0.905, allocations: 9.467 MB / 0.6001 GB, free: 9.738 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004627/0.9096, allocations: 331.6 kB / 0.6005 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001189/0.9108, allocations: 284 kB / 0.6007 GB, free: 9.137 MB / 446.1 MB 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.008403/0.9192, allocations: 3.708 MB / 0.6044 GB, free: 5.414 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001675/0.9209, allocations: 405.3 kB / 0.6047 GB, free: 5.016 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01613/0.937, allocations: 6.606 MB / 0.6112 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01297/0.95, allocations: 5.525 MB / 0.6166 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.118e-05/0.95, allocations: 12 kB / 0.6166 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001215/0.9502, allocations: 23.91 kB / 0.6166 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03391/0.9841, allocations: 13.43 MB / 0.6297 GB, free: 11.29 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.652e-05/0.9841, allocations: 4 kB / 0.6297 GB, free: 11.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003507/0.9876, allocations: 0.726 MB / 0.6305 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00353/0.9911, allocations: 1.08 MB / 0.6315 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006096/0.9917, allocations: 95.95 kB / 0.6316 GB, free: 9.387 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01515/1.007, allocations: 8.407 MB / 0.6398 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.007, allocations: 4 kB / 0.6398 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1745/1.181, allocations: 9.755 MB / 0.6493 GB, free: 143 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002433/1.184, allocations: 0.8904 MB / 0.6502 GB, free: 142.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007858/1.185, allocations: 77.52 kB / 0.6503 GB, free: 142.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002173/1.187, allocations: 203.8 kB / 0.6505 GB, free: 142.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007588/1.188, allocations: 301.3 kB / 0.6508 GB, free: 142.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002788/1.188, allocations: 123.1 kB / 0.6509 GB, free: 142.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003576/1.191, allocations: 2.323 MB / 0.6531 GB, free: 141.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/1.191, allocations: 0 / 0.6531 GB, free: 141.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00547/1.197, allocations: 1.602 MB / 0.6547 GB, free: 141.6 MB / 478.1 MB 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.0006536/1.198, allocations: 290.6 kB / 0.655 GB, free: 141.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01018/1.208, allocations: 6.827 MB / 0.6617 GB, free: 138.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.208, allocations: 4.219 kB / 0.6617 GB, free: 138.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005165/1.213, allocations: 3.148 MB / 0.6647 GB, free: 137.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003992/1.217, allocations: 0.8698 MB / 0.6656 GB, free: 137.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02206/1.239, allocations: 16.65 MB / 0.6818 GB, free: 129.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005017/1.244, allocations: 5.734 MB / 0.6874 GB, free: 125.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004016/1.248, allocations: 1.895 MB / 0.6893 GB, free: 123.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009559/1.249, allocations: 335 kB / 0.6896 GB, free: 123.6 MB / 478.1 MB Notification: Performance of SimCode: time 9.72e-07/1.249, allocations: 0 / 0.6896 GB, free: 123.6 MB / 478.1 MB Notification: Performance of Templates: time 0.08769/1.337, allocations: 59.53 MB / 0.7478 GB, free: 67.06 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.431997638195753]