Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.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.001439/0.001439, allocations: 88.31 kB / 20.96 MB, free: 3.48 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.001623/0.001623, allocations: 161.7 kB / 24.26 MB, free: 180 kB / 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 1.524/1.524, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.077e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005378/0.005409, allocations: 3.249 MB / 275.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.007387, allocations: 0.9113 MB / 276.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.00758, allocations: 11.94 kB / 276.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.007895, allocations: 103 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004335/0.008329, allocations: 170.6 kB / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.008728, allocations: 175.6 kB / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007492/0.009477, allocations: 0.658 MB / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002628/0.009739, allocations: 126 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004739/0.01021, allocations: 367.2 kB / 278.1 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003058/0.01052, allocations: 191.4 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.01067, allocations: 52 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.07e-05/0.01076, allocations: 56 kB / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.01088, allocations: 123.4 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002325/0.01111, allocations: 191.5 kB / 278.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007722/0.01188, allocations: 0.654 MB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.01188, allocations: 0 / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01188, allocations: 0 / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.01189, allocations: 0 / 279.3 MB, free: 10.77 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001652/0.01354, allocations: 0.7933 MB / 280.1 MB, free: 9.949 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.01358, allocations: 8.031 kB / 280.1 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.01377, allocations: 108.5 kB / 280.2 MB, free: 9.836 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005692/0.01434, allocations: 297.3 kB / 280.5 MB, free: 9.516 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.941e-05/0.01439, allocations: 37.69 kB / 280.6 MB, free: 9.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.893e-05/0.01448, allocations: 52.38 kB / 280.6 MB, free: 9.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009564/0.01544, allocations: 435 kB / 281 MB, free: 8.996 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.01545, allocations: 4.125 kB / 281 MB, free: 8.992 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.456e-05/0.01551, allocations: 23.94 kB / 281.1 MB, free: 8.969 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.01553, allocations: 15.98 kB / 281.1 MB, free: 8.953 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009612/0.01649, allocations: 385 kB / 281.5 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002771/0.01926, allocations: 1.271 MB / 282.7 MB, free: 7.242 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007487/0.02001, allocations: 308.9 kB / 283 MB, free: 6.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004582/0.02046, allocations: 169.3 kB / 283.2 MB, free: 6.762 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.0205, allocations: 8.328 kB / 283.2 MB, free: 6.754 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.02054, allocations: 38.88 kB / 283.2 MB, free: 6.707 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.382e-06/0.02054, allocations: 0 / 283.2 MB, free: 6.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=55): time 0.003663/0.0242, allocations: 1.202 MB / 284.4 MB, free: 5.492 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.02426, allocations: 59.91 kB / 284.5 MB, free: 5.422 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005576/0.02482, allocations: 405.5 kB / 284.9 MB, free: 5.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.02486, allocations: 33.7 kB / 284.9 MB, free: 4.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000303/0.02516, allocations: 320.6 kB / 285.2 MB, free: 4.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.02535, allocations: 194.3 kB / 285.4 MB, free: 4.469 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.02554, allocations: 114.2 kB / 285.5 MB, free: 4.348 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002193/0.02576, allocations: 358.8 kB / 285.9 MB, free: 3.988 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004902/0.02625, allocations: 181.2 kB / 286.1 MB, free: 3.812 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005738/0.02683, allocations: 295 kB / 286.4 MB, free: 3.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.0279, allocations: 0.4885 MB / 286.8 MB, free: 2.949 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.0279, allocations: 4 kB / 286.9 MB, free: 2.945 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001713/0.02961, allocations: 0.7562 MB / 287.6 MB, free: 2.176 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.02963, allocations: 4 kB / 287.6 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.02965, allocations: 11.98 kB / 287.6 MB, free: 2.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.03092, allocations: 269.4 kB / 287.9 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/0.03144, allocations: 115.8 kB / 288 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1247/0.1561, allocations: 3.978 MB / 292 MB, free: 26.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005204/0.1566, allocations: 31.09 kB / 292 MB, free: 26.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.1567, allocations: 24.62 kB / 292 MB, free: 26.02 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 56 * 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.0002408/0.1569, allocations: 179.9 kB / 292.2 MB, free: 25.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.157, allocations: 71.09 kB / 292.3 MB, free: 25.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.1571, allocations: 59.78 kB / 292.3 MB, free: 25.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1571, allocations: 6.844 kB / 292.3 MB, free: 25.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.929e-05/0.1571, allocations: 5 kB / 292.3 MB, free: 25.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.1572, allocations: 2.719 kB / 292.4 MB, free: 25.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/0.1593, allocations: 1.147 MB / 293.5 MB, free: 25.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.1593, allocations: 1.688 kB / 293.5 MB, free: 25.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.1596, allocations: 69.78 kB / 293.6 MB, free: 25.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001085/0.1607, allocations: 244.6 kB / 293.8 MB, free: 25.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.1607, allocations: 15.73 kB / 293.8 MB, free: 25.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003088/0.1638, allocations: 3.828 MB / 297.7 MB, free: 21.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.1638, allocations: 6.641 kB / 297.7 MB, free: 21.97 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.165, allocations: 0.72 MB / 298.4 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.315e-05/0.1651, allocations: 45.08 kB / 298.4 MB, free: 21.56 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.986e-05/0.1652, allocations: 8.672 kB / 298.4 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.1655, allocations: 26.22 kB / 298.5 MB, free: 21.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.1656, allocations: 47.64 kB / 298.5 MB, free: 21.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.1656, allocations: 15.84 kB / 298.5 MB, free: 21.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002974/0.1659, allocations: 271.5 kB / 298.8 MB, free: 21.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1659, allocations: 3.406 kB / 298.8 MB, free: 21.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007246/0.1666, allocations: 153.2 kB / 298.9 MB, free: 21.37 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (35): * Single equations (assignments): 33 * 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.0001332/0.1668, allocations: 107 kB / 299 MB, free: 21.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.1681, allocations: 0.7806 MB / 299.8 MB, free: 20.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1681, allocations: 0.9375 kB / 299.8 MB, free: 20.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000722/0.1689, allocations: 0.511 MB / 300.3 MB, free: 20.51 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.1693, allocations: 49.08 kB / 300.4 MB, free: 20.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.1709, allocations: 0.9603 MB / 301.3 MB, free: 19.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.1712, allocations: 259.6 kB / 301.6 MB, free: 19.83 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001645/0.1713, allocations: 42.98 kB / 301.6 MB, free: 19.83 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.174e-05/0.1714, allocations: 31.33 kB / 301.7 MB, free: 19.82 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1714, allocations: 4 kB / 301.7 MB, free: 19.82 MB / 266.7 MB Notification: Performance of Templates: time 0.01044/0.1819, allocations: 5.18 MB / 306.9 MB, free: 18.3 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.601784386090003]