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.001318/0.001318, allocations: 85.05 kB / 21.5 MB, free: 2.984 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.001378/0.001378, allocations: 144.8 kB / 24.89 MB, free: 8.699 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.9097/0.9097, allocations: 173.4 MB / 201.5 MB, free: 9.199 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.352e-06/1.352e-06, allocations: 0 / 268.5 MB, free: 6.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.478e-05, allocations: 6.25 kB / 268.5 MB, free: 6.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.006362/0.006387, allocations: 6.396 MB / 274.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003483/0.00987, allocations: 2.427 MB / 277.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004801/0.01035, allocations: 20 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.01246, allocations: 1.995 MB / 279.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.01377, allocations: 0.7102 MB / 280 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.01517, allocations: 1.147 MB / 281.2 MB, free: 9.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.01639, allocations: 1.167 MB / 282.3 MB, free: 8.258 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.01752, allocations: 0.8839 MB / 283.2 MB, free: 7.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000713/0.01823, allocations: 0.7093 MB / 283.9 MB, free: 6.629 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004033/0.01864, allocations: 490.7 kB / 284.4 MB, free: 6.148 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.766e-05/0.01872, allocations: 100 kB / 284.5 MB, free: 6.051 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006823/0.01941, allocations: 415.3 kB / 284.9 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.01953, allocations: 255 kB / 285.2 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002333/0.01976, allocations: 387 kB / 285.5 MB, free: 5.016 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.02083, allocations: 1.172 MB / 286.7 MB, free: 3.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.02083, allocations: 0 / 286.7 MB, free: 3.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.02083, allocations: 0 / 286.7 MB, free: 3.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.02085, allocations: 0 / 286.7 MB, free: 3.84 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.003294/0.02414, allocations: 2.044 MB / 288.8 MB, free: 1.766 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.02418, allocations: 12.91 kB / 288.8 MB, free: 1.754 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/0.02597, allocations: 0.7653 MB / 289.5 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.02618, allocations: 256 kB / 289.8 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.005e-05/0.02624, allocations: 94.95 kB / 289.9 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.02636, allocations: 132.4 kB / 290 MB, free: 500 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09809/0.1245, allocations: 0.9294 MB / 290.9 MB, free: 19.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.672e-05/0.1245, allocations: 5.219 kB / 290.9 MB, free: 19.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.764e-05/0.1246, allocations: 57.09 kB / 291 MB, free: 19.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.1246, allocations: 30.34 kB / 291 MB, free: 19.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007171/0.1253, allocations: 426.5 kB / 291.5 MB, free: 19.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004063/0.1294, allocations: 2.634 MB / 294.1 MB, free: 19.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.1306, allocations: 0.8082 MB / 294.9 MB, free: 19.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003789/0.131, allocations: 221 kB / 295.1 MB, free: 19.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.1311, allocations: 35.39 kB / 295.1 MB, free: 19.01 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.1312, allocations: 48.61 kB / 295.2 MB, free: 18.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 4.809e-06/0.1312, allocations: 0 / 295.2 MB, free: 18.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=122): time 0.002966/0.1341, allocations: 1.249 MB / 296.4 MB, free: 18.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.1342, allocations: 91.25 kB / 296.5 MB, free: 18.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.1345, allocations: 345.1 kB / 296.9 MB, free: 18.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.686e-05/0.1345, allocations: 47.05 kB / 296.9 MB, free: 18.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.1347, allocations: 456.1 kB / 297.4 MB, free: 18.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00026/0.135, allocations: 435.1 kB / 297.8 MB, free: 18.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002803/0.1352, allocations: 219.4 kB / 298 MB, free: 18.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.369e-05/0.1353, allocations: 376.6 kB / 298.4 MB, free: 17.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.1356, allocations: 134.6 kB / 298.5 MB, free: 17.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004223/0.136, allocations: 437.2 kB / 298.9 MB, free: 17.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007978/0.1368, allocations: 0.6335 MB / 299.6 MB, free: 17.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.1368, allocations: 1.188 kB / 299.6 MB, free: 17.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.001218/0.1381, allocations: 0.7416 MB / 300.3 MB, free: 17.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.1381, allocations: 13.2 kB / 300.3 MB, free: 17.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.1381, allocations: 9.297 kB / 300.3 MB, free: 17.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007963/0.1389, allocations: 239.5 kB / 300.6 MB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007932/0.1397, allocations: 248.3 kB / 300.8 MB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/0.1419, allocations: 3.355 MB / 304.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005267/0.1425, allocations: 130.6 kB / 304.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/0.1425, allocations: 40.16 kB / 304.3 MB, free: 14.5 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (143): * Single equations (assignments): 141 * 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.0002404/0.1428, allocations: 185.7 kB / 304.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.1429, allocations: 83.58 kB / 304.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.144, allocations: 0.6846 MB / 305.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.144, allocations: 10.31 kB / 305.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.144, allocations: 7.562 kB / 305.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.144, allocations: 3.938 kB / 305.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.146, allocations: 1.235 MB / 306.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.146, allocations: 2.906 kB / 306.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005821/0.1466, allocations: 174.4 kB / 306.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006429/0.1472, allocations: 210.7 kB / 306.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.732e-05/0.1473, allocations: 28.78 kB / 306.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/0.149, allocations: 3.23 MB / 310.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.149, allocations: 0 / 310.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007321/0.1498, allocations: 0.8595 MB / 311 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.1499, allocations: 104.2 kB / 311.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.15, allocations: 29.25 kB / 311.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.1502, allocations: 39.22 kB / 311.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.903e-05/0.1503, allocations: 83.73 kB / 311.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.1503, allocations: 27.83 kB / 311.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.839e-05/0.1504, allocations: 128.9 kB / 311.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1504, allocations: 0 / 311.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007437/0.1511, allocations: 373.5 kB / 311.8 MB, free: 11.04 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 (103): * Single equations (assignments): 101 * 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.0002148/0.1514, allocations: 145.1 kB / 311.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008467/0.1522, allocations: 0.894 MB / 312.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/0.1522, allocations: 6.188 kB / 312.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003698/0.1526, allocations: 0.5917 MB / 313.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.1529, allocations: 80.58 kB / 313.5 MB, free: 10.4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.1548, allocations: 1.736 MB / 315.2 MB, free: 8.996 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.1549, allocations: 200.5 kB / 315.4 MB, free: 8.816 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002995/0.1552, allocations: 135.5 kB / 315.6 MB, free: 8.703 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.1555, allocations: 160.8 kB / 315.7 MB, free: 8.559 MB / 266.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1555, allocations: 4 kB / 315.7 MB, free: 8.555 MB / 266.7 MB Notification: Performance of Templates: time 0.0126/0.1681, allocations: 10.42 MB / 326.1 MB, free: 14.69 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: 2.8946984871290624]