Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.00105/0.00105, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0009134/0.0009134, allocations: 142.6 kB / 24.97 MB, free: 8.379 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.9789/0.9789, allocations: 173.4 MB / 201.5 MB, free: 9.293 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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 268.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.577e-05, allocations: 5.547 kB / 268.1 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.006671/0.006696, allocations: 6.553 MB / 274.6 MB, free: 124 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00368/0.01038, allocations: 2.327 MB / 277 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000602/0.01098, allocations: 24 kB / 277 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002352/0.01333, allocations: 1.979 MB / 279 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.01468, allocations: 0.7142 MB / 279.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.01614, allocations: 1.128 MB / 280.8 MB, free: 9.922 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001162/0.0173, allocations: 1.171 MB / 282 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.0183, allocations: 0.8214 MB / 282.8 MB, free: 7.898 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006606/0.01896, allocations: 0.7093 MB / 283.5 MB, free: 7.188 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004526/0.01942, allocations: 482.7 kB / 284 MB, free: 6.715 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.01953, allocations: 100 kB / 284.1 MB, free: 6.617 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006749/0.0202, allocations: 411.3 kB / 284.5 MB, free: 6.215 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.02033, allocations: 255 kB / 284.7 MB, free: 5.965 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.02058, allocations: 387 kB / 285.1 MB, free: 5.586 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.02166, allocations: 1.168 MB / 286.3 MB, free: 4.414 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.02167, allocations: 4 kB / 286.3 MB, free: 4.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.02167, allocations: 0 / 286.3 MB, free: 4.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.02168, allocations: 4 kB / 286.3 MB, free: 4.406 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.00363/0.02531, allocations: 2.076 MB / 288.4 MB, free: 2.289 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.02536, allocations: 12.92 kB / 288.4 MB, free: 2.277 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003431/0.02879, allocations: 0.7336 MB / 289.1 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.02909, allocations: 250.9 kB / 289.4 MB, free: 1.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.02919, allocations: 103 kB / 289.5 MB, free: 1.168 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002132/0.0294, allocations: 128.4 kB / 289.6 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1012/0.1306, allocations: 1.036 MB / 290.6 MB, free: 32.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.737e-05/0.1307, allocations: 4.969 kB / 290.6 MB, free: 32.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002254/0.1309, allocations: 54.41 kB / 290.7 MB, free: 32.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.343e-05/0.131, allocations: 30.19 kB / 290.7 MB, free: 32.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.1324, allocations: 0.641 MB / 291.3 MB, free: 32.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004195/0.1365, allocations: 3.23 MB / 294.6 MB, free: 30.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.1378, allocations: 0.9807 MB / 295.6 MB, free: 30.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004532/0.1383, allocations: 305.1 kB / 295.9 MB, free: 30.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.442e-05/0.1383, allocations: 35.98 kB / 295.9 MB, free: 30.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.1384, allocations: 48.75 kB / 295.9 MB, free: 30.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 3.476e-06/0.1384, allocations: 0 / 295.9 MB, free: 30.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.004347/0.1427, allocations: 2.398 MB / 298.3 MB, free: 29.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.1428, allocations: 94.7 kB / 298.4 MB, free: 29.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.1431, allocations: 426.9 kB / 298.8 MB, free: 29.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.1431, allocations: 46.2 kB / 298.9 MB, free: 29.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.1433, allocations: 0.5056 MB / 299.4 MB, free: 28.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.1435, allocations: 447.8 kB / 299.8 MB, free: 28.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.1437, allocations: 250.1 kB / 300.1 MB, free: 28.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.1438, allocations: 0.5508 MB / 300.6 MB, free: 27.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00039/0.1442, allocations: 213.4 kB / 300.8 MB, free: 27.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004797/0.1447, allocations: 0.6085 MB / 301.4 MB, free: 27.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008664/0.1455, allocations: 0.851 MB / 302.3 MB, free: 26.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.1455, allocations: 6.781 kB / 302.3 MB, free: 26.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.001365/0.1469, allocations: 1.086 MB / 303.4 MB, free: 26.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.1469, allocations: 12.75 kB / 303.4 MB, free: 26.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.1469, allocations: 6.562 kB / 303.4 MB, free: 26.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006252/0.1476, allocations: 267 kB / 303.7 MB, free: 26.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005723/0.1481, allocations: 277.8 kB / 303.9 MB, free: 26.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.1502, allocations: 4.849 MB / 308.8 MB, free: 22.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.1506, allocations: 65.81 kB / 308.8 MB, free: 21.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/0.1506, allocations: 55 kB / 308.9 MB, free: 21.97 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000231/0.1509, allocations: 239 kB / 309.1 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.151, allocations: 107 kB / 309.2 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.1521, allocations: 0.9509 MB / 310.2 MB, free: 21.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.1521, allocations: 12 kB / 310.2 MB, free: 21.15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1521, allocations: 4 kB / 310.2 MB, free: 21.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.1521, allocations: 11.02 kB / 310.2 MB, free: 21.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.154, allocations: 1.835 MB / 312.1 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.154, allocations: 4 kB / 312.1 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000429/0.1545, allocations: 203.9 kB / 312.3 MB, free: 19.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004845/0.155, allocations: 226.9 kB / 312.5 MB, free: 18.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.376e-05/0.155, allocations: 35.86 kB / 312.5 MB, free: 18.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001653/0.1566, allocations: 4.716 MB / 317.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1567, allocations: 10.69 kB / 317.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.158, allocations: 1.249 MB / 318.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/0.1582, allocations: 151.5 kB / 318.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.031e-05/0.1582, allocations: 24 kB / 318.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.1585, allocations: 51.91 kB / 318.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.1586, allocations: 92.81 kB / 318.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.1587, allocations: 35.98 kB / 318.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001305/0.1588, allocations: 267.1 kB / 319.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1588, allocations: 0 / 319.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007309/0.1595, allocations: 296 kB / 319.4 MB, free: 11.78 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 104 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002189/0.1598, allocations: 178.8 kB / 319.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.1609, allocations: 1.174 MB / 320.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1609, allocations: 0 / 320.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005149/0.1614, allocations: 0.7921 MB / 321.5 MB, free: 9.559 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.1618, allocations: 86.27 kB / 321.6 MB, free: 9.477 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.164, allocations: 1.815 MB / 323.4 MB, free: 7.609 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.1641, allocations: 203.6 kB / 323.6 MB, free: 7.391 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000348/0.1644, allocations: 146.6 kB / 323.8 MB, free: 7.242 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.1646, allocations: 76.47 kB / 323.8 MB, free: 7.168 MB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1646, allocations: 0 / 323.8 MB, free: 7.168 MB / 266.7 MB Notification: Performance of Templates: time 0.01175/0.1764, allocations: 10.13 MB / 334 MB, free: 13.21 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.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.0637360259424895]