Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001668/0.001668, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 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.001673/0.001673, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 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 1.387/1.387, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] 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.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 47.92 kB / 368.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.252, allocations: 52.13 MB / 420.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004247/0.2563, allocations: 2.841 MB / 423.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.2575, allocations: 0.7555 MB / 424.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.2576, allocations: 4 kB / 424.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.2578, allocations: 67.42 kB / 424.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.2581, allocations: 99.19 kB / 424.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.2584, allocations: 99.88 kB / 424.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004212/0.2588, allocations: 390.4 kB / 425.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.259, allocations: 98.88 kB / 425.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.2592, allocations: 151.5 kB / 425.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.2594, allocations: 175.2 kB / 425.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.096e-05/0.2595, allocations: 32 kB / 425.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.674e-05/0.2595, allocations: 36 kB / 425.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.118e-05/0.2596, allocations: 67.77 kB / 425.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.2598, allocations: 183 kB / 425.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004787/0.2603, allocations: 387.6 kB / 426.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.2603, allocations: 4 kB / 426.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2603, allocations: 0 / 426.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.2603, allocations: 0 / 426.2 MB, free: 9.754 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00138/0.2617, allocations: 0.6467 MB / 426.9 MB, free: 9.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.2617, allocations: 15.88 kB / 426.9 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.768e-05/0.2618, allocations: 40.7 kB / 426.9 MB, free: 9.004 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005177/0.2623, allocations: 273 kB / 427.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.2624, allocations: 21.03 kB / 427.2 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.345e-05/0.2624, allocations: 32.38 kB / 427.2 MB, free: 8.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000656/0.2631, allocations: 290.4 kB / 427.5 MB, free: 8.355 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.2631, allocations: 0 / 427.5 MB, free: 8.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.73e-05/0.2631, allocations: 16 kB / 427.5 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.2632, allocations: 8 kB / 427.5 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006194/0.2638, allocations: 258.4 kB / 427.8 MB, free: 8.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.2657, allocations: 1.12 MB / 428.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.2661, allocations: 142.5 kB / 429 MB, free: 6.711 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.2663, allocations: 64.81 kB / 429.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.2664, allocations: 7.906 kB / 429.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.2664, allocations: 34.56 kB / 429.2 MB, free: 6.594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.753e-06/0.2664, allocations: 0 / 429.2 MB, free: 6.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.002079/0.2685, allocations: 0.5942 MB / 429.7 MB, free: 5.992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.2685, allocations: 51.41 kB / 429.8 MB, free: 5.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.2688, allocations: 266.5 kB / 430.1 MB, free: 5.668 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.2688, allocations: 33.7 kB / 430.1 MB, free: 5.629 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.269, allocations: 232.1 kB / 430.3 MB, free: 5.398 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.669e-05/0.2691, allocations: 79.28 kB / 430.4 MB, free: 5.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.2692, allocations: 69.64 kB / 430.5 MB, free: 5.246 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.2694, allocations: 330.8 kB / 430.8 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/0.2697, allocations: 103.9 kB / 430.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.27, allocations: 192.2 kB / 431.1 MB, free: 4.578 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006149/0.2706, allocations: 302.5 kB / 431.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2706, allocations: 0 / 431.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008196/0.2714, allocations: 393 kB / 431.8 MB, free: 3.848 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.2715, allocations: 8 kB / 431.8 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.2715, allocations: 0 / 431.8 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002614/0.2717, allocations: 69.98 kB / 431.8 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.272, allocations: 71.89 kB / 431.9 MB, free: 3.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.2743, allocations: 2.833 MB / 434.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.2745, allocations: 27.97 kB / 434.8 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.2746, allocations: 12 kB / 434.8 MB, free: 0.5391 MB / 334.1 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 (37): * Single equations (assignments): 35 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.2747, allocations: 157.7 kB / 434.9 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/0.2748, allocations: 27.81 kB / 435 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.603e-05/0.2749, allocations: 34.11 kB / 435 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.2749, allocations: 4 kB / 435 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2749, allocations: 0 / 435 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2749, allocations: 0 / 435 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.2753, allocations: 337.4 kB / 435.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2753, allocations: 0 / 435.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.2755, allocations: 43.91 kB / 435.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001519/0.2756, allocations: 57.8 kB / 435.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.2757, allocations: 4 kB / 435.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.2778, allocations: 2.837 MB / 438.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2778, allocations: 0 / 438.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007143/0.2785, allocations: 372.9 kB / 438.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.656e-05/0.2786, allocations: 104.8 kB / 438.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.2786, allocations: 4 kB / 438.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.2788, allocations: 15.98 kB / 438.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.2789, allocations: 23.97 kB / 438.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.2789, allocations: 8 kB / 438.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001933/0.2791, allocations: 182 kB / 439 MB, free: 11.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2791, allocations: 0 / 439 MB, free: 11.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003797/0.2795, allocations: 76 kB / 439 MB, free: 11.9 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 16 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001309/0.2796, allocations: 103.2 kB / 439.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009259/0.2805, allocations: 465.8 kB / 439.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.2805, allocations: 4 kB / 439.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004998/0.281, allocations: 347.3 kB / 439.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.2814, allocations: 24.56 kB / 440 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.2825, allocations: 0.5566 MB / 440.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.2829, allocations: 0.7753 MB / 441.3 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.283, allocations: 26.28 kB / 441.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.303e-05/0.2831, allocations: 27.36 kB / 441.3 MB, free: 9.473 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2831, allocations: 0 / 441.3 MB, free: 9.473 MB / 350.1 MB Notification: Performance of Templates: time 0.007019/0.2901, allocations: 2.877 MB / 444.2 MB, free: 6.605 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.457797582261264]