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.001482/0.001482, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001495/0.001495, allocations: 149.4 kB / 24.26 MB, free: 180 kB / 18.57 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.474/1.474, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 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.432e-06/1.432e-06, allocations: 0 / 267.4 MB, free: 6.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.073e-05, allocations: 6.25 kB / 267.4 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02965/0.02968, allocations: 21.36 MB / 288.7 MB, free: 1.223 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1439/0.1736, allocations: 7.114 MB / 295.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006119/0.1797, allocations: 222.8 kB / 296.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02087/0.2006, allocations: 8.662 MB / 304.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01065/0.2112, allocations: 3.029 MB / 307.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005278/0.2165, allocations: 1.696 MB / 309.4 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01285/0.2294, allocations: 11.19 MB / 320.6 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02904/0.2584, allocations: 14.21 MB / 334.8 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02162/0.28, allocations: 8.619 MB / 343.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01304/0.2931, allocations: 5.451 MB / 348.9 MB, free: 8.238 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00535/0.2984, allocations: 1.672 MB / 350.6 MB, free: 6.566 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008074/0.3065, allocations: 2.038 MB / 352.6 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006042/0.3125, allocations: 3.215 MB / 355.8 MB, free: 1.305 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0134/0.3259, allocations: 4.074 MB / 359.9 MB, free: 13.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03768/0.3636, allocations: 22.7 MB / 382.6 MB, free: 6.453 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3636, allocations: 0 / 382.6 MB, free: 6.453 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3636, allocations: 0 / 382.6 MB, free: 6.453 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0006412/0.3643, allocations: 4 kB / 382.6 MB, free: 6.449 MB / 330.7 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.04291/0.4072, allocations: 12.76 MB / 395.4 MB, free: 9.602 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.4072, allocations: 16.91 kB / 395.4 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0411/0.4483, allocations: 7.806 MB / 403.2 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01984/0.4682, allocations: 7.32 MB / 410.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001091/0.4693, allocations: 0.7023 MB / 411.2 MB, free: 9.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004965/0.4742, allocations: 0.9179 MB / 412.1 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04833/0.5225, allocations: 15.89 MB / 428 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003181/0.5229, allocations: 19.94 kB / 428 MB, free: 8.746 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002731/0.5256, allocations: 384 kB / 428.4 MB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007191/0.5263, allocations: 0.5508 MB / 429 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2614/0.7877, allocations: 14.7 MB / 443.7 MB, free: 108.8 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06849/0.8562, allocations: 45.21 MB / 488.9 MB, free: 76.96 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01566/0.8719, allocations: 9.202 MB / 498.1 MB, free: 68.85 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005451/0.8773, allocations: 2.924 MB / 0.4893 GB, free: 65.93 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005018/0.8778, allocations: 103.1 kB / 0.4894 GB, free: 65.82 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.256e-05/0.8779, allocations: 77.81 kB / 0.4894 GB, free: 65.74 MB / 378.8 MB Notification: Performance of pre-optimization done (n=398): time 7.284e-06/0.8779, allocations: 0 / 0.4894 GB, free: 65.74 MB / 378.8 MB Notification: Performance of matching and sorting (n=404): time 0.03673/0.9146, allocations: 17.17 MB / 0.5062 GB, free: 48.9 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.9147, allocations: 94.58 kB / 0.5063 GB, free: 48.79 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004228/0.9189, allocations: 3.587 MB / 0.5098 GB, free: 45.3 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004147/0.9193, allocations: 85.7 kB / 0.5099 GB, free: 45.21 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001492/0.9208, allocations: 4.127 MB / 0.5139 GB, free: 41.22 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009104/0.9217, allocations: 1.428 MB / 0.5153 GB, free: 39.81 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001356/0.9231, allocations: 1.136 MB / 0.5164 GB, free: 38.66 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.92e-05/0.9231, allocations: 305.1 kB / 0.5167 GB, free: 38.36 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003275/0.9264, allocations: 2.787 MB / 0.5194 GB, free: 35.57 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004194/0.9306, allocations: 4.971 MB / 0.5243 GB, free: 29.59 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009014/0.9396, allocations: 8.298 MB / 0.5324 GB, free: 20.3 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.606e-05/0.9397, allocations: 20 kB / 0.5324 GB, free: 20.28 MB / 378.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01532/0.955, allocations: 9.308 MB / 0.5415 GB, free: 10.95 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.708e-05/0.9551, allocations: 36 kB / 0.5415 GB, free: 10.91 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001267/0.9552, allocations: 68 kB / 0.5416 GB, free: 10.84 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004224/0.9594, allocations: 1.396 MB / 0.543 GB, free: 9.445 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004931/0.9644, allocations: 1.33 MB / 0.5443 GB, free: 8.113 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01394/0.9783, allocations: 9.515 MB / 0.5536 GB, free: 14.49 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004804/0.9831, allocations: 331.5 kB / 0.5539 GB, free: 14.16 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001243/0.9843, allocations: 287.9 kB / 0.5541 GB, free: 13.88 MB / 394.8 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.01008/0.9944, allocations: 3.705 MB / 0.5578 GB, free: 10.16 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002114/0.9965, allocations: 0.517 MB / 0.5583 GB, free: 9.645 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01562/1.012, allocations: 6.613 MB / 0.5647 GB, free: 3 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01193/1.024, allocations: 5.529 MB / 0.5701 GB, free: 13.45 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.772e-05/1.024, allocations: 8 kB / 0.5701 GB, free: 13.45 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.734e-05/1.024, allocations: 23.91 kB / 0.5702 GB, free: 13.42 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1566/1.181, allocations: 13.45 MB / 0.5833 GB, free: 127.1 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.103e-05/1.181, allocations: 5.297 kB / 0.5833 GB, free: 127.1 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003542/1.184, allocations: 0.7215 MB / 0.584 GB, free: 127.1 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004249/1.189, allocations: 1.255 MB / 0.5852 GB, free: 127.1 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006369/1.189, allocations: 91.75 kB / 0.5853 GB, free: 127.1 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.013/1.202, allocations: 8.463 MB / 0.5936 GB, free: 124.5 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.202, allocations: 10.56 kB / 0.5936 GB, free: 124.5 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01422/1.216, allocations: 9.905 MB / 0.6033 GB, free: 120.4 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002053/1.218, allocations: 0.9016 MB / 0.6041 GB, free: 120.2 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005315/1.219, allocations: 75.06 kB / 0.6042 GB, free: 120.1 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/1.221, allocations: 205.2 kB / 0.6044 GB, free: 120 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007253/1.222, allocations: 305.8 kB / 0.6047 GB, free: 120 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002418/1.222, allocations: 119.7 kB / 0.6048 GB, free: 120 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003127/1.225, allocations: 2.322 MB / 0.6071 GB, free: 119.1 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/1.225, allocations: 0 / 0.6071 GB, free: 119.1 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.005441/1.23, allocations: 1.603 MB / 0.6087 GB, free: 118.9 MB / 410.8 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.0006033/1.231, allocations: 288.1 kB / 0.6089 GB, free: 118.8 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.009737/1.241, allocations: 6.843 MB / 0.6156 GB, free: 116.2 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.241, allocations: 0 / 0.6156 GB, free: 116.2 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004907/1.246, allocations: 3.152 MB / 0.6187 GB, free: 114.9 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004281/1.25, allocations: 0.8934 MB / 0.6196 GB, free: 114.6 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02539/1.275, allocations: 16.89 MB / 0.6361 GB, free: 99.12 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005486/1.281, allocations: 5.739 MB / 0.6417 GB, free: 94.7 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.004461/1.285, allocations: 1.883 MB / 0.6435 GB, free: 92.89 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009681/1.286, allocations: 336.4 kB / 0.6438 GB, free: 92.56 MB / 410.8 MB Notification: Performance of SimCode: time 1.944e-06/1.286, allocations: 0 / 0.6438 GB, free: 92.56 MB / 410.8 MB Notification: Performance of Templates: time 0.09067/1.377, allocations: 59.78 MB / 0.7022 GB, free: 33.53 MB / 410.8 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.718292374978773]