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.0007983/0.0007983, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001044/0.001842, allocations: 449.7 kB / 10.37 MB, free: 332 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.0007225/0.0007225, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009341/0.001657, allocations: 459.6 kB / 11.69 MB, free: 2.48 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.9325/0.9325, allocations: 173.4 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09431/1.027, allocations: 52.5 MB / 238.3 MB, free: 4.438 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.853e-06/1.853e-06, allocations: 0 / 239.6 MB, free: 3.152 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.506e-05, allocations: 2.312 kB / 239.6 MB, free: 3.148 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01786/0.01788, allocations: 23.55 MB / 263.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01496/0.03284, allocations: 8.156 MB / 271.3 MB, free: 3.301 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003407/0.03624, allocations: 210.9 kB / 271.5 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1417/0.1779, allocations: 8.861 MB / 280.4 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009647/0.1876, allocations: 3.106 MB / 283.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003656/0.1912, allocations: 1.821 MB / 285.3 MB, free: 1.312 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01133/0.2026, allocations: 11.64 MB / 296.9 MB, free: 13.54 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01855/0.2211, allocations: 14.56 MB / 311.5 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01393/0.235, allocations: 9.358 MB / 320.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008678/0.2437, allocations: 6.469 MB / 327.3 MB, free: 4.961 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003373/0.2471, allocations: 1.711 MB / 329 MB, free: 3.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004603/0.2517, allocations: 2.14 MB / 331.2 MB, free: 1.133 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002795/0.2545, allocations: 2.831 MB / 334 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005308/0.2598, allocations: 3.584 MB / 337.6 MB, free: 10.71 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01255/0.2723, allocations: 10.27 MB / 347.9 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.875e-05/0.2724, allocations: 3.984 kB / 347.9 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2724, allocations: 0 / 347.9 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003509/0.2727, allocations: 0 / 347.9 MB, free: 0.8477 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.02439/0.2971, allocations: 14.59 MB / 362.4 MB, free: 2.828 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.2971, allocations: 12.03 kB / 362.5 MB, free: 2.816 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01959/0.3167, allocations: 6.406 MB / 368.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009468/0.3262, allocations: 3.827 MB / 372.7 MB, free: 8.988 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004983/0.3267, allocations: 0.7172 MB / 373.4 MB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002632/0.3293, allocations: 0.9497 MB / 374.4 MB, free: 7.344 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01807/0.3474, allocations: 7.938 MB / 382.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002255/0.3476, allocations: 7.953 kB / 382.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001462/0.3491, allocations: 401.3 kB / 382.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004361/0.3495, allocations: 0.5591 MB / 383.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.36, allocations: 4.061 MB / 387.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3062/0.6662, allocations: 31.11 MB / 418.4 MB, free: 68.51 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007364/0.6736, allocations: 4.772 MB / 423.2 MB, free: 68.13 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001801/0.6754, allocations: 1.173 MB / 424.4 MB, free: 68.07 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002501/0.6756, allocations: 121 kB / 424.5 MB, free: 68.06 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.134e-05/0.6757, allocations: 83.12 kB / 424.6 MB, free: 68.02 MB / 378.8 MB Notification: Performance of pre-optimization done (n=447): time 6.823e-06/0.6757, allocations: 0 / 424.6 MB, free: 68.02 MB / 378.8 MB Notification: Performance of matching and sorting (n=452): time 0.02085/0.6965, allocations: 9.705 MB / 434.3 MB, free: 67.34 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.6966, allocations: 101.7 kB / 434.4 MB, free: 67.28 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002963/0.6995, allocations: 3.291 MB / 437.7 MB, free: 66.89 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002524/0.6998, allocations: 99.64 kB / 437.8 MB, free: 66.86 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001322/0.7011, allocations: 3.867 MB / 441.6 MB, free: 65.13 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008309/0.702, allocations: 1.595 MB / 443.2 MB, free: 64.14 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/0.7031, allocations: 1.097 MB / 444.3 MB, free: 64.05 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.097e-05/0.7032, allocations: 306.2 kB / 444.6 MB, free: 63.75 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.7043, allocations: 0.8471 MB / 445.5 MB, free: 63.72 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.7058, allocations: 2.808 MB / 448.3 MB, free: 61.15 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003284/0.7091, allocations: 4.297 MB / 452.6 MB, free: 58.51 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.272e-05/0.7091, allocations: 19.64 kB / 452.6 MB, free: 58.51 MB / 378.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.005718/0.7148, allocations: 4.173 MB / 456.8 MB, free: 58.29 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.834e-05/0.7149, allocations: 37.62 kB / 456.8 MB, free: 58.29 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.542e-05/0.715, allocations: 71.19 kB / 456.9 MB, free: 58.29 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002184/0.7172, allocations: 1.164 MB / 458 MB, free: 58.22 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/0.72, allocations: 1.437 MB / 459.5 MB, free: 58.22 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006027/0.726, allocations: 6.469 MB / 465.9 MB, free: 55.29 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003686/0.7297, allocations: 223.1 kB / 466.2 MB, free: 55.27 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005162/0.7302, allocations: 236.7 kB / 466.4 MB, free: 55.26 MB / 378.8 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.002964/0.7332, allocations: 0.5074 MB / 466.9 MB, free: 55.09 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008279/0.734, allocations: 413.2 kB / 467.3 MB, free: 54.99 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004486/0.7385, allocations: 4.201 MB / 471.5 MB, free: 53.56 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002473/0.7409, allocations: 1.964 MB / 473.5 MB, free: 52.96 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/0.741, allocations: 14.31 kB / 473.5 MB, free: 52.96 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.452e-05/0.741, allocations: 27.84 kB / 473.5 MB, free: 52.94 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/0.7541, allocations: 8.697 MB / 482.2 MB, free: 47.04 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.7541, allocations: 12.59 kB / 482.2 MB, free: 47.03 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/0.7558, allocations: 0.7932 MB / 483 MB, free: 46.3 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/0.7572, allocations: 0.5701 MB / 483.6 MB, free: 45.81 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001804/0.759, allocations: 1.052 MB / 484.6 MB, free: 44.8 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001784/0.7592, allocations: 95.97 kB / 484.7 MB, free: 44.76 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005091/0.7643, allocations: 6.074 MB / 490.8 MB, free: 39.77 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/0.7643, allocations: 11.75 kB / 490.8 MB, free: 39.77 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004734/0.7691, allocations: 3.905 MB / 494.7 MB, free: 36.08 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006858/0.7697, allocations: 94.61 kB / 494.8 MB, free: 36.05 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.7708, allocations: 115.8 kB / 494.9 MB, free: 36 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004483/0.7713, allocations: 333.7 kB / 495.2 MB, free: 35.72 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/0.7715, allocations: 94.92 kB / 495.3 MB, free: 35.66 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001536/0.773, allocations: 1.591 MB / 496.9 MB, free: 34.43 MB / 378.8 MB Notification: Performance of sort global known variables: time 2.71e-07/0.773, allocations: 0 / 496.9 MB, free: 34.43 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004475/0.7775, allocations: 1.717 MB / 498.6 MB, free: 32.89 MB / 378.8 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.001498/0.779, allocations: 0.6842 MB / 499.3 MB, free: 32.58 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.004928/0.7839, allocations: 3.63 MB / 0.4912 GB, free: 29.51 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002247/0.7841, allocations: 115 kB / 0.4913 GB, free: 29.39 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002355/0.7865, allocations: 2.004 MB / 0.4932 GB, free: 27.72 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003096/0.7896, allocations: 1.296 MB / 0.4945 GB, free: 26.72 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05815/0.8477, allocations: 15.22 MB / 0.5094 GB, free: 12.61 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002403/0.8501, allocations: 1.994 MB / 0.5113 GB, free: 10.59 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002579/0.8527, allocations: 0.7197 MB / 0.512 GB, free: 9.863 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/0.8543, allocations: 0.9208 MB / 0.5129 GB, free: 8.934 MB / 378.8 MB Notification: Performance of SimCode: time 1.242e-06/0.8543, allocations: 0 / 0.5129 GB, free: 8.934 MB / 378.8 MB Notification: Performance of Templates: time 0.2258/1.08, allocations: 73.28 MB / 0.5845 GB, free: 96.8 MB / 410.8 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.649187472648919]