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.001036/0.001036, allocations: 75.91 kB / 21.18 MB, free: 3.395 MB / 18.57 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.001072/0.001072, allocations: 145.5 kB / 24.54 MB, free: 36 kB / 18.57 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.9541/0.9541, allocations: 173.3 MB / 201.1 MB, free: 8.992 MB / 186.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 2.093e-06/2.093e-06, allocations: 0 / 268.1 MB, free: 6.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.146e-05, allocations: 2.312 kB / 268.1 MB, free: 6.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1549/0.155, allocations: 24.39 MB / 292.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01506/0.17, allocations: 7.766 MB / 300.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005255/0.1753, allocations: 212.9 kB / 300.4 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01219/0.1875, allocations: 8.963 MB / 309.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009416/0.1969, allocations: 3.129 MB / 312.5 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004353/0.2012, allocations: 1.831 MB / 314.3 MB, free: 8.785 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01188/0.2131, allocations: 11.58 MB / 325.9 MB, free: 0.918 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02328/0.2364, allocations: 14.52 MB / 340.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01598/0.2524, allocations: 8.971 MB / 349.4 MB, free: 9.266 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01013/0.2625, allocations: 6.238 MB / 355.7 MB, free: 3.016 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004371/0.2669, allocations: 1.711 MB / 357.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006731/0.2736, allocations: 2.14 MB / 359.5 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004783/0.2784, allocations: 3.519 MB / 363 MB, free: 11.63 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009184/0.2876, allocations: 4.281 MB / 367.3 MB, free: 7.344 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01566/0.3032, allocations: 10.86 MB / 378.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3032, allocations: 0 / 378.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3033, allocations: 4 kB / 378.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004735/0.3037, allocations: 0 / 378.2 MB, free: 12.45 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.0256/0.3293, allocations: 14.36 MB / 392.5 MB, free: 13.99 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.3294, allocations: 8.922 kB / 392.5 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0192/0.3486, allocations: 7.919 MB / 400.5 MB, free: 6.051 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009099/0.3577, allocations: 6.983 MB / 407.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003903/0.3581, allocations: 0.7184 MB / 408.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00152/0.3596, allocations: 0.9452 MB / 409.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01558/0.3752, allocations: 8.448 MB / 417.6 MB, free: 4.762 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001436/0.3753, allocations: 11.91 kB / 417.6 MB, free: 4.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007291/0.376, allocations: 404 kB / 418 MB, free: 4.355 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003681/0.3764, allocations: 0.5591 MB / 418.5 MB, free: 3.793 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009711/0.3861, allocations: 4.676 MB / 423.2 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2909/0.677, allocations: 41.7 MB / 464.9 MB, free: 75.19 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006795/0.6838, allocations: 6.672 MB / 471.6 MB, free: 74.79 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001826/0.6856, allocations: 1.529 MB / 473.1 MB, free: 74.73 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002422/0.6858, allocations: 130.6 kB / 473.2 MB, free: 74.73 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.6859, allocations: 79.83 kB / 473.3 MB, free: 74.68 MB / 378.8 MB Notification: Performance of pre-optimization done (n=447): time 5.861e-06/0.6859, allocations: 0.875 kB / 473.3 MB, free: 74.68 MB / 378.8 MB Notification: Performance of matching and sorting (n=452): time 0.03606/0.722, allocations: 12.65 MB / 486 MB, free: 70.54 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.722, allocations: 100.9 kB / 486.1 MB, free: 70.47 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007284/0.7293, allocations: 3.863 MB / 489.9 MB, free: 67.86 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000188/0.7295, allocations: 97.7 kB / 490 MB, free: 67.76 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005972/0.7355, allocations: 4.593 MB / 494.6 MB, free: 63.82 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000823/0.7363, allocations: 1.641 MB / 496.2 MB, free: 62.33 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004491/0.7408, allocations: 1.325 MB / 497.6 MB, free: 60.99 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.823e-05/0.7408, allocations: 480.8 kB / 498 MB, free: 60.52 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001879/0.7427, allocations: 0.9607 MB / 499 MB, free: 59.55 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00594/0.7486, allocations: 4.201 MB / 0.4914 GB, free: 54.05 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01174/0.7604, allocations: 5.746 MB / 0.497 GB, free: 47.26 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.795e-05/0.7604, allocations: 20 kB / 0.497 GB, free: 47.24 MB / 378.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.008288/0.7687, allocations: 5.706 MB / 0.5026 GB, free: 42 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.7687, allocations: 36 kB / 0.5026 GB, free: 41.96 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.963e-05/0.7688, allocations: 71.98 kB / 0.5027 GB, free: 41.89 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00281/0.7716, allocations: 1.264 MB / 0.5039 GB, free: 40.63 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002339/0.7739, allocations: 1.378 MB / 0.5053 GB, free: 39.34 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007222/0.7811, allocations: 8.761 MB / 0.5138 GB, free: 30.41 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/0.7833, allocations: 351.3 kB / 0.5142 GB, free: 30.07 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002621/0.7835, allocations: 292.8 kB / 0.5145 GB, free: 29.78 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.001936/0.7855, allocations: 0.5573 MB / 0.515 GB, free: 29.3 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006055/0.7861, allocations: 0.5986 MB / 0.5156 GB, free: 28.7 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005893/0.792, allocations: 5.455 MB / 0.5209 GB, free: 23.22 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003908/0.7959, allocations: 2.96 MB / 0.5238 GB, free: 20.29 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.7959, allocations: 13.22 kB / 0.5238 GB, free: 20.27 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.7959, allocations: 23.91 kB / 0.5238 GB, free: 20.25 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01425/0.8101, allocations: 12.02 MB / 0.5356 GB, free: 8.258 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.8102, allocations: 8 kB / 0.5356 GB, free: 8.25 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/0.8118, allocations: 0.8027 MB / 0.5364 GB, free: 7.488 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002076/0.8138, allocations: 1.155 MB / 0.5375 GB, free: 6.328 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002125/0.8141, allocations: 99.97 kB / 0.5376 GB, free: 6.23 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00677/0.8208, allocations: 8.284 MB / 0.5457 GB, free: 13.76 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.8208, allocations: 11.66 kB / 0.5457 GB, free: 13.75 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007262/0.8281, allocations: 5.35 MB / 0.5509 GB, free: 8.266 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/0.8296, allocations: 0.9418 MB / 0.5518 GB, free: 7.32 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003242/0.8299, allocations: 91.94 kB / 0.5519 GB, free: 7.23 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.831, allocations: 227.8 kB / 0.5521 GB, free: 7.008 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004282/0.8314, allocations: 346.5 kB / 0.5525 GB, free: 6.676 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001897/0.8316, allocations: 136 kB / 0.5526 GB, free: 6.543 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.002239/0.8338, allocations: 1.849 MB / 0.5544 GB, free: 4.715 MB / 394.8 MB Notification: Performance of sort global known variables: time 2.41e-07/0.8338, allocations: 0 / 0.5544 GB, free: 4.715 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.005103/0.8389, allocations: 1.723 MB / 0.5561 GB, free: 2.992 MB / 394.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.001128/0.8401, allocations: 0.5311 MB / 0.5566 GB, free: 2.648 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.006499/0.8466, allocations: 4.627 MB / 0.5611 GB, free: 14.2 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.8466, allocations: 0 / 0.5611 GB, free: 14.2 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004215/0.8508, allocations: 2.546 MB / 0.5636 GB, free: 11.72 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003742/0.8545, allocations: 0.9708 MB / 0.5646 GB, free: 10.78 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.159/1.014, allocations: 15.1 MB / 0.5793 GB, free: 113.2 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003847/1.017, allocations: 2.747 MB / 0.582 GB, free: 112.9 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.004709/1.022, allocations: 1.777 MB / 0.5837 GB, free: 112.8 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/1.023, allocations: 371.1 kB / 0.5841 GB, free: 112.8 MB / 410.8 MB Notification: Performance of SimCode: time 2.715e-06/1.023, allocations: 0 / 0.5841 GB, free: 112.8 MB / 410.8 MB Notification: Performance of Templates: time 0.08062/1.104, allocations: 65.72 MB / 0.6483 GB, free: 65.62 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 -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: 6.357013932894915]