Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.00103/0.00103, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009326/0.0009326, allocations: 165.4 kB / 25.6 MB, free: 8.602 MB / 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 0.9483/0.9483, allocations: 177.1 MB / 206 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] 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.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 274.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.04e-05, allocations: 2.312 kB / 274.2 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003201/0.003221, allocations: 2.824 MB / 277 MB, free: 1.555 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.004284, allocations: 0.776 MB / 277.8 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.004402, allocations: 4 kB / 277.8 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.00458, allocations: 67.92 kB / 277.9 MB, free: 0.707 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.0048, allocations: 112.5 kB / 278 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.004992, allocations: 109.8 kB / 278.1 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.005279, allocations: 402.3 kB / 278.5 MB, free: 100 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.005426, allocations: 88 kB / 278.6 MB, free: 12 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005524/0.005978, allocations: 247.4 kB / 278.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.006116, allocations: 137.9 kB / 278.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.006154, allocations: 32 kB / 279 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.028e-05/0.006184, allocations: 32 kB / 279 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.006229, allocations: 79.67 kB / 279.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.113e-05/0.00631, allocations: 127.7 kB / 279.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.006536, allocations: 263 kB / 279.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.006538, allocations: 0 / 279.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.006539, allocations: 0 / 279.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.006543, allocations: 0 / 279.5 MB, free: 15.11 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006836/0.007226, allocations: 0.6751 MB / 280.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.007256, allocations: 12.03 kB / 280.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.587e-05/0.007322, allocations: 64.66 kB / 280.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.007523, allocations: 216 kB / 280.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.007552, allocations: 29.02 kB / 280.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.007587, allocations: 36.33 kB / 280.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.007823, allocations: 207.3 kB / 280.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.007834, allocations: 4.125 kB / 280.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.007852, allocations: 12.38 kB / 280.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.007861, allocations: 7.938 kB / 280.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.007982, allocations: 112.4 kB / 280.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008641/0.008846, allocations: 0.9134 MB / 281.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.008982, allocations: 87.09 kB / 281.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.034e-05/0.009022, allocations: 35.66 kB / 281.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.009039, allocations: 4 kB / 281.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.009059, allocations: 41.33 kB / 281.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/0.00906, allocations: 0 / 281.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006556/0.009716, allocations: 372 kB / 282.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.009739, allocations: 55.41 kB / 282.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.009903, allocations: 331.9 kB / 282.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.009916, allocations: 29.7 kB / 282.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.01003, allocations: 274.8 kB / 282.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.01006, allocations: 83.31 kB / 283 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.847e-05/0.01013, allocations: 75.28 kB / 283.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.01024, allocations: 0.5117 MB / 283.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-05/0.01029, allocations: 31.97 kB / 283.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.01039, allocations: 175.3 kB / 283.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.01055, allocations: 218.2 kB / 284 MB, free: 10.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01055, allocations: 0 / 284 MB, free: 10.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000278/0.01083, allocations: 286.7 kB / 284.3 MB, free: 9.898 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.01084, allocations: 8 kB / 284.3 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.01085, allocations: 7.984 kB / 284.3 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002616/0.01111, allocations: 79.72 kB / 284.4 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.01126, allocations: 71.83 kB / 284.5 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/0.01278, allocations: 3.494 MB / 288 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.01289, allocations: 16 kB / 288 MB, free: 5.988 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.0129, allocations: 11.94 kB / 288 MB, free: 5.977 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 (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 9.722e-05/0.013, allocations: 180.5 kB / 288.2 MB, free: 5.789 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.01304, allocations: 39.81 kB / 288.2 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.01307, allocations: 26.28 kB / 288.2 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01308, allocations: 7.984 kB / 288.2 MB, free: 5.715 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.01308, allocations: 3.938 kB / 288.2 MB, free: 5.711 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01308, allocations: 0 / 288.2 MB, free: 5.711 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.01323, allocations: 185.1 kB / 288.4 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01323, allocations: 0 / 288.4 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8e-05/0.01331, allocations: 39.91 kB / 288.5 MB, free: 5.465 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002008/0.01352, allocations: 71.3 kB / 288.5 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.01352, allocations: 11.98 kB / 288.5 MB, free: 5.375 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.01469, allocations: 3.478 MB / 292 MB, free: 1.664 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.01469, allocations: 0 / 292 MB, free: 1.664 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.01491, allocations: 332.9 kB / 292.3 MB, free: 1.312 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.01494, allocations: 31.83 kB / 292.4 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.01495, allocations: 0 / 292.4 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.328e-05/0.01504, allocations: 11.94 kB / 292.4 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.01507, allocations: 28.02 kB / 292.4 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.01508, allocations: 4 kB / 292.4 MB, free: 1.238 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.738e-05/0.01517, allocations: 205.1 kB / 292.6 MB, free: 1.039 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01517, allocations: 0 / 292.6 MB, free: 1.039 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002276/0.01539, allocations: 76 kB / 292.7 MB, free: 0.9648 MB / 266.7 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.0003286/0.01572, allocations: 99.19 kB / 292.8 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003364/0.01606, allocations: 490.2 kB / 293.3 MB, free: 352 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01606, allocations: 4 kB / 293.3 MB, free: 348 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.01625, allocations: 414.2 kB / 293.7 MB, free: 15.9 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.01647, allocations: 29.3 kB / 293.7 MB, free: 15.87 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007022/0.01718, allocations: 0.5325 MB / 294.2 MB, free: 15.31 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.523e-05/0.01723, allocations: 92.3 kB / 294.3 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.829e-05/0.01731, allocations: 26.28 kB / 294.3 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.01742, allocations: 102.2 kB / 294.4 MB, free: 15.07 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01742, allocations: 0 / 294.4 MB, free: 15.07 MB / 282.7 MB Notification: Performance of Templates: time 0.005055/0.02247, allocations: 3.162 MB / 297.6 MB, free: 11.99 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.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: 2.813103864900768]