Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001411/0.001411, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9769/0.9769, allocations: 177 MB / 205.2 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 273 MB, free: 1.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.06e-05, allocations: 2.312 kB / 273 MB, free: 1.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.00563/0.00565, allocations: 6.564 MB / 279.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003113/0.008764, allocations: 2.389 MB / 282 MB, free: 8.695 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003057/0.009069, allocations: 24 kB / 282 MB, free: 8.672 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002061/0.01113, allocations: 1.983 MB / 284 MB, free: 6.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008684/0.012, allocations: 0.5625 MB / 284.5 MB, free: 6.113 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.01406, allocations: 1.276 MB / 285.8 MB, free: 4.836 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001285/0.01534, allocations: 1.159 MB / 287 MB, free: 3.668 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.01653, allocations: 0.8175 MB / 287.8 MB, free: 2.832 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000724/0.01725, allocations: 0.7093 MB / 288.5 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004268/0.01768, allocations: 482.7 kB / 289 MB, free: 1.648 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.884e-05/0.01778, allocations: 103.9 kB / 289.1 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007137/0.01849, allocations: 435.3 kB / 289.5 MB, free: 1.121 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.01862, allocations: 254.9 kB / 289.7 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002616/0.01888, allocations: 383 kB / 290.1 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1062/0.125, allocations: 1.182 MB / 291.3 MB, free: 17.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.125, allocations: 1.094 kB / 291.3 MB, free: 17.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.125, allocations: 0 / 291.3 MB, free: 17.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.83e-05/0.1251, allocations: 0.6562 kB / 291.3 MB, free: 17.5 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.004079/0.1292, allocations: 2.085 MB / 293.4 MB, free: 16.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1292, allocations: 13.83 kB / 293.4 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002375/0.1316, allocations: 0.7138 MB / 294.1 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.1318, allocations: 250.7 kB / 294.4 MB, free: 16.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.886e-05/0.1319, allocations: 97.05 kB / 294.5 MB, free: 16.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/0.1321, allocations: 132.3 kB / 294.6 MB, free: 16.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.1336, allocations: 1.036 MB / 295.6 MB, free: 16.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/0.1336, allocations: 2.312 kB / 295.6 MB, free: 16.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.946e-05/0.1337, allocations: 54.12 kB / 295.7 MB, free: 16.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.1337, allocations: 37.59 kB / 295.7 MB, free: 16.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.1349, allocations: 0.6434 MB / 296.4 MB, free: 16.26 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003999/0.1389, allocations: 3.248 MB / 299.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.1401, allocations: 0.9822 MB / 300.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004167/0.1405, allocations: 298.8 kB / 300.9 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.1406, allocations: 50.62 kB / 300.9 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.1406, allocations: 49.42 kB / 301 MB, free: 14.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 3.146e-06/0.1406, allocations: 0 / 301 MB, free: 14.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.003987/0.1446, allocations: 2.407 MB / 303.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.1446, allocations: 92.53 kB / 303.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.1449, allocations: 426.6 kB / 303.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.145, allocations: 48.3 kB / 303.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.1451, allocations: 0.5042 MB / 304.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.1453, allocations: 449.4 kB / 304.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.1454, allocations: 246.5 kB / 305.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.134e-05/0.1455, allocations: 0.5536 MB / 305.7 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.1458, allocations: 216.9 kB / 305.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004176/0.1463, allocations: 0.5989 MB / 306.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007986/0.1471, allocations: 0.86 MB / 307.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.1471, allocations: 2.781 kB / 307.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.001223/0.1483, allocations: 1.088 MB / 308.4 MB, free: 10.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1483, allocations: 10.38 kB / 308.4 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.1483, allocations: 6.938 kB / 308.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006032/0.1489, allocations: 267.7 kB / 308.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006316/0.1495, allocations: 270.7 kB / 309 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.1516, allocations: 4.852 MB / 313.8 MB, free: 6.352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003961/0.152, allocations: 53.75 kB / 313.9 MB, free: 6.332 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.235e-05/0.152, allocations: 56.64 kB / 313.9 MB, free: 6.32 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.0002287/0.1523, allocations: 241.4 kB / 314.2 MB, free: 6.109 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.1524, allocations: 111.9 kB / 314.3 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.1535, allocations: 0.9422 MB / 315.2 MB, free: 5.219 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1535, allocations: 12 kB / 315.2 MB, free: 5.207 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1535, allocations: 4 kB / 315.2 MB, free: 5.203 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.1535, allocations: 3.984 kB / 315.2 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001941/0.1554, allocations: 1.854 MB / 317.1 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1554, allocations: 128 / 317.1 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004302/0.1559, allocations: 195 kB / 317.3 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000486/0.1563, allocations: 233.7 kB / 317.5 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/0.1564, allocations: 27.98 kB / 317.5 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.1584, allocations: 4.712 MB / 322.3 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1584, allocations: 3.625 kB / 322.3 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/0.1599, allocations: 1.27 MB / 323.5 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/0.1601, allocations: 155.4 kB / 323.7 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.265e-05/0.1602, allocations: 20 kB / 323.7 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.1605, allocations: 43.97 kB / 323.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.1606, allocations: 88.83 kB / 323.8 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/0.1607, allocations: 39.98 kB / 323.9 MB, free: 12.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001743/0.1608, allocations: 271 kB / 324.1 MB, free: 12.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1608, allocations: 0 / 324.1 MB, free: 12.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000807/0.1616, allocations: 311.9 kB / 324.4 MB, free: 11.78 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.0002499/0.1619, allocations: 174.9 kB / 324.6 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.1633, allocations: 1.171 MB / 325.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1633, allocations: 0 / 325.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006425/0.1639, allocations: 0.7905 MB / 326.6 MB, free: 9.641 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1643, allocations: 82.03 kB / 326.7 MB, free: 9.562 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.1668, allocations: 1.729 MB / 328.4 MB, free: 7.785 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.167, allocations: 199.8 kB / 328.6 MB, free: 7.566 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003759/0.1673, allocations: 142.3 kB / 328.7 MB, free: 7.426 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.1675, allocations: 80.47 kB / 328.8 MB, free: 7.348 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1675, allocations: 0 / 328.8 MB, free: 7.348 MB / 282.7 MB Notification: Performance of Templates: time 0.01297/0.1805, allocations: 10.38 MB / 339.2 MB, free: 13.19 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 3.001682213973254]