Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001342/0.001342, allocations: 107.6 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001563/0.001563, allocations: 205.1 kB / 24.48 MB, free: 3.973 MB / 14.72 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.438/1.438, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 43.92 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2604, allocations: 53.37 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004163/0.2645, allocations: 2.642 MB / 435 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.2659, allocations: 0.7594 MB / 435.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.266, allocations: 8 kB / 435.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.2662, allocations: 63.42 kB / 435.8 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.2665, allocations: 98.84 kB / 435.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.2667, allocations: 111.8 kB / 436 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004116/0.2671, allocations: 386.6 kB / 436.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.2673, allocations: 95.33 kB / 436.5 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002923/0.2676, allocations: 163.4 kB / 436.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.2679, allocations: 175.2 kB / 436.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.153e-05/0.2679, allocations: 32 kB / 436.8 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.117e-05/0.268, allocations: 36 kB / 436.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.131e-05/0.268, allocations: 75.7 kB / 437 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.2682, allocations: 147.3 kB / 437.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004341/0.2686, allocations: 401.4 kB / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2686, allocations: 3.938 kB / 437.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2686, allocations: 0 / 437.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.2686, allocations: 0 / 437.5 MB, free: 1.551 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.001189/0.2698, allocations: 0.5792 MB / 438.1 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.2699, allocations: 8.031 kB / 438.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.641e-05/0.2699, allocations: 40.7 kB / 438.1 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.2703, allocations: 218.8 kB / 438.3 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.2704, allocations: 25.03 kB / 438.4 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.2704, allocations: 28.38 kB / 438.4 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006155/0.271, allocations: 290.4 kB / 438.7 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.2711, allocations: 0 / 438.7 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.2711, allocations: 20 kB / 438.7 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.2711, allocations: 11.98 kB / 438.7 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005951/0.2717, allocations: 246.5 kB / 438.9 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.2733, allocations: 0.8665 MB / 439.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003874/0.2737, allocations: 146.5 kB / 439.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.2739, allocations: 68.81 kB / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.2739, allocations: 3.938 kB / 440 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.2739, allocations: 34.56 kB / 440.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.2739, allocations: 0 / 440.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.00206/0.276, allocations: 0.5945 MB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.276, allocations: 55.41 kB / 440.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.2763, allocations: 269.7 kB / 441 MB, free: 13.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.2764, allocations: 29.7 kB / 441 MB, free: 13.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.2765, allocations: 232 kB / 441.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.836e-05/0.2766, allocations: 83.33 kB / 441.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.2767, allocations: 69.44 kB / 441.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.2768, allocations: 338.7 kB / 441.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.2771, allocations: 95.94 kB / 441.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.2775, allocations: 200 kB / 442 MB, free: 12.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006166/0.2781, allocations: 301.1 kB / 442.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2781, allocations: 0 / 442.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008585/0.279, allocations: 389.1 kB / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.279, allocations: 8 kB / 442.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.279, allocations: 4 kB / 442.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002495/0.2792, allocations: 62.02 kB / 442.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.2796, allocations: 71.83 kB / 442.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.2817, allocations: 2.584 MB / 445.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.282, allocations: 32.09 kB / 445.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.2821, allocations: 12.19 kB / 445.4 MB, free: 9.09 MB / 350.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.0001904/0.2823, allocations: 153.7 kB / 445.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.924e-05/0.2823, allocations: 35.73 kB / 445.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.592e-05/0.2824, allocations: 26.27 kB / 445.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2824, allocations: 4 kB / 445.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.2824, allocations: 0 / 445.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2824, allocations: 4 kB / 445.7 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003179/0.2827, allocations: 229.2 kB / 445.9 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.2827, allocations: 3.938 kB / 445.9 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.2829, allocations: 39.97 kB / 445.9 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001656/0.2831, allocations: 57.61 kB / 446 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.2831, allocations: 8 kB / 446 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/0.2852, allocations: 2.572 MB / 448.6 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2852, allocations: 0 / 448.6 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007289/0.2859, allocations: 376 kB / 448.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.286, allocations: 23.8 kB / 448.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.286, allocations: 8 kB / 449 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.2862, allocations: 15.98 kB / 449 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.706e-05/0.2863, allocations: 19.91 kB / 449 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.2863, allocations: 11.92 kB / 449 MB, free: 5.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002067/0.2865, allocations: 185.2 kB / 449.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2865, allocations: 4 kB / 449.2 MB, free: 5.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004004/0.2869, allocations: 68 kB / 449.3 MB, free: 4.996 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.0001305/0.287, allocations: 99.25 kB / 449.3 MB, free: 4.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009368/0.288, allocations: 473.2 kB / 449.8 MB, free: 4.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.288, allocations: 7.875 kB / 449.8 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005106/0.2885, allocations: 346 kB / 450.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.2888, allocations: 28.44 kB / 450.2 MB, free: 4.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.2899, allocations: 0.5822 MB / 450.8 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.2901, allocations: 168.8 kB / 450.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.957e-05/0.2902, allocations: 23.44 kB / 451 MB, free: 3.191 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2902, allocations: 0 / 451 MB, free: 3.191 MB / 350.1 MB Notification: Performance of Templates: time 0.008579/0.2988, allocations: 6.098 MB / 457.1 MB, free: 13.09 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.543568197026616]