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.0007544/0.0007544, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009536/0.001708, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007187/0.0007187, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008864/0.001605, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9171/0.9171, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09313/1.01, allocations: 53.87 MB / 243.7 MB, free: 14.9 MB / 250.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 1.473e-06/1.473e-06, allocations: 0 / 245.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.854e-05, allocations: 2.312 kB / 245.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02171/0.02172, allocations: 23.62 MB / 268.7 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1494/0.1712, allocations: 8.321 MB / 277 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00427/0.1754, allocations: 216.3 kB / 277.2 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01024/0.1857, allocations: 8.873 MB / 286.1 MB, free: 1.195 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006843/0.1925, allocations: 3.124 MB / 289.2 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003115/0.1956, allocations: 1.823 MB / 291 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01081/0.2064, allocations: 11.76 MB / 302.8 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0161/0.2225, allocations: 14.58 MB / 317.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009495/0.232, allocations: 9.355 MB / 326.7 MB, free: 4.812 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007295/0.2393, allocations: 6.477 MB / 333.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002843/0.2422, allocations: 1.715 MB / 334.9 MB, free: 13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002695/0.2449, allocations: 2.167 MB / 337.1 MB, free: 10.85 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001734/0.2466, allocations: 2.835 MB / 339.9 MB, free: 8.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003637/0.2502, allocations: 3.58 MB / 343.5 MB, free: 4.434 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009035/0.2593, allocations: 10.29 MB / 353.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.876e-05/0.2593, allocations: 0 / 353.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.2593, allocations: 0 / 353.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002541/0.2595, allocations: 0 / 353.8 MB, free: 10.55 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.01956/0.2791, allocations: 14.63 MB / 368.4 MB, free: 12.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2791, allocations: 8.625 kB / 368.4 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01648/0.2956, allocations: 6.377 MB / 374.8 MB, free: 6.293 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006673/0.3023, allocations: 3.835 MB / 378.6 MB, free: 2.555 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003837/0.3027, allocations: 0.7273 MB / 379.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001476/0.3041, allocations: 0.9605 MB / 380.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009796/0.3139, allocations: 7.958 MB / 388.3 MB, free: 9.277 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001368/0.3141, allocations: 11.08 kB / 388.3 MB, free: 9.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006464/0.3147, allocations: 402.5 kB / 388.7 MB, free: 8.887 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003383/0.3151, allocations: 0.563 MB / 389.3 MB, free: 8.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005586/0.3207, allocations: 4.086 MB / 393.3 MB, free: 4.195 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03217/0.3528, allocations: 31.19 MB / 424.5 MB, free: 4.434 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1463/0.4991, allocations: 4.755 MB / 429.3 MB, free: 98.54 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002992/0.5021, allocations: 1.166 MB / 430.5 MB, free: 98.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003603/0.5025, allocations: 146.3 kB / 430.6 MB, free: 98.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.043e-05/0.5025, allocations: 78.81 kB / 430.7 MB, free: 98.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=447): time 9.298e-06/0.5025, allocations: 0 / 430.7 MB, free: 98.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=452): time 0.02592/0.5285, allocations: 9.745 MB / 440.4 MB, free: 97.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.5285, allocations: 98.61 kB / 440.5 MB, free: 97.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003393/0.5319, allocations: 3.304 MB / 443.8 MB, free: 97.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.5321, allocations: 98.3 kB / 443.9 MB, free: 97.33 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001085/0.5332, allocations: 3.868 MB / 447.8 MB, free: 94.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005755/0.5338, allocations: 1.595 MB / 449.4 MB, free: 93.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009303/0.5347, allocations: 1.113 MB / 450.5 MB, free: 93.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 2.589e-05/0.5347, allocations: 301.1 kB / 450.8 MB, free: 93.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009185/0.5356, allocations: 0.847 MB / 451.6 MB, free: 93.47 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.5369, allocations: 2.822 MB / 454.5 MB, free: 90.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002756/0.5397, allocations: 4.3 MB / 458.8 MB, free: 88.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.183e-05/0.5397, allocations: 22.94 kB / 458.8 MB, free: 88.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.00448/0.5442, allocations: 4.206 MB / 463 MB, free: 88.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.5442, allocations: 37.88 kB / 463 MB, free: 88.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.799e-05/0.5443, allocations: 70.12 kB / 463.1 MB, free: 88.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001863/0.5462, allocations: 1.163 MB / 464.2 MB, free: 87.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00254/0.5487, allocations: 1.451 MB / 465.7 MB, free: 87.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005802/0.5545, allocations: 6.456 MB / 472.2 MB, free: 85.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.5562, allocations: 220.2 kB / 472.4 MB, free: 85.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002675/0.5565, allocations: 237.1 kB / 472.6 MB, free: 85.2 MB / 394.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.001654/0.5581, allocations: 0.504 MB / 473.1 MB, free: 85.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005326/0.5586, allocations: 412.1 kB / 473.5 MB, free: 85.04 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004125/0.5628, allocations: 4.188 MB / 477.7 MB, free: 83.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002216/0.565, allocations: 1.979 MB / 479.7 MB, free: 82.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.565, allocations: 12 kB / 479.7 MB, free: 82.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.159e-05/0.565, allocations: 27.91 kB / 479.7 MB, free: 82.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009215/0.5742, allocations: 8.734 MB / 488.4 MB, free: 74.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.5742, allocations: 8 kB / 488.5 MB, free: 74.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/0.5759, allocations: 0.8026 MB / 489.3 MB, free: 74.22 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009018/0.5768, allocations: 0.5734 MB / 489.8 MB, free: 73.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001643/0.5784, allocations: 1.058 MB / 490.9 MB, free: 72.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/0.5786, allocations: 99.95 kB / 491 MB, free: 72.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004481/0.5831, allocations: 6.083 MB / 497.1 MB, free: 66.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.5831, allocations: 13.91 kB / 497.1 MB, free: 66.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00419/0.5873, allocations: 3.908 MB / 0.4892 GB, free: 62.49 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000371/0.5876, allocations: 95.98 kB / 0.4893 GB, free: 62.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008681/0.5885, allocations: 113.5 kB / 0.4894 GB, free: 62.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003403/0.5889, allocations: 342 kB / 0.4898 GB, free: 61.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/0.589, allocations: 95.97 kB / 0.4899 GB, free: 61.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001101/0.5901, allocations: 1.6 MB / 0.4914 GB, free: 60.44 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5901, allocations: 0 / 0.4914 GB, free: 60.44 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003473/0.5936, allocations: 1.711 MB / 0.4931 GB, free: 58.73 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.001271/0.5949, allocations: 0.647 MB / 0.4937 GB, free: 58.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003454/0.5983, allocations: 3.636 MB / 0.4973 GB, free: 55.03 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001329/0.5984, allocations: 117.3 kB / 0.4974 GB, free: 54.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001759/0.6002, allocations: 2.011 MB / 0.4994 GB, free: 53.01 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.6022, allocations: 1.314 MB / 0.5006 GB, free: 51.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05117/0.6534, allocations: 15.14 MB / 0.5154 GB, free: 36.51 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001447/0.6548, allocations: 1.989 MB / 0.5174 GB, free: 34.49 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002039/0.6569, allocations: 0.7236 MB / 0.5181 GB, free: 33.76 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001465/0.6583, allocations: 0.9431 MB / 0.519 GB, free: 32.82 MB / 394.7 MB Notification: Performance of SimCode: time 1.472e-06/0.6583, allocations: 0 / 0.519 GB, free: 32.82 MB / 394.7 MB Notification: Performance of Templates: time 0.2085/0.8668, allocations: 74.05 MB / 0.5913 GB, free: 104.7 MB / 410.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 -ignoreHideResult -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.034669128246605]