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_withLosses.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.0007976/0.0007976, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001112/0.00191, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006361/0.0006361, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008924/0.001528, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8306/0.8306, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1437/0.9743, allocations: 52.48 MB / 238.5 MB, free: 7.633 MB / 234.7 MB " [Timeout remaining time 179] 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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.0.0_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=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 239.8 MB, free: 6.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.859e-05, allocations: 2.312 kB / 239.8 MB, free: 6.324 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01576/0.01578, allocations: 23.54 MB / 263.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.02699, allocations: 8.143 MB / 271.5 MB, free: 6.539 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.02845, allocations: 222.9 kB / 271.7 MB, free: 6.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00753/0.03598, allocations: 8.866 MB / 280.6 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004053/0.04003, allocations: 3.099 MB / 283.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002208/0.04224, allocations: 1.83 MB / 285.5 MB, free: 8.465 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007006/0.04925, allocations: 11.64 MB / 297.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01213/0.06137, allocations: 14.56 MB / 311.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007231/0.0686, allocations: 9.369 MB / 321.1 MB, free: 4.641 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1109/0.1795, allocations: 6.462 MB / 327.5 MB, free: 22.05 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003382/0.1829, allocations: 1.713 MB / 329.2 MB, free: 22.05 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003782/0.1867, allocations: 2.14 MB / 331.4 MB, free: 22.05 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001597/0.1883, allocations: 2.837 MB / 334.2 MB, free: 22.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003319/0.1916, allocations: 3.58 MB / 337.8 MB, free: 22.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006561/0.1981, allocations: 10.24 MB / 348 MB, free: 21.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/0.1981, allocations: 3.812 kB / 348 MB, free: 21.33 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1982, allocations: 0 / 348 MB, free: 21.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000136/0.1983, allocations: 3.531 kB / 348 MB, free: 21.33 MB / 314.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.01618/0.2145, allocations: 14.59 MB / 362.6 MB, free: 15.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.2145, allocations: 12.03 kB / 362.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01517/0.2297, allocations: 6.399 MB / 369 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005305/0.235, allocations: 3.818 MB / 372.9 MB, free: 9.148 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002194/0.2352, allocations: 0.7174 MB / 373.6 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008619/0.2361, allocations: 0.9578 MB / 374.5 MB, free: 7.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007711/0.2438, allocations: 7.935 MB / 382.5 MB, free: 496 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001342/0.2439, allocations: 14.59 kB / 382.5 MB, free: 484 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006387/0.2445, allocations: 398.6 kB / 382.9 MB, free: 96 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003642/0.2449, allocations: 0.5357 MB / 383.4 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005921/0.2508, allocations: 4.057 MB / 387.5 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.033/0.2838, allocations: 31.12 MB / 418.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005292/0.2891, allocations: 4.775 MB / 423.4 MB, free: 8.684 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/0.2904, allocations: 1.169 MB / 424.5 MB, free: 7.551 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002483/0.2907, allocations: 119.4 kB / 424.6 MB, free: 7.434 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/0.2907, allocations: 81.72 kB / 424.7 MB, free: 7.348 MB / 362.7 MB Notification: Performance of pre-optimization done (n=447): time 6.221e-06/0.2907, allocations: 0 / 424.7 MB, free: 7.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=452): time 0.0216/0.3123, allocations: 10.62 MB / 435.3 MB, free: 12.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.3124, allocations: 101.8 kB / 435.4 MB, free: 12.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003137/0.3155, allocations: 3.281 MB / 438.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001937/0.3157, allocations: 101.7 kB / 438.8 MB, free: 9.914 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001581/0.3173, allocations: 3.867 MB / 442.7 MB, free: 6.184 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001053/0.3184, allocations: 1.596 MB / 444.3 MB, free: 4.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001176/0.3195, allocations: 1.105 MB / 445.4 MB, free: 3.688 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.694e-05/0.3196, allocations: 305.1 kB / 445.7 MB, free: 3.387 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.3209, allocations: 0.8481 MB / 446.5 MB, free: 2.535 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001852/0.3227, allocations: 2.818 MB / 449.4 MB, free: 14.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003745/0.3265, allocations: 4.521 MB / 453.9 MB, free: 9.844 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.983e-05/0.3265, allocations: 20 kB / 453.9 MB, free: 9.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.005294/0.3318, allocations: 4.185 MB / 458.1 MB, free: 6.113 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/0.3319, allocations: 36 kB / 458.1 MB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.43e-05/0.3319, allocations: 68 kB / 458.2 MB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002118/0.3341, allocations: 1.173 MB / 459.4 MB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002713/0.3368, allocations: 1.436 MB / 460.8 MB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006341/0.3431, allocations: 6.412 MB / 467.2 MB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/0.345, allocations: 223.8 kB / 467.4 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002964/0.3453, allocations: 232 kB / 467.6 MB, free: 12.65 MB / 410.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.001762/0.347, allocations: 0.5108 MB / 468.2 MB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005912/0.3476, allocations: 411.5 kB / 468.6 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004616/0.3522, allocations: 4.203 MB / 472.8 MB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002564/0.3548, allocations: 1.968 MB / 474.7 MB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.3548, allocations: 12 kB / 474.7 MB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.418e-05/0.3548, allocations: 19.92 kB / 474.8 MB, free: 6.102 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1617/0.5166, allocations: 8.696 MB / 483.5 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.663e-05/0.5166, allocations: 9.297 kB / 483.5 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003384/0.52, allocations: 0.795 MB / 484.3 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001999/0.522, allocations: 0.565 MB / 484.8 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002214/0.5242, allocations: 1.061 MB / 485.9 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002524/0.5245, allocations: 95.72 kB / 486 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005782/0.5302, allocations: 6.037 MB / 492 MB, free: 102 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.321e-05/0.5303, allocations: 13.56 kB / 492 MB, free: 102 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005066/0.5353, allocations: 3.913 MB / 495.9 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005781/0.5359, allocations: 91.83 kB / 496 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.537, allocations: 120.5 kB / 496.1 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004258/0.5375, allocations: 335.7 kB / 496.5 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000199/0.5377, allocations: 97.17 kB / 496.6 MB, free: 101.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001784/0.5394, allocations: 1.586 MB / 498.2 MB, free: 101.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5394, allocations: 3.391 kB / 498.2 MB, free: 101.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004266/0.5437, allocations: 1.712 MB / 499.9 MB, free: 101.1 MB / 410.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.001392/0.5451, allocations: 0.6704 MB / 0.4888 GB, free: 101 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004807/0.5499, allocations: 3.712 MB / 0.4924 GB, free: 100.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001936/0.5501, allocations: 116.2 kB / 0.4925 GB, free: 100.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002695/0.5528, allocations: 2.554 MB / 0.495 GB, free: 100.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003631/0.5564, allocations: 7.457 MB / 0.5023 GB, free: 93.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05801/0.6144, allocations: 15.2 MB / 0.5172 GB, free: 87.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002113/0.6165, allocations: 1.986 MB / 0.5191 GB, free: 87.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002476/0.619, allocations: 0.7225 MB / 0.5198 GB, free: 87.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001707/0.6207, allocations: 0.9203 MB / 0.5207 GB, free: 87.14 MB / 410.7 MB Notification: Performance of SimCode: time 2.575e-06/0.6207, allocations: 7.938 kB / 0.5207 GB, free: 87.13 MB / 410.7 MB Notification: Performance of Templates: time 0.09258/0.7133, allocations: 74.78 MB / 0.5937 GB, free: 15.3 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_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_withLosses/IMC_withLosses.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.020038911141455]