Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.001013/0.001013, allocations: 71.77 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.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.0009459/0.0009459, allocations: 162.6 kB / 24.99 MB, free: 8.336 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.9308/0.9308, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 3.984 kB / 273.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.394e-05/1.63e-05, allocations: 2.312 kB / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005346/0.005362, allocations: 6.579 MB / 279.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.008102, allocations: 2.374 MB / 282 MB, free: 8.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002393/0.008342, allocations: 24 kB / 282 MB, free: 8.816 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001923/0.01026, allocations: 1.987 MB / 284 MB, free: 6.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007522/0.01102, allocations: 0.5548 MB / 284.6 MB, free: 6.262 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.01225, allocations: 1.277 MB / 285.9 MB, free: 4.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007485/0.013, allocations: 1.159 MB / 287 MB, free: 3.812 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007667/0.01377, allocations: 0.8291 MB / 287.9 MB, free: 2.961 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005021/0.01427, allocations: 0.7093 MB / 288.6 MB, free: 2.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003691/0.01464, allocations: 486.6 kB / 289 MB, free: 1.773 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.971e-05/0.01473, allocations: 100 kB / 289.1 MB, free: 1.676 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004896/0.01522, allocations: 423.4 kB / 289.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.01535, allocations: 258.9 kB / 289.8 MB, free: 1.008 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.01558, allocations: 387 kB / 290.2 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1044/0.1199, allocations: 1.182 MB / 291.4 MB, free: 17.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1199, allocations: 0 / 291.4 MB, free: 17.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1199, allocations: 0.6562 kB / 291.4 MB, free: 17.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.178e-05/0.12, allocations: 0 / 291.4 MB, free: 17.04 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.004077/0.1241, allocations: 2.085 MB / 293.4 MB, free: 16.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1241, allocations: 11.52 kB / 293.5 MB, free: 16.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002395/0.1265, allocations: 0.7127 MB / 294.2 MB, free: 16.19 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.1268, allocations: 251.4 kB / 294.4 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-05/0.1268, allocations: 98.36 kB / 294.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/0.127, allocations: 131.8 kB / 294.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.1286, allocations: 1.04 MB / 295.7 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.86e-05/0.1286, allocations: 3.781 kB / 295.7 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.883e-05/0.1287, allocations: 49.28 kB / 295.7 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/0.1287, allocations: 35.81 kB / 295.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.1299, allocations: 0.6495 MB / 296.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00408/0.134, allocations: 3.251 MB / 299.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.1352, allocations: 0.9852 MB / 300.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004001/0.1356, allocations: 295.4 kB / 300.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.674e-05/0.1357, allocations: 50.98 kB / 301 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.1358, allocations: 50.61 kB / 301 MB, free: 14.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 2.776e-06/0.1358, allocations: 0 / 301 MB, free: 14.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.00389/0.1397, allocations: 2.403 MB / 303.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.1397, allocations: 90.64 kB / 303.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.1399, allocations: 431.1 kB / 304 MB, free: 13.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.14, allocations: 45.14 kB / 304 MB, free: 13.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.1401, allocations: 0.5099 MB / 304.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.1403, allocations: 442.2 kB / 304.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.1405, allocations: 250 kB / 305.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.404e-05/0.1405, allocations: 0.5506 MB / 305.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.1409, allocations: 213 kB / 305.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/0.1412, allocations: 0.6005 MB / 306.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007553/0.142, allocations: 0.8641 MB / 307.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.142, allocations: 2.312 kB / 307.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.001196/0.1432, allocations: 1.091 MB / 308.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1432, allocations: 10.89 kB / 308.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.1432, allocations: 12.8 kB / 308.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005738/0.1438, allocations: 259.2 kB / 308.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/0.1444, allocations: 268.9 kB / 309 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.1468, allocations: 4.851 MB / 313.9 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004902/0.1472, allocations: 61.42 kB / 313.9 MB, free: 6.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.874e-05/0.1473, allocations: 57.66 kB / 314 MB, free: 6.211 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.0002473/0.1476, allocations: 239.6 kB / 314.2 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.1477, allocations: 107.8 kB / 314.3 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.1491, allocations: 0.9418 MB / 315.3 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.1491, allocations: 12 kB / 315.3 MB, free: 5.219 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1491, allocations: 4 kB / 315.3 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.1491, allocations: 7.828 kB / 315.3 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.1516, allocations: 1.842 MB / 317.2 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.1516, allocations: 0 / 317.2 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005815/0.1522, allocations: 202.3 kB / 317.3 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006267/0.1528, allocations: 231.8 kB / 317.6 MB, free: 2.941 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.506e-05/0.1528, allocations: 31.98 kB / 317.6 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002421/0.1553, allocations: 4.707 MB / 322.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1553, allocations: 2.953 kB / 322.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/0.1572, allocations: 1.265 MB / 323.6 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002754/0.1575, allocations: 151.4 kB / 323.7 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.12e-05/0.1576, allocations: 24 kB / 323.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.158, allocations: 43.97 kB / 323.8 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.1581, allocations: 96.84 kB / 323.9 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.566e-05/0.1582, allocations: 35.98 kB / 323.9 MB, free: 12.37 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002199/0.1584, allocations: 271 kB / 324.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1584, allocations: 0 / 324.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001013/0.1594, allocations: 303.9 kB / 324.5 MB, free: 11.81 MB / 282.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.0002757/0.1597, allocations: 180.9 kB / 324.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.1613, allocations: 1.173 MB / 325.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1613, allocations: 3.656 kB / 325.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008455/0.1621, allocations: 0.7896 MB / 326.6 MB, free: 9.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004821/0.1626, allocations: 85.47 kB / 326.7 MB, free: 9.578 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003117/0.1657, allocations: 1.732 MB / 328.4 MB, free: 7.805 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.1659, allocations: 199.8 kB / 328.6 MB, free: 7.586 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004589/0.1664, allocations: 138.6 kB / 328.8 MB, free: 7.445 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.1666, allocations: 80.47 kB / 328.9 MB, free: 7.367 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1666, allocations: 0 / 328.9 MB, free: 7.367 MB / 282.7 MB Notification: Performance of Templates: time 0.01678/0.1834, allocations: 10.38 MB / 339.2 MB, free: 13.21 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.928731339983642]