Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.002129/0.002129, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002724/0.002724, allocations: 165.7 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 177.2 MB / 204.6 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 272.4 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.836e-05, allocations: 2.312 kB / 272.4 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1444/0.1444, allocations: 21.5 MB / 293.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01542/0.1598, allocations: 7.775 MB / 301.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005612/0.1655, allocations: 217.6 kB / 301.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0175/0.183, allocations: 8.256 MB / 310.1 MB, free: 9.234 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01066/0.1936, allocations: 3.136 MB / 313.3 MB, free: 6.754 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005287/0.1989, allocations: 1.822 MB / 315.1 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01343/0.2123, allocations: 11.71 MB / 326.8 MB, free: 11.9 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0314/0.2437, allocations: 14.51 MB / 341.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01931/0.263, allocations: 8.901 MB / 350.2 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01175/0.2748, allocations: 5.625 MB / 355.8 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005157/0.2799, allocations: 1.715 MB / 357.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007517/0.2875, allocations: 2.155 MB / 359.7 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006413/0.2939, allocations: 3.46 MB / 363.2 MB, free: 7.352 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01059/0.3045, allocations: 4.23 MB / 367.4 MB, free: 3.113 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03566/0.3401, allocations: 23.51 MB / 390.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.3401, allocations: 4 kB / 390.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3401, allocations: 0 / 390.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006191/0.3408, allocations: 0 / 390.9 MB, free: 11.54 MB / 346.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.047/0.3878, allocations: 13.46 MB / 404.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.961e-05/0.3878, allocations: 12.03 kB / 404.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04252/0.4303, allocations: 7.833 MB / 412.2 MB, free: 6.117 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01837/0.4487, allocations: 7.675 MB / 419.9 MB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001047/0.4498, allocations: 0.7185 MB / 420.6 MB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004457/0.4542, allocations: 0.953 MB / 421.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2979/0.7521, allocations: 16.3 MB / 437.9 MB, free: 102.5 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002818/0.7524, allocations: 13.77 kB / 437.9 MB, free: 102.5 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001555/0.754, allocations: 399.5 kB / 438.3 MB, free: 102.4 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006017/0.7546, allocations: 0.5628 MB / 438.8 MB, free: 102.3 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02944/0.784, allocations: 15.08 MB / 453.9 MB, free: 96.58 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06888/0.8529, allocations: 46.68 MB / 0.4888 GB, free: 57.23 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01243/0.8653, allocations: 8.547 MB / 0.4972 GB, free: 49.46 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004128/0.8695, allocations: 3.328 MB / 0.5004 GB, free: 46.14 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003398/0.8698, allocations: 146.6 kB / 0.5006 GB, free: 46 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.124e-05/0.8699, allocations: 82 kB / 0.5007 GB, free: 45.91 MB / 378.8 MB Notification: Performance of pre-optimization done (n=447): time 8.275e-06/0.8699, allocations: 0 / 0.5007 GB, free: 45.91 MB / 378.8 MB Notification: Performance of matching and sorting (n=452): time 0.04315/0.913, allocations: 20.52 MB / 0.5207 GB, free: 25.75 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.9131, allocations: 98.95 kB / 0.5208 GB, free: 25.64 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004749/0.9178, allocations: 4.412 MB / 0.5251 GB, free: 21.34 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004482/0.9183, allocations: 101.7 kB / 0.5252 GB, free: 21.23 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001622/0.9199, allocations: 4.328 MB / 0.5294 GB, free: 17.11 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001009/0.9209, allocations: 1.593 MB / 0.531 GB, free: 15.54 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001492/0.9224, allocations: 1.2 MB / 0.5322 GB, free: 14.33 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.592e-05/0.9224, allocations: 305.1 kB / 0.5324 GB, free: 14.03 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003601/0.926, allocations: 3.061 MB / 0.5354 GB, free: 10.96 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004378/0.9304, allocations: 5.235 MB / 0.5406 GB, free: 4.746 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01195/0.9424, allocations: 8.879 MB / 0.5492 GB, free: 10.9 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-05/0.9424, allocations: 16 kB / 0.5492 GB, free: 10.88 MB / 394.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02131/0.9637, allocations: 10.12 MB / 0.5591 GB, free: 0.7461 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.781e-05/0.9638, allocations: 36 kB / 0.5592 GB, free: 0.7109 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00013/0.9639, allocations: 68 kB / 0.5592 GB, free: 0.6445 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005167/0.9691, allocations: 1.574 MB / 0.5608 GB, free: 15.07 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005911/0.975, allocations: 1.4 MB / 0.5621 GB, free: 13.66 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02092/0.9959, allocations: 12.13 MB / 0.574 GB, free: 1.332 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004661/1.001, allocations: 347.6 kB / 0.5743 GB, free: 0.9922 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001149/1.002, allocations: 303.9 kB / 0.5746 GB, free: 0.6953 MB / 410.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.146/1.148, allocations: 3.885 MB / 0.5784 GB, free: 120.7 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001605/1.149, allocations: 0.6026 MB / 0.579 GB, free: 120.7 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0153/1.165, allocations: 8.422 MB / 0.5872 GB, free: 118.1 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008974/1.174, allocations: 6.201 MB / 0.5933 GB, free: 115.7 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.158e-05/1.174, allocations: 11.06 kB / 0.5933 GB, free: 115.7 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.919e-05/1.174, allocations: 29.25 kB / 0.5933 GB, free: 115.7 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02263/1.196, allocations: 14.96 MB / 0.6079 GB, free: 109.6 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/1.196, allocations: 7.719 kB / 0.6079 GB, free: 109.6 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003086/1.199, allocations: 0.8151 MB / 0.6087 GB, free: 109.5 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00385/1.203, allocations: 1.441 MB / 0.6101 GB, free: 109.2 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003663/1.204, allocations: 106.9 kB / 0.6102 GB, free: 109.2 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01245/1.216, allocations: 11.04 MB / 0.621 GB, free: 101.3 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/1.216, allocations: 19.62 kB / 0.621 GB, free: 101.3 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/1.23, allocations: 11.28 MB / 0.632 GB, free: 91.23 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002414/1.233, allocations: 1.042 MB / 0.633 GB, free: 90.45 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007692/1.234, allocations: 91.95 kB / 0.6331 GB, free: 90.36 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002273/1.236, allocations: 235.1 kB / 0.6334 GB, free: 90.13 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006969/1.237, allocations: 351.2 kB / 0.6337 GB, free: 89.79 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002915/1.237, allocations: 144 kB / 0.6338 GB, free: 89.65 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003935/1.241, allocations: 2.951 MB / 0.6367 GB, free: 86.72 MB / 410.8 MB Notification: Performance of sort global known variables: time 1e-07/1.241, allocations: 0 / 0.6367 GB, free: 86.72 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.006172/1.247, allocations: 1.716 MB / 0.6384 GB, free: 85.01 MB / 410.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.0023/1.249, allocations: 0.5593 MB / 0.6389 GB, free: 84.66 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01056/1.26, allocations: 7.661 MB / 0.6464 GB, free: 77.01 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/1.26, allocations: 4.062 kB / 0.6464 GB, free: 77 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005528/1.265, allocations: 3.685 MB / 0.65 GB, free: 73.3 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004988/1.27, allocations: 0.9847 MB / 0.651 GB, free: 72.35 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02432/1.295, allocations: 18.46 MB / 0.669 GB, free: 53.71 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005341/1.3, allocations: 6.071 MB / 0.6749 GB, free: 47.6 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.004733/1.305, allocations: 2.086 MB / 0.677 GB, free: 45.51 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/1.306, allocations: 392.4 kB / 0.6773 GB, free: 45.12 MB / 410.8 MB Notification: Performance of SimCode: time 1.523e-06/1.306, allocations: 0 / 0.6773 GB, free: 45.12 MB / 410.8 MB Notification: Performance of Templates: time 0.2384/1.544, allocations: 66.57 MB / 0.7424 GB, free: 122.3 MB / 426.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.856829990050755]