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.001514/0.001514, allocations: 84.98 kB / 22.99 MB, free: 1.504 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.001116/0.001116, allocations: 176.2 kB / 26.4 MB, free: 7.984 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.9649/0.9649, allocations: 158.6 MB / 188.3 MB, free: 2.816 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.483e-06/1.483e-06, allocations: 0 / 252.3 MB, free: 7.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.217e-05, allocations: 6.25 kB / 252.3 MB, free: 7.191 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02429/0.02432, allocations: 23.46 MB / 275.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01524/0.03956, allocations: 7.596 MB / 283.4 MB, free: 8.004 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005133/0.04469, allocations: 183.1 kB / 283.5 MB, free: 7.824 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01103/0.05572, allocations: 8.687 MB / 292.2 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008893/0.06462, allocations: 3.142 MB / 295.4 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004106/0.06872, allocations: 1.796 MB / 297.2 MB, free: 10.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01249/0.08121, allocations: 11.69 MB / 308.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02048/0.1017, allocations: 14.58 MB / 323.4 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01388/0.1156, allocations: 9.131 MB / 332.6 MB, free: 6.535 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009664/0.1252, allocations: 6.515 MB / 339.1 MB, free: 8 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002761/0.128, allocations: 1.719 MB / 340.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003722/0.1317, allocations: 2.14 MB / 342.9 MB, free: 12.14 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002224/0.1339, allocations: 3.569 MB / 346.5 MB, free: 8.566 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006524/0.1405, allocations: 4.328 MB / 350.8 MB, free: 4.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.172/0.3125, allocations: 10.95 MB / 361.8 MB, free: 54.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.3125, allocations: 0 / 361.8 MB, free: 54.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3125, allocations: 3.094 kB / 361.8 MB, free: 54.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0006374/0.3131, allocations: 0 / 361.8 MB, free: 54.02 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.02434/0.3375, allocations: 13.56 MB / 375.4 MB, free: 50.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.3375, allocations: 17.73 kB / 375.4 MB, free: 50.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01922/0.3567, allocations: 6.862 MB / 382.2 MB, free: 49.47 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009222/0.366, allocations: 5.642 MB / 387.9 MB, free: 47.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003728/0.3663, allocations: 0.7341 MB / 388.6 MB, free: 46.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001603/0.3679, allocations: 0.9628 MB / 389.6 MB, free: 46.65 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/0.3807, allocations: 7.957 MB / 397.5 MB, free: 42.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001685/0.3809, allocations: 19.02 kB / 397.6 MB, free: 42.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007171/0.3816, allocations: 404.7 kB / 397.9 MB, free: 42.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003346/0.3819, allocations: 0.5901 MB / 398.5 MB, free: 41.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006823/0.3888, allocations: 3.869 MB / 402.4 MB, free: 37.83 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04527/0.434, allocations: 41.75 MB / 444.2 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007062/0.4411, allocations: 6.35 MB / 450.5 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001673/0.4428, allocations: 1.395 MB / 451.9 MB, free: 6.617 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009306/0.4521, allocations: 6.434 MB / 458.3 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/0.4521, allocations: 76.19 kB / 458.4 MB, free: 336 kB / 346.7 MB Notification: Performance of pre-optimization done (n=357): time 5.531e-06/0.4521, allocations: 0 / 458.4 MB, free: 336 kB / 346.7 MB Notification: Performance of matching and sorting (n=362): time 0.01815/0.4703, allocations: 8.746 MB / 467.2 MB, free: 7.598 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.4703, allocations: 89.81 kB / 467.3 MB, free: 7.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004191/0.4745, allocations: 3.997 MB / 471.2 MB, free: 4.059 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001782/0.4747, allocations: 81.7 kB / 471.3 MB, free: 3.973 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002667/0.4774, allocations: 4.944 MB / 476.3 MB, free: 15.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008408/0.4782, allocations: 1.347 MB / 477.6 MB, free: 13.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001433/0.4796, allocations: 1.336 MB / 479 MB, free: 12.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.4797, allocations: 480.8 kB / 479.4 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.4808, allocations: 0.6985 MB / 480.1 MB, free: 11.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003417/0.4842, allocations: 4.284 MB / 484.4 MB, free: 5.867 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00524/0.4895, allocations: 5.617 MB / 490 MB, free: 15.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.641e-05/0.4895, allocations: 24 kB / 490 MB, free: 15.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.007222/0.4967, allocations: 5.156 MB / 495.2 MB, free: 10.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.013e-05/0.4968, allocations: 40 kB / 495.2 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.757e-05/0.4968, allocations: 79.98 kB / 495.3 MB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002393/0.4992, allocations: 1.264 MB / 496.6 MB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00254/0.5018, allocations: 1.216 MB / 497.8 MB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1732/0.675, allocations: 8.396 MB / 0.4943 GB, free: 102.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005061/0.68, allocations: 230.9 kB / 0.4946 GB, free: 102.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/0.6812, allocations: 250.3 kB / 0.4948 GB, free: 102.7 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.003963/0.6852, allocations: 0.5474 MB / 0.4953 GB, free: 102.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/0.6864, allocations: 0.5568 MB / 0.4959 GB, free: 102.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005503/0.6919, allocations: 3.384 MB / 0.4992 GB, free: 102.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003435/0.6953, allocations: 2.301 MB / 0.5014 GB, free: 102.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/0.6953, allocations: 12.38 kB / 0.5014 GB, free: 102.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.278e-05/0.6954, allocations: 22.19 kB / 0.5015 GB, free: 102.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02124/0.7166, allocations: 10.39 MB / 0.5116 GB, free: 101.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.7166, allocations: 3.719 kB / 0.5116 GB, free: 101.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/0.7182, allocations: 0.5652 MB / 0.5122 GB, free: 101.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002386/0.7205, allocations: 1.126 MB / 0.5133 GB, free: 101.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003062/0.7208, allocations: 85.06 kB / 0.5133 GB, free: 101.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006983/0.7278, allocations: 7.912 MB / 0.5211 GB, free: 97.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.7278, allocations: 11 kB / 0.5211 GB, free: 97.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007318/0.7352, allocations: 4.154 MB / 0.5251 GB, free: 96.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001778/0.7369, allocations: 0.8078 MB / 0.5259 GB, free: 96.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004197/0.7373, allocations: 75.88 kB / 0.526 GB, free: 96.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.7384, allocations: 101.7 kB / 0.5261 GB, free: 96.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004805/0.7389, allocations: 285.2 kB / 0.5264 GB, free: 96.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001663/0.739, allocations: 91.27 kB / 0.5265 GB, free: 96.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002082/0.7411, allocations: 1.749 MB / 0.5282 GB, free: 96 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7411, allocations: 0 / 0.5282 GB, free: 96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004953/0.7461, allocations: 1.678 MB / 0.5298 GB, free: 94.98 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.001118/0.7472, allocations: 0.4902 MB / 0.5303 GB, free: 94.69 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00535/0.7525, allocations: 4.071 MB / 0.5343 GB, free: 91.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.7525, allocations: 0 / 0.5343 GB, free: 91.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002592/0.7551, allocations: 2.147 MB / 0.5363 GB, free: 90.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00323/0.7583, allocations: 0.9397 MB / 0.5373 GB, free: 89.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02295/0.7813, allocations: 14.84 MB / 0.5518 GB, free: 75.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003403/0.7847, allocations: 2.755 MB / 0.5545 GB, free: 73.73 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002771/0.7875, allocations: 0.7108 MB / 0.5551 GB, free: 73.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001689/0.7892, allocations: 0.9782 MB / 0.5561 GB, free: 72.04 MB / 394.7 MB Notification: Performance of SimCode: time 2.715e-06/0.7892, allocations: 0 / 0.5561 GB, free: 72.04 MB / 394.7 MB Notification: Performance of Templates: time 0.08664/0.8758, allocations: 67.5 MB / 0.622 GB, free: 4.691 MB / 394.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.290952577255666]