Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 71.75 kB / 21.97 MB, free: 2.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 166.7 kB / 25.33 MB, free: 8.668 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8786/0.8786, allocations: 158.6 MB / 187.2 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 251.1 MB, free: 7.438 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.561e-05, allocations: 2.312 kB / 251.1 MB, free: 7.434 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01939/0.0194, allocations: 24.5 MB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01263/0.03204, allocations: 7.651 MB / 283.3 MB, free: 7.145 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002243/0.03428, allocations: 191 kB / 283.5 MB, free: 6.957 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009473/0.04375, allocations: 8.969 MB / 292.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005282/0.04903, allocations: 3.162 MB / 295.6 MB, free: 10.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.05171, allocations: 1.816 MB / 297.4 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.009237/0.06095, allocations: 11.69 MB / 309.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01703/0.07798, allocations: 14.57 MB / 323.7 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009514/0.08749, allocations: 9.057 MB / 332.7 MB, free: 5.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007712/0.0952, allocations: 6.344 MB / 339.1 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003248/0.09845, allocations: 1.727 MB / 340.8 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003353/0.1018, allocations: 2.136 MB / 342.9 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002139/0.1039, allocations: 3.581 MB / 346.5 MB, free: 7.617 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004987/0.1089, allocations: 4.339 MB / 350.8 MB, free: 3.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1582/0.2672, allocations: 10.97 MB / 361.8 MB, free: 53.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.2672, allocations: 0.5 kB / 361.8 MB, free: 53.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2672, allocations: 0.625 kB / 361.8 MB, free: 53.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000634/0.2678, allocations: 0 / 361.8 MB, free: 53.68 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: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.02618/0.294, allocations: 14.53 MB / 376.3 MB, free: 49.87 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.294, allocations: 11.36 kB / 376.3 MB, free: 49.87 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02396/0.318, allocations: 9.037 MB / 385.4 MB, free: 48.92 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01478/0.3328, allocations: 6.096 MB / 391.5 MB, free: 45.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005447/0.3333, allocations: 0.732 MB / 392.2 MB, free: 45.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002643/0.336, allocations: 0.9629 MB / 393.2 MB, free: 44.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01746/0.3534, allocations: 8.692 MB / 401.9 MB, free: 37.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001566/0.3536, allocations: 11.95 kB / 401.9 MB, free: 37.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007375/0.3543, allocations: 405.2 kB / 402.3 MB, free: 37.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003316/0.3546, allocations: 0.5869 MB / 402.9 MB, free: 36.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009851/0.3645, allocations: 4.96 MB / 407.8 MB, free: 31.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04227/0.4068, allocations: 42.36 MB / 450.2 MB, free: 5.113 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008712/0.4155, allocations: 7.482 MB / 457.7 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002183/0.4177, allocations: 1.603 MB / 459.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009594/0.4273, allocations: 6.795 MB / 466.1 MB, free: 6.316 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.4273, allocations: 76.19 kB / 466.1 MB, free: 6.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=357): time 4.689e-06/0.4273, allocations: 0 / 466.1 MB, free: 6.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=362): time 0.01963/0.4469, allocations: 10.55 MB / 476.7 MB, free: 11.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.447, allocations: 86.25 kB / 476.8 MB, free: 11.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004791/0.4518, allocations: 4.122 MB / 480.9 MB, free: 7.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001671/0.452, allocations: 85.7 kB / 481 MB, free: 7.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002594/0.4545, allocations: 4.89 MB / 485.9 MB, free: 2.438 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000862/0.4554, allocations: 1.345 MB / 487.2 MB, free: 1.109 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001375/0.4568, allocations: 1.316 MB / 488.5 MB, free: 15.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.841e-05/0.4569, allocations: 476.8 kB / 489 MB, free: 15.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.4587, allocations: 0.9173 MB / 489.9 MB, free: 14.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003461/0.4621, allocations: 4.475 MB / 494.4 MB, free: 8.434 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005672/0.4678, allocations: 5.956 MB / 0.4886 GB, free: 1.281 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.181e-05/0.4678, allocations: 24 kB / 0.4886 GB, free: 1.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.1653/0.6332, allocations: 5.686 MB / 0.4942 GB, free: 102.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.68e-05/0.6332, allocations: 36.31 kB / 0.4942 GB, free: 102.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.96e-05/0.6333, allocations: 82.16 kB / 0.4943 GB, free: 102.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002608/0.6359, allocations: 1.305 MB / 0.4956 GB, free: 102.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/0.6385, allocations: 1.321 MB / 0.4969 GB, free: 102.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008446/0.6469, allocations: 8.783 MB / 0.5054 GB, free: 98.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/0.6495, allocations: 365.2 kB / 0.5058 GB, free: 98.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003135/0.6498, allocations: 299.2 kB / 0.5061 GB, free: 98.81 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (689): * Single equations (assignments): 686 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002969/0.6528, allocations: 0.5532 MB / 0.5066 GB, free: 98.64 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006874/0.6535, allocations: 0.5573 MB / 0.5072 GB, free: 98.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005496/0.659, allocations: 3.727 MB / 0.5108 GB, free: 98.37 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003729/0.6627, allocations: 2.661 MB / 0.5134 GB, free: 98.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.6627, allocations: 15.77 kB / 0.5134 GB, free: 98.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/0.6627, allocations: 22.83 kB / 0.5134 GB, free: 98.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0132/0.6759, allocations: 10.85 MB / 0.524 GB, free: 97.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.6759, allocations: 10.12 kB / 0.524 GB, free: 97.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/0.6773, allocations: 0.6584 MB / 0.5247 GB, free: 96.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002092/0.6794, allocations: 1.172 MB / 0.5258 GB, free: 96.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001774/0.6796, allocations: 88.98 kB / 0.5259 GB, free: 96.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006583/0.6862, allocations: 8.266 MB / 0.534 GB, free: 89.04 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6862, allocations: 11.66 kB / 0.534 GB, free: 89.03 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005973/0.6922, allocations: 4.692 MB / 0.5386 GB, free: 85.03 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/0.6934, allocations: 0.8814 MB / 0.5394 GB, free: 84.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003218/0.6937, allocations: 75.84 kB / 0.5395 GB, free: 84.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.6947, allocations: 221.8 kB / 0.5397 GB, free: 84.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003649/0.6951, allocations: 284 kB / 0.54 GB, free: 83.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001633/0.6953, allocations: 115.4 kB / 0.5401 GB, free: 83.78 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002057/0.6973, allocations: 1.924 MB / 0.542 GB, free: 82.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6973, allocations: 0 / 0.542 GB, free: 82.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004373/0.7017, allocations: 1.682 MB / 0.5436 GB, free: 80.49 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (333): * Single equations (assignments): 330 * 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.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00102/0.7027, allocations: 0.4942 MB / 0.5441 GB, free: 80.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005844/0.7085, allocations: 4.453 MB / 0.5485 GB, free: 76.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.7086, allocations: 4 kB / 0.5485 GB, free: 76.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002575/0.7111, allocations: 2.327 MB / 0.5507 GB, free: 74.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/0.7135, allocations: 0.9584 MB / 0.5517 GB, free: 73.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/0.7321, allocations: 15.01 MB / 0.5663 GB, free: 58.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001817/0.7339, allocations: 2.754 MB / 0.569 GB, free: 55.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002906/0.7368, allocations: 1.768 MB / 0.5707 GB, free: 53.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006847/0.7375, allocations: 344.4 kB / 0.5711 GB, free: 53.14 MB / 394.7 MB Notification: Performance of SimCode: time 1.643e-06/0.7375, allocations: 0 / 0.5711 GB, free: 53.14 MB / 394.7 MB Notification: Performance of Templates: time 0.07505/0.8125, allocations: 61.93 MB / 0.6316 GB, free: 7.34 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 6.221576688811183]