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.0009993/0.0009993, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0009848/0.0009848, allocations: 145.7 kB / 24.89 MB, free: 8.773 MB / 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.9053/0.9053, allocations: 173.4 MB / 201.5 MB, free: 8.277 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 1.493e-06/1.493e-06, allocations: 0 / 268.6 MB, free: 9.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.61e-05, allocations: 9.953 kB / 268.6 MB, free: 9.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01983/0.01985, allocations: 23.4 MB / 292 MB, free: 2.191 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01387/0.03372, allocations: 8.082 MB / 300.1 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004557/0.03828, allocations: 218.9 kB / 300.3 MB, free: 9.875 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01269/0.05097, allocations: 8.834 MB / 309.1 MB, free: 1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008794/0.05976, allocations: 3.119 MB / 312.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004352/0.06411, allocations: 1.819 MB / 314 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01323/0.07735, allocations: 11.59 MB / 325.6 MB, free: 424 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02291/0.1003, allocations: 14.95 MB / 340.6 MB, free: 1.273 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.189/0.2893, allocations: 9.077 MB / 349.7 MB, free: 27.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02863/0.3179, allocations: 6.477 MB / 356.1 MB, free: 27.46 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004055/0.322, allocations: 1.711 MB / 357.9 MB, free: 27.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005103/0.3271, allocations: 2.143 MB / 360 MB, free: 27.46 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003804/0.3309, allocations: 3.51 MB / 363.5 MB, free: 27.46 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008245/0.3391, allocations: 4.266 MB / 367.8 MB, free: 26.64 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01358/0.3527, allocations: 10.84 MB / 378.6 MB, free: 21.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3527, allocations: 0 / 378.6 MB, free: 21.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3527, allocations: 0.5938 kB / 378.6 MB, free: 21.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0006906/0.3534, allocations: 0 / 378.6 MB, free: 21.9 MB / 314.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.02245/0.3759, allocations: 12.53 MB / 391.2 MB, free: 11.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.3759, allocations: 12.03 kB / 391.2 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02028/0.3962, allocations: 6.4 MB / 397.6 MB, free: 4.836 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007836/0.404, allocations: 3.828 MB / 401.4 MB, free: 1.227 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004282/0.4044, allocations: 0.7234 MB / 402.1 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002681/0.4071, allocations: 0.9492 MB / 403.1 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01945/0.4266, allocations: 7.93 MB / 411 MB, free: 7.992 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002507/0.4268, allocations: 15.06 kB / 411 MB, free: 7.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001536/0.4284, allocations: 399.6 kB / 411.4 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003902/0.4287, allocations: 0.5591 MB / 412 MB, free: 7.039 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01098/0.4397, allocations: 4.058 MB / 416 MB, free: 2.949 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05402/0.4938, allocations: 30.95 MB / 447 MB, free: 4.988 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007298/0.5011, allocations: 4.763 MB / 451.7 MB, free: 340 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002453/0.5035, allocations: 1.172 MB / 452.9 MB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003161/0.5038, allocations: 115.4 kB / 453 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/0.5039, allocations: 82.06 kB / 453.1 MB, free: 15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=447): time 6.693e-06/0.5039, allocations: 4 kB / 453.1 MB, free: 15 MB / 378.7 MB Notification: Performance of matching and sorting (n=452): time 0.0222/0.5261, allocations: 9.696 MB / 462.8 MB, free: 5.395 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.5261, allocations: 102.9 kB / 462.9 MB, free: 5.281 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004208/0.5304, allocations: 3.293 MB / 466.2 MB, free: 2.547 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008255/0.5312, allocations: 97.7 kB / 466.3 MB, free: 2.445 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002124/0.5333, allocations: 3.866 MB / 470.2 MB, free: 14.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001768/0.5351, allocations: 1.591 MB / 471.7 MB, free: 13.21 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00157/0.5366, allocations: 1.106 MB / 472.9 MB, free: 12.22 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.362e-05/0.5367, allocations: 304.8 kB / 473.2 MB, free: 11.92 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.5384, allocations: 0.8445 MB / 474 MB, free: 11.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002861/0.5413, allocations: 2.817 MB / 476.8 MB, free: 7.457 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004657/0.5459, allocations: 4.287 MB / 481.1 MB, free: 2.625 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.288e-05/0.546, allocations: 23.98 kB / 481.1 MB, free: 2.602 MB / 394.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.007379/0.5534, allocations: 4.177 MB / 485.3 MB, free: 14.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.869e-05/0.5534, allocations: 32 kB / 485.3 MB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.863e-05/0.5535, allocations: 72.34 kB / 485.4 MB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002582/0.5561, allocations: 1.17 MB / 486.6 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003312/0.5594, allocations: 1.331 MB / 487.9 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007427/0.5668, allocations: 6.453 MB / 494.4 MB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003081/0.5699, allocations: 219.8 kB / 494.6 MB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008891/0.5708, allocations: 240 kB / 494.8 MB, free: 5.504 MB / 410.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.003181/0.574, allocations: 0.501 MB / 495.3 MB, free: 5.086 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/0.5751, allocations: 415.5 kB / 495.7 MB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006249/0.5814, allocations: 4.196 MB / 499.9 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2812/0.8626, allocations: 1.966 MB / 0.4901 GB, free: 103.7 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.907e-05/0.8626, allocations: 13.47 kB / 0.4901 GB, free: 103.7 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001037/0.8627, allocations: 22.69 kB / 0.4901 GB, free: 103.7 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01705/0.8798, allocations: 8.707 MB / 0.4986 GB, free: 102.8 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.8798, allocations: 7.469 kB / 0.4987 GB, free: 102.8 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001806/0.8816, allocations: 0.7267 MB / 0.4994 GB, free: 102.8 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001994/0.8836, allocations: 1.055 MB / 0.5004 GB, free: 102.8 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002985/0.8839, allocations: 95.14 kB / 0.5005 GB, free: 102.8 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00563/0.8895, allocations: 6.06 MB / 0.5064 GB, free: 100.2 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.8895, allocations: 16.92 kB / 0.5064 GB, free: 100.2 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005477/0.895, allocations: 3.899 MB / 0.5102 GB, free: 99.45 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/0.8964, allocations: 0.567 MB / 0.5108 GB, free: 99.45 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000485/0.8969, allocations: 87.94 kB / 0.5109 GB, free: 99.45 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.898, allocations: 126.1 kB / 0.511 GB, free: 99.45 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005673/0.8985, allocations: 333.9 kB / 0.5113 GB, free: 99.44 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001799/0.8987, allocations: 94.78 kB / 0.5114 GB, free: 99.44 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001874/0.9006, allocations: 1.59 MB / 0.5129 GB, free: 99.34 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.9006, allocations: 0 / 0.5129 GB, free: 99.34 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.004371/0.905, allocations: 1.716 MB / 0.5146 GB, free: 99.34 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.001465/0.9064, allocations: 0.618 MB / 0.5152 GB, free: 99.21 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.005164/0.9116, allocations: 3.632 MB / 0.5188 GB, free: 98.75 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001542/0.9117, allocations: 69.16 kB / 0.5188 GB, free: 98.73 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002634/0.9144, allocations: 2.018 MB / 0.5208 GB, free: 98.37 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003352/0.9177, allocations: 0.966 MB / 0.5218 GB, free: 98.27 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02238/0.9401, allocations: 14.65 MB / 0.5361 GB, free: 90.18 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003325/0.9434, allocations: 1.965 MB / 0.538 GB, free: 88.86 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.002629/0.9461, allocations: 0.7251 MB / 0.5387 GB, free: 88.3 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00195/0.948, allocations: 0.9192 MB / 0.5396 GB, free: 87.5 MB / 410.8 MB Notification: Performance of SimCode: time 2.014e-06/0.948, allocations: 0 / 0.5396 GB, free: 87.5 MB / 410.8 MB Notification: Performance of Templates: time 0.09057/1.039, allocations: 70.96 MB / 0.6089 GB, free: 20.96 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 -s gbode -gbm=radauIIA3 -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: 5.934358967002481]