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.001287/0.001287, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002439/0.003726, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.00358/0.00358, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004004/0.007584, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.972/0.972, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0912/1.063, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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 / 244.7 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.619e-05, allocations: 9.688 kB / 244.8 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02081/0.02083, allocations: 23.61 MB / 268.4 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1481/0.1689, allocations: 8.359 MB / 276.7 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004843/0.1738, allocations: 216.5 kB / 276.9 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01109/0.1849, allocations: 8.873 MB / 285.8 MB, free: 1.234 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007505/0.1924, allocations: 3.135 MB / 288.9 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003133/0.1955, allocations: 1.84 MB / 290.8 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01015/0.2056, allocations: 11.77 MB / 302.5 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01556/0.2212, allocations: 14.57 MB / 317.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01093/0.2321, allocations: 9.375 MB / 326.5 MB, free: 5.348 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008185/0.2403, allocations: 6.478 MB / 333 MB, free: 15.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003494/0.2438, allocations: 1.711 MB / 334.7 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004208/0.248, allocations: 2.167 MB / 336.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00199/0.25, allocations: 2.835 MB / 339.7 MB, free: 8.566 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004437/0.2544, allocations: 3.58 MB / 343.3 MB, free: 4.98 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009848/0.2643, allocations: 10.27 MB / 353.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.2643, allocations: 0 / 353.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2643, allocations: 0 / 353.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003409/0.2646, allocations: 0 / 353.5 MB, free: 11.11 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.02028/0.2849, allocations: 14.62 MB / 368.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.285, allocations: 15.97 kB / 368.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01687/0.3018, allocations: 6.368 MB / 374.5 MB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007988/0.3098, allocations: 3.843 MB / 378.4 MB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004053/0.3102, allocations: 0.7174 MB / 379.1 MB, free: 2.539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001488/0.3117, allocations: 0.9507 MB / 380 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01051/0.3222, allocations: 7.958 MB / 388 MB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001393/0.3224, allocations: 14.98 kB / 388 MB, free: 9.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006932/0.323, allocations: 398.9 kB / 388.4 MB, free: 9.602 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003542/0.3234, allocations: 0.5435 MB / 389 MB, free: 9.055 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006168/0.3296, allocations: 4.092 MB / 393 MB, free: 4.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03308/0.3627, allocations: 31.2 MB / 424.2 MB, free: 5.387 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005301/0.368, allocations: 4.752 MB / 429 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1356/0.5035, allocations: 1.16 MB / 430.2 MB, free: 99.44 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004628/0.504, allocations: 144.2 kB / 430.3 MB, free: 99.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.376e-05/0.5041, allocations: 83.47 kB / 430.4 MB, free: 99.39 MB / 394.7 MB Notification: Performance of pre-optimization done (n=447): time 6.452e-06/0.5041, allocations: 0 / 430.4 MB, free: 99.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=452): time 0.0241/0.5282, allocations: 11.31 MB / 441.7 MB, free: 98.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.5282, allocations: 98.36 kB / 441.8 MB, free: 98.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003135/0.5314, allocations: 3.305 MB / 445.1 MB, free: 98.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001941/0.5316, allocations: 93.83 kB / 445.2 MB, free: 98.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001252/0.5328, allocations: 3.878 MB / 449.1 MB, free: 95.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007895/0.5336, allocations: 1.596 MB / 450.7 MB, free: 94.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00104/0.5346, allocations: 1.112 MB / 451.8 MB, free: 94.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 2.983e-05/0.5347, allocations: 302.7 kB / 452.1 MB, free: 94.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.5357, allocations: 0.8466 MB / 452.9 MB, free: 94.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/0.5373, allocations: 2.816 MB / 455.7 MB, free: 91.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003276/0.5406, allocations: 4.549 MB / 460.3 MB, free: 89.22 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.538e-05/0.5406, allocations: 24.03 kB / 460.3 MB, free: 89.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.005143/0.5457, allocations: 4.196 MB / 464.5 MB, free: 89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/0.5458, allocations: 34.22 kB / 464.5 MB, free: 89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.073e-05/0.5458, allocations: 69.53 kB / 464.6 MB, free: 89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001952/0.5478, allocations: 1.17 MB / 465.8 MB, free: 88.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002595/0.5504, allocations: 1.448 MB / 467.2 MB, free: 88.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005603/0.556, allocations: 6.409 MB / 473.6 MB, free: 86.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/0.5579, allocations: 219.1 kB / 473.8 MB, free: 86.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003043/0.5582, allocations: 241 kB / 474.1 MB, free: 86.15 MB / 394.7 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.002077/0.5603, allocations: 0.5068 MB / 474.6 MB, free: 85.99 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000588/0.5609, allocations: 409.3 kB / 475 MB, free: 85.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004166/0.5651, allocations: 4.183 MB / 479.2 MB, free: 83.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002374/0.5674, allocations: 1.986 MB / 481.1 MB, free: 82.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.5674, allocations: 15.88 kB / 481.2 MB, free: 82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.262e-05/0.5675, allocations: 19.92 kB / 481.2 MB, free: 81.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.5778, allocations: 8.733 MB / 489.9 MB, free: 75.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.5779, allocations: 8 kB / 489.9 MB, free: 75.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/0.5795, allocations: 0.808 MB / 490.7 MB, free: 74.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009744/0.5805, allocations: 0.5786 MB / 491.3 MB, free: 73.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001751/0.5823, allocations: 1.066 MB / 492.4 MB, free: 72.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/0.5824, allocations: 95.95 kB / 492.5 MB, free: 72.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004737/0.5872, allocations: 6.039 MB / 498.5 MB, free: 66.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.5872, allocations: 15.12 kB / 498.5 MB, free: 66.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004204/0.5914, allocations: 3.926 MB / 0.4907 GB, free: 62.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003641/0.5917, allocations: 88 kB / 0.4908 GB, free: 62.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000914/0.5927, allocations: 120 kB / 0.4909 GB, free: 62.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003758/0.593, allocations: 338.3 kB / 0.4912 GB, free: 62.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001641/0.5932, allocations: 104 kB / 0.4913 GB, free: 62.03 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001171/0.5944, allocations: 1.591 MB / 0.4928 GB, free: 60.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5944, allocations: 0.5469 kB / 0.4928 GB, free: 60.62 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003655/0.598, allocations: 1.711 MB / 0.4945 GB, free: 58.91 MB / 394.7 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.001334/0.5994, allocations: 0.6749 MB / 0.4952 GB, free: 58.55 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00401/0.6034, allocations: 3.722 MB / 0.4988 GB, free: 55.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001429/0.6035, allocations: 116 kB / 0.4989 GB, free: 55.01 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002425/0.6059, allocations: 2.569 MB / 0.5014 GB, free: 52.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003298/0.6092, allocations: 7.482 MB / 0.5087 GB, free: 43.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05384/0.6631, allocations: 15.11 MB / 0.5235 GB, free: 28.63 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001742/0.6648, allocations: 1.99 MB / 0.5254 GB, free: 26.61 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002125/0.6669, allocations: 0.7277 MB / 0.5261 GB, free: 25.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001586/0.6685, allocations: 0.9364 MB / 0.5271 GB, free: 24.94 MB / 394.7 MB Notification: Performance of SimCode: time 1.764e-06/0.6685, allocations: 4 kB / 0.5271 GB, free: 24.93 MB / 394.7 MB Notification: Performance of Templates: time 0.2097/0.8783, allocations: 75.59 MB / 0.6009 GB, free: 98.25 MB / 410.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.214072588831186]