Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.0009581/0.0009581, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001005/0.001005, allocations: 161.4 kB / 24.56 MB, free: 20 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 0.9489/0.9489, allocations: 177.2 MB / 205 MB, free: 5.285 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.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 273 MB, free: 1.371 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.72e-05, allocations: 6.312 kB / 273 MB, free: 1.363 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.01447/0.01449, allocations: 5.039 MB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006282/0.02077, allocations: 2.086 MB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003157/0.02108, allocations: 16 kB / 280.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005014/0.0261, allocations: 1.489 MB / 281.6 MB, free: 8.695 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.02739, allocations: 429.1 kB / 282 MB, free: 8.273 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.02913, allocations: 1.171 MB / 283.2 MB, free: 7.098 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008195/0.02995, allocations: 0.7703 MB / 284 MB, free: 6.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000828/0.03078, allocations: 0.5714 MB / 284.6 MB, free: 5.746 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006031/0.03138, allocations: 494.9 kB / 285 MB, free: 5.262 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004193/0.0318, allocations: 335.1 kB / 285.4 MB, free: 4.934 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.0319, allocations: 68 kB / 285.4 MB, free: 4.867 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006551/0.03256, allocations: 399.3 kB / 285.8 MB, free: 4.477 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.837e-05/0.03265, allocations: 171.4 kB / 286 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.03282, allocations: 263.3 kB / 286.2 MB, free: 4.051 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007967/0.03362, allocations: 0.8992 MB / 287.1 MB, free: 3.148 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.03362, allocations: 3.984 kB / 287.1 MB, free: 3.145 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.03362, allocations: 0 / 287.1 MB, free: 3.145 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.03363, allocations: 0 / 287.1 MB, free: 3.145 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.002362/0.03599, allocations: 1.517 MB / 288.7 MB, free: 1.586 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.03604, allocations: 8.031 kB / 288.7 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.03744, allocations: 0.492 MB / 289.2 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.03761, allocations: 207.6 kB / 289.4 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.8e-05/0.03766, allocations: 62.38 kB / 289.4 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002303/0.03789, allocations: 88.33 kB / 289.5 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1075/0.1454, allocations: 0.7085 MB / 290.2 MB, free: 18.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.501e-05/0.1455, allocations: 3.375 kB / 290.2 MB, free: 18.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/0.1457, allocations: 31.5 kB / 290.3 MB, free: 18.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/0.1457, allocations: 21.78 kB / 290.3 MB, free: 18.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009911/0.1467, allocations: 433.6 kB / 290.7 MB, free: 18.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003253/0.1499, allocations: 2.298 MB / 293 MB, free: 17.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007013/0.1506, allocations: 424.3 kB / 293.4 MB, free: 17.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.1509, allocations: 134.4 kB / 293.5 MB, free: 17.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.687e-05/0.1509, allocations: 28.17 kB / 293.6 MB, free: 17.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.151, allocations: 44.97 kB / 293.6 MB, free: 17.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.385e-06/0.151, allocations: 0.7188 kB / 293.6 MB, free: 17.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.002952/0.1539, allocations: 1.331 MB / 294.9 MB, free: 17.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.1539, allocations: 84.66 kB / 295 MB, free: 17.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.1543, allocations: 371.2 kB / 295.4 MB, free: 17.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.1543, allocations: 35.22 kB / 295.4 MB, free: 17.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.1544, allocations: 424.3 kB / 295.8 MB, free: 16.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.1546, allocations: 228.7 kB / 296.1 MB, free: 16.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.1548, allocations: 152.6 kB / 296.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.497e-05/0.1548, allocations: 0.5274 MB / 296.7 MB, free: 16.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.1551, allocations: 125.1 kB / 296.9 MB, free: 16.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/0.1555, allocations: 492.6 kB / 297.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006714/0.1561, allocations: 0.6234 MB / 298 MB, free: 15.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.1562, allocations: 2.5 kB / 298 MB, free: 15.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001052/0.1572, allocations: 0.6582 MB / 298.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.1572, allocations: 8.562 kB / 298.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.1572, allocations: 7.281 kB / 298.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000438/0.1577, allocations: 98.38 kB / 298.7 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005471/0.1582, allocations: 178.6 kB / 298.9 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.1594, allocations: 3.553 MB / 302.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003648/0.1598, allocations: 47.28 kB / 302.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/0.1598, allocations: 36.09 kB / 302.6 MB, free: 11.87 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.0001575/0.16, allocations: 208.8 kB / 302.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.1601, allocations: 61.98 kB / 302.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008246/0.1609, allocations: 490.7 kB / 303.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1609, allocations: 10.31 kB / 303.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1609, allocations: 5.219 kB / 303.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1609, allocations: 3.609 kB / 303.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.1623, allocations: 1.023 MB / 304.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1623, allocations: 3.984 kB / 304.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/0.1627, allocations: 116.7 kB / 304.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003522/0.163, allocations: 86.36 kB / 304.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/0.1631, allocations: 18.02 kB / 304.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000997/0.1641, allocations: 3.538 MB / 308.1 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.1641, allocations: 1.172 kB / 308.1 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009792/0.1651, allocations: 0.6961 MB / 308.8 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.1652, allocations: 90.31 kB / 308.9 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.1653, allocations: 14.75 kB / 308.9 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.1655, allocations: 32.8 kB / 308.9 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.1656, allocations: 44.62 kB / 309 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.1657, allocations: 19.5 kB / 309 MB, free: 7.074 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001605/0.1658, allocations: 234.2 kB / 309.2 MB, free: 6.922 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1658, allocations: 0 / 309.2 MB, free: 6.922 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006539/0.1665, allocations: 178.7 kB / 309.4 MB, free: 6.898 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.0002161/0.1667, allocations: 169.7 kB / 309.6 MB, free: 6.793 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008483/0.1675, allocations: 0.7602 MB / 310.3 MB, free: 6.375 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1675, allocations: 0 / 310.3 MB, free: 6.375 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004014/0.1679, allocations: 0.5336 MB / 310.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.1683, allocations: 52.52 kB / 310.9 MB, free: 5.965 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.1701, allocations: 1.101 MB / 312 MB, free: 5.363 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.807e-05/0.1702, allocations: 144.2 kB / 312.1 MB, free: 5.289 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002692/0.1705, allocations: 89.73 kB / 312.2 MB, free: 5.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.1706, allocations: 53.39 kB / 312.3 MB, free: 5.234 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1706, allocations: 0 / 312.3 MB, free: 5.234 MB / 266.7 MB Notification: Performance of Templates: time 0.009821/0.1804, allocations: 6.531 MB / 318.8 MB, free: 2.133 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.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: 3.067004529759288]