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.001439/0.001439, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.001406/0.001406, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9048/0.9048, allocations: 177 MB / 204.8 MB, free: 5.594 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.693e-06/1.693e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.937e-05, allocations: 2.312 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005443/0.005462, allocations: 6.599 MB / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002738/0.0082, allocations: 2.401 MB / 281.9 MB, free: 8.402 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.008447, allocations: 20 kB / 282 MB, free: 8.383 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001981/0.01043, allocations: 1.995 MB / 283.9 MB, free: 6.379 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007836/0.01121, allocations: 0.5548 MB / 284.5 MB, free: 5.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.01249, allocations: 1.285 MB / 285.8 MB, free: 4.531 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007554/0.01324, allocations: 1.156 MB / 286.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000779/0.01402, allocations: 0.8252 MB / 287.8 MB, free: 2.523 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005111/0.01453, allocations: 0.7131 MB / 288.5 MB, free: 1.809 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003831/0.01492, allocations: 486.7 kB / 289 MB, free: 1.332 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.244e-05/0.01501, allocations: 100 kB / 289.1 MB, free: 1.234 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004732/0.01548, allocations: 431.3 kB / 289.5 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.0156, allocations: 251 kB / 289.7 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.01584, allocations: 394.9 kB / 290.1 MB, free: 184 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1208/0.1367, allocations: 1.175 MB / 291.3 MB, free: 16.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1367, allocations: 0 / 291.3 MB, free: 16.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1367, allocations: 1.344 kB / 291.3 MB, free: 16.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.206e-05/0.1367, allocations: 2.953 kB / 291.3 MB, free: 16.68 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.003918/0.1406, allocations: 2.087 MB / 293.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.1407, allocations: 14.8 kB / 293.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/0.1428, allocations: 0.7139 MB / 294.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.143, allocations: 251.1 kB / 294.3 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.402e-05/0.1431, allocations: 97.64 kB / 294.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/0.1433, allocations: 132.3 kB / 294.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.1449, allocations: 1.039 MB / 295.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.434e-05/0.1449, allocations: 3 kB / 295.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.701e-05/0.145, allocations: 52.62 kB / 295.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.951e-05/0.145, allocations: 36.38 kB / 295.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.1463, allocations: 0.6454 MB / 296.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004198/0.1505, allocations: 3.247 MB / 299.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.1517, allocations: 0.9788 MB / 300.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000415/0.1521, allocations: 299 kB / 300.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.377e-05/0.1522, allocations: 44.81 kB / 300.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.1522, allocations: 51.11 kB / 301 MB, free: 13.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 2.696e-06/0.1522, allocations: 1.312 kB / 301 MB, free: 13.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.003791/0.156, allocations: 2.415 MB / 303.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.156, allocations: 89.67 kB / 303.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.1563, allocations: 426 kB / 303.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.1563, allocations: 45.48 kB / 303.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.1564, allocations: 0.5071 MB / 304.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.1566, allocations: 446.9 kB / 304.9 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.1568, allocations: 245.4 kB / 305.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.464e-05/0.1569, allocations: 0.556 MB / 305.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.1572, allocations: 216.9 kB / 305.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004173/0.1576, allocations: 0.5984 MB / 306.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000747/0.1583, allocations: 0.8609 MB / 307.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.1583, allocations: 3.531 kB / 307.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.00115/0.1595, allocations: 1.091 MB / 308.4 MB, free: 9.844 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1595, allocations: 7.906 kB / 308.4 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.1595, allocations: 7.719 kB / 308.4 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005928/0.1601, allocations: 268.4 kB / 308.7 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005525/0.1607, allocations: 271.7 kB / 309 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.1626, allocations: 4.853 MB / 313.8 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.1629, allocations: 55.41 kB / 313.9 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/0.163, allocations: 58.12 kB / 313.9 MB, free: 5.387 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.0001727/0.1632, allocations: 237.9 kB / 314.2 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.1633, allocations: 106.8 kB / 314.3 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.1643, allocations: 0.9337 MB / 315.2 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.1643, allocations: 12 kB / 315.2 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1643, allocations: 4 kB / 315.2 MB, free: 4.562 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.1643, allocations: 7.969 kB / 315.2 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.1661, allocations: 1.852 MB / 317.1 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.1661, allocations: 8.125 kB / 317.1 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004193/0.1666, allocations: 193.9 kB / 317.3 MB, free: 2.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004837/0.167, allocations: 237.8 kB / 317.5 MB, free: 2.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.452e-05/0.1671, allocations: 27.98 kB / 317.5 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/0.1691, allocations: 4.711 MB / 322.2 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1691, allocations: 0 / 322.2 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.1706, allocations: 1.258 MB / 323.5 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.1708, allocations: 158.5 kB / 323.7 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.332e-05/0.1709, allocations: 20 kB / 323.7 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/0.1712, allocations: 47.59 kB / 323.7 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.1713, allocations: 96.19 kB / 323.8 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.135e-05/0.1713, allocations: 39.98 kB / 323.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001682/0.1715, allocations: 267 kB / 324.1 MB, free: 11.44 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1715, allocations: 0 / 324.1 MB, free: 11.44 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000719/0.1722, allocations: 304 kB / 324.4 MB, free: 11.14 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.0002872/0.1725, allocations: 179 kB / 324.6 MB, free: 10.97 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.1738, allocations: 1.167 MB / 325.8 MB, free: 9.801 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1738, allocations: 3.969 kB / 325.8 MB, free: 9.801 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006753/0.1745, allocations: 0.7925 MB / 326.6 MB, free: 8.988 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.1748, allocations: 78.59 kB / 326.6 MB, free: 8.914 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.1773, allocations: 1.735 MB / 328.4 MB, free: 7.133 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.1774, allocations: 199.8 kB / 328.6 MB, free: 6.914 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003155/0.1778, allocations: 142.6 kB / 328.7 MB, free: 6.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.1779, allocations: 80.47 kB / 328.8 MB, free: 6.691 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1779, allocations: 0 / 328.8 MB, free: 6.691 MB / 282.7 MB Notification: Performance of Templates: time 0.01301/0.191, allocations: 10.38 MB / 339.2 MB, free: 12.54 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.1687573618255556]