Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001446/0.001446, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001171/0.001171, allocations: 162 kB / 24.99 MB, free: 8.746 MB / 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 0.9392/0.9392, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.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.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.133e-06/1.133e-06, allocations: 0 / 273.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.45e-05, allocations: 2.312 kB / 273.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004135/0.004149, allocations: 4.977 MB / 278 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.006354, allocations: 2.086 MB / 280.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.006536, allocations: 16 kB / 280.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.008086, allocations: 1.474 MB / 281.6 MB, free: 9.242 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006581/0.008744, allocations: 441.1 kB / 282.1 MB, free: 8.809 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.009973, allocations: 1.156 MB / 283.2 MB, free: 7.648 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005915/0.01056, allocations: 0.7625 MB / 284 MB, free: 6.879 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006161/0.01118, allocations: 0.5713 MB / 284.5 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004027/0.01158, allocations: 486.9 kB / 285 MB, free: 5.828 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.01187, allocations: 331.1 kB / 285.3 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.727e-05/0.01193, allocations: 68 kB / 285.4 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000469/0.0124, allocations: 395.3 kB / 285.8 MB, free: 5.051 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.332e-05/0.01249, allocations: 171.3 kB / 286 MB, free: 4.883 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.01265, allocations: 251.4 kB / 286.2 MB, free: 4.637 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007509/0.0134, allocations: 0.8992 MB / 287.1 MB, free: 3.734 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.01341, allocations: 4 kB / 287.1 MB, free: 3.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01341, allocations: 0 / 287.1 MB, free: 3.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.01341, allocations: 4 kB / 287.1 MB, free: 3.727 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002433/0.01585, allocations: 1.506 MB / 288.6 MB, free: 2.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.01588, allocations: 8.031 kB / 288.6 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/0.0174, allocations: 495.9 kB / 289.1 MB, free: 1.688 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.01755, allocations: 208.2 kB / 289.3 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/0.01759, allocations: 70.38 kB / 289.4 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.849e-05/0.01768, allocations: 84.38 kB / 289.5 MB, free: 1.305 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008687/0.01855, allocations: 0.7045 MB / 290.2 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.01857, allocations: 192 / 290.2 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/0.01863, allocations: 36.38 kB / 290.2 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.01864, allocations: 23.94 kB / 290.2 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006844/0.01932, allocations: 435.7 kB / 290.7 MB, free: 92 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1277/0.147, allocations: 2.293 MB / 292.9 MB, free: 27.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007133/0.1477, allocations: 429 kB / 293.4 MB, free: 27.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.148, allocations: 135.3 kB / 293.5 MB, free: 27.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.966e-05/0.148, allocations: 30.23 kB / 293.5 MB, free: 27.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.1481, allocations: 46.42 kB / 293.6 MB, free: 27.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 3.006e-06/0.1481, allocations: 0 / 293.6 MB, free: 27.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.005886/0.1539, allocations: 1.319 MB / 294.9 MB, free: 26.58 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.154, allocations: 84.5 kB / 295 MB, free: 26.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.1542, allocations: 367.7 kB / 295.3 MB, free: 26.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.1543, allocations: 31.89 kB / 295.4 MB, free: 26.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.1544, allocations: 428 kB / 295.8 MB, free: 25.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003131/0.1575, allocations: 223.6 kB / 296 MB, free: 25.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.1577, allocations: 157.4 kB / 296.2 MB, free: 25.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.084e-05/0.1578, allocations: 0.5241 MB / 296.7 MB, free: 25.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.1581, allocations: 120.9 kB / 296.8 MB, free: 25.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000365/0.1584, allocations: 492.9 kB / 297.3 MB, free: 24.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006542/0.1591, allocations: 0.6211 MB / 297.9 MB, free: 24.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.1591, allocations: 2 kB / 297.9 MB, free: 24.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001065/0.1601, allocations: 0.6537 MB / 298.6 MB, free: 23.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1602, allocations: 9.438 kB / 298.6 MB, free: 23.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.1602, allocations: 7.562 kB / 298.6 MB, free: 23.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003368/0.1635, allocations: 91.39 kB / 298.7 MB, free: 23.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005584/0.1641, allocations: 189.5 kB / 298.8 MB, free: 23.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/0.1653, allocations: 3.544 MB / 302.4 MB, free: 20.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/0.1657, allocations: 42.08 kB / 302.4 MB, free: 20.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.519e-05/0.1657, allocations: 39.33 kB / 302.5 MB, free: 20.27 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001693/0.1659, allocations: 212.8 kB / 302.7 MB, free: 20.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.795e-05/0.166, allocations: 62.5 kB / 302.7 MB, free: 20.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006879/0.1667, allocations: 489.1 kB / 303.2 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1667, allocations: 7.125 kB / 303.2 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1667, allocations: 4.75 kB / 303.2 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1667, allocations: 2.906 kB / 303.2 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.1678, allocations: 1.024 MB / 304.3 MB, free: 19.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1678, allocations: 2.281 kB / 304.3 MB, free: 19.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002965/0.1681, allocations: 115.7 kB / 304.4 MB, free: 19.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002188/0.1683, allocations: 80.88 kB / 304.4 MB, free: 19.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.1684, allocations: 16.22 kB / 304.5 MB, free: 19.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008117/0.1692, allocations: 3.542 MB / 308 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1692, allocations: 0 / 308 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008485/0.17, allocations: 0.699 MB / 308.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.1702, allocations: 84.78 kB / 308.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.1702, allocations: 10.84 kB / 308.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.1704, allocations: 29.2 kB / 308.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.621e-05/0.1705, allocations: 52.7 kB / 308.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.1705, allocations: 19.22 kB / 308.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001264/0.1706, allocations: 222.2 kB / 309.1 MB, free: 15.08 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1706, allocations: 1.156 kB / 309.1 MB, free: 15.08 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004641/0.1711, allocations: 173.8 kB / 309.3 MB, free: 15.06 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001889/0.1713, allocations: 169.4 kB / 309.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007479/0.172, allocations: 0.749 MB / 310.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.172, allocations: 5.125 kB / 310.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003464/0.1724, allocations: 0.5355 MB / 310.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.1726, allocations: 56.61 kB / 310.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.1742, allocations: 1.089 MB / 311.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.322e-05/0.1742, allocations: 146.1 kB / 312 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002126/0.1744, allocations: 84.02 kB / 312.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.1745, allocations: 50.31 kB / 312.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1745, allocations: 0 / 312.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of Templates: time 0.007605/0.1821, allocations: 6.45 MB / 318.6 MB, free: 8.309 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.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: 2.836930589051917]