Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001614/0.001614, allocations: 81.91 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001661/0.001661, allocations: 165.4 kB / 24.82 MB, free: 9.312 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.943/0.943, allocations: 177 MB / 205.1 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.873e-05, allocations: 2.312 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1294/0.1294, allocations: 23.39 MB / 296.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01526/0.1447, allocations: 7.915 MB / 304.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005457/0.1501, allocations: 218.2 kB / 304.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0108/0.1609, allocations: 8.667 MB / 313.6 MB, free: 7.273 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007993/0.1689, allocations: 3.15 MB / 316.7 MB, free: 4.777 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003227/0.1722, allocations: 1.818 MB / 318.5 MB, free: 3.352 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01045/0.1826, allocations: 11.71 MB / 330.2 MB, free: 9.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01977/0.2024, allocations: 14.53 MB / 344.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01288/0.2152, allocations: 9.029 MB / 353.8 MB, free: 1.516 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009572/0.2248, allocations: 6.414 MB / 360.2 MB, free: 11.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00606/0.2309, allocations: 1.715 MB / 361.9 MB, free: 9.371 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006673/0.2376, allocations: 2.159 MB / 364.1 MB, free: 7.211 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004668/0.2422, allocations: 3.515 MB / 367.6 MB, free: 3.688 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007793/0.25, allocations: 4.269 MB / 371.9 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0151/0.2651, allocations: 10.86 MB / 382.7 MB, free: 4.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.2651, allocations: 3.938 kB / 382.7 MB, free: 4.516 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2651, allocations: 0 / 382.7 MB, free: 4.516 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005877/0.2657, allocations: 0 / 382.7 MB, free: 4.516 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.02577/0.2915, allocations: 13.42 MB / 396.1 MB, free: 6.996 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.2915, allocations: 11.98 kB / 396.2 MB, free: 6.984 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01947/0.311, allocations: 6.095 MB / 402.3 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01018/0.3212, allocations: 6.57 MB / 408.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001038/0.3222, allocations: 0.7224 MB / 409.5 MB, free: 9.496 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00286/0.3251, allocations: 0.9452 MB / 410.5 MB, free: 8.551 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02074/0.3458, allocations: 7.783 MB / 418.3 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002491/0.3461, allocations: 19.92 kB / 418.3 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001513/0.3476, allocations: 400 kB / 418.7 MB, free: 260 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004256/0.348, allocations: 0.5591 MB / 419.2 MB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01206/0.3601, allocations: 3.688 MB / 422.9 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1879/0.548, allocations: 41.24 MB / 464.2 MB, free: 76.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005168/0.5531, allocations: 5.716 MB / 469.9 MB, free: 75.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.5544, allocations: 1.326 MB / 471.2 MB, free: 75.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/0.5546, allocations: 179.9 kB / 471.4 MB, free: 75.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.5547, allocations: 86.56 kB / 471.5 MB, free: 75.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=447): time 5.62e-06/0.5547, allocations: 0 / 471.5 MB, free: 75.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=452): time 0.01885/0.5735, allocations: 10.73 MB / 482.2 MB, free: 70.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.5736, allocations: 98.95 kB / 482.3 MB, free: 70.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002848/0.5764, allocations: 3.773 MB / 486.1 MB, free: 66.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.5766, allocations: 97.7 kB / 486.2 MB, free: 66.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001375/0.578, allocations: 4.646 MB / 490.8 MB, free: 62.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006407/0.5786, allocations: 1.652 MB / 492.5 MB, free: 60.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001115/0.5797, allocations: 1.359 MB / 493.8 MB, free: 59.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 2.95e-05/0.5797, allocations: 478.2 kB / 494.3 MB, free: 58.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008213/0.5806, allocations: 0.738 MB / 495 MB, free: 58.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/0.5821, allocations: 3.995 MB / 499 MB, free: 53.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003085/0.5852, allocations: 5.386 MB / 0.4926 GB, free: 46.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.418e-05/0.5853, allocations: 24 kB / 0.4926 GB, free: 46.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.00511/0.5904, allocations: 5.184 MB / 0.4977 GB, free: 42.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.5904, allocations: 32 kB / 0.4977 GB, free: 41.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.705e-05/0.5904, allocations: 72 kB / 0.4978 GB, free: 41.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001912/0.5923, allocations: 1.221 MB / 0.499 GB, free: 40.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/0.5944, allocations: 1.279 MB / 0.5002 GB, free: 39.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005815/0.6003, allocations: 8.387 MB / 0.5084 GB, free: 31.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.6019, allocations: 219.8 kB / 0.5086 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002498/0.6022, allocations: 255.9 kB / 0.5089 GB, free: 30.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001751/0.6039, allocations: 0.5493 MB / 0.5094 GB, free: 30.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000625/0.6046, allocations: 0.5948 MB / 0.51 GB, free: 29.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005223/0.6098, allocations: 5.141 MB / 0.515 GB, free: 24.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002913/0.6127, allocations: 2.593 MB / 0.5175 GB, free: 22.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.6127, allocations: 12 kB / 0.5175 GB, free: 22.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.237e-05/0.6127, allocations: 23.91 kB / 0.5176 GB, free: 22.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/0.6247, allocations: 11.56 MB / 0.5289 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.6247, allocations: 8 kB / 0.5289 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/0.6261, allocations: 0.7104 MB / 0.5296 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001771/0.6278, allocations: 1.105 MB / 0.5306 GB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/0.628, allocations: 112 kB / 0.5307 GB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005228/0.6332, allocations: 7.924 MB / 0.5385 GB, free: 1.871 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6332, allocations: 8.875 kB / 0.5385 GB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005538/0.6388, allocations: 4.794 MB / 0.5432 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/0.6401, allocations: 0.8667 MB / 0.544 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003098/0.6405, allocations: 88 kB / 0.5441 GB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009254/0.6414, allocations: 116 kB / 0.5442 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000408/0.6418, allocations: 350 kB / 0.5445 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001878/0.642, allocations: 112 kB / 0.5447 GB, free: 11.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001777/0.6438, allocations: 1.686 MB / 0.5463 GB, free: 10.01 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6438, allocations: 0 / 0.5463 GB, free: 10.01 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004254/0.648, allocations: 1.715 MB / 0.548 GB, free: 8.297 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00107/0.6491, allocations: 0.5198 MB / 0.5485 GB, free: 7.965 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005042/0.6541, allocations: 4.227 MB / 0.5526 GB, free: 4.008 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.6541, allocations: 3.375 kB / 0.5526 GB, free: 4.008 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002476/0.6566, allocations: 2.333 MB / 0.5549 GB, free: 1.777 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/0.6589, allocations: 0.9834 MB / 0.5559 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/0.6755, allocations: 14.87 MB / 0.5704 GB, free: 1.832 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002093/0.6776, allocations: 2.75 MB / 0.5731 GB, free: 15.06 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001927/0.6796, allocations: 0.7236 MB / 0.5738 GB, free: 14.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001739/0.6813, allocations: 1.045 MB / 0.5748 GB, free: 13.29 MB / 426.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6813, allocations: 0 / 0.5748 GB, free: 13.29 MB / 426.7 MB Notification: Performance of Templates: time 0.2228/0.9041, allocations: 71.29 MB / 0.6444 GB, free: 95.51 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.341109194327146]