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.001286/0.001286, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001356/0.001356, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 8.039 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.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 0.002276/0.002276, allocations: 51.92 kB / 378.3 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3446, allocations: 53.36 MB / 431.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004633/0.3493, allocations: 2.877 MB / 434.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.3508, allocations: 0.81 MB / 435.3 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.3509, allocations: 4 kB / 435.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.3512, allocations: 71.36 kB / 435.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.3515, allocations: 99.17 kB / 435.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.3517, allocations: 111.9 kB / 435.6 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004495/0.3522, allocations: 398.5 kB / 436 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.3524, allocations: 103.3 kB / 436.1 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003299/0.3527, allocations: 163.4 kB / 436.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.353, allocations: 171.2 kB / 436.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.567e-05/0.353, allocations: 36 kB / 436.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.596e-05/0.3531, allocations: 32 kB / 436.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.593e-05/0.3532, allocations: 83.67 kB / 436.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.3534, allocations: 179.1 kB / 436.7 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004561/0.3538, allocations: 415.4 kB / 437.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3538, allocations: 0 / 437.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3538, allocations: 0 / 437.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3538, allocations: 0 / 437.1 MB, free: 1.402 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.001203/0.355, allocations: 0.5831 MB / 437.7 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.3551, allocations: 16.02 kB / 437.7 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.972e-05/0.3551, allocations: 36.7 kB / 437.8 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.3556, allocations: 225.6 kB / 438 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.3556, allocations: 25.03 kB / 438 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.833e-05/0.3557, allocations: 32.38 kB / 438.1 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005887/0.3562, allocations: 290.4 kB / 438.3 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.3563, allocations: 4 kB / 438.3 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.3563, allocations: 8 kB / 438.4 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.3563, allocations: 8 kB / 438.4 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006507/0.3569, allocations: 258.4 kB / 438.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.3587, allocations: 1.045 MB / 439.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003888/0.3591, allocations: 146.2 kB / 439.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.3593, allocations: 76.7 kB / 439.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.3593, allocations: 4 kB / 439.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.3594, allocations: 30.56 kB / 439.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.3594, allocations: 0 / 439.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002057/0.3614, allocations: 0.5965 MB / 440.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.3615, allocations: 55.41 kB / 440.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.3618, allocations: 288.1 kB / 440.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.3618, allocations: 29.7 kB / 440.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.362, allocations: 232.1 kB / 441.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.607e-05/0.362, allocations: 79.36 kB / 441.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.898e-05/0.3621, allocations: 69.59 kB / 441.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3623, allocations: 342.7 kB / 441.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.3626, allocations: 91.94 kB / 441.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.3629, allocations: 200 kB / 441.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006288/0.3636, allocations: 301.1 kB / 442.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3636, allocations: 0 / 442.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009005/0.3645, allocations: 397 kB / 442.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.3645, allocations: 8.406 kB / 442.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3645, allocations: 4 kB / 442.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002668/0.3648, allocations: 65.61 kB / 442.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.3651, allocations: 71.89 kB / 442.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.3674, allocations: 2.634 MB / 445.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.3677, allocations: 28.03 kB / 445.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.3677, allocations: 16 kB / 445.4 MB, free: 8.617 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.0001756/0.3679, allocations: 157.7 kB / 445.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.226e-05/0.368, allocations: 31.75 kB / 445.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.467e-05/0.368, allocations: 30.3 kB / 445.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3681, allocations: 4 kB / 445.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3681, allocations: 0 / 445.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3681, allocations: 4 kB / 445.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/0.3685, allocations: 312.5 kB / 445.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3685, allocations: 0 / 445.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.3687, allocations: 39.91 kB / 445.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001625/0.3688, allocations: 57.67 kB / 446 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.3689, allocations: 4 kB / 446 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/0.371, allocations: 2.634 MB / 448.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.371, allocations: 0 / 448.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007343/0.3717, allocations: 368.9 kB / 449 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.3718, allocations: 35.73 kB / 449 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.3718, allocations: 4 kB / 449 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.372, allocations: 11.98 kB / 449 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.3721, allocations: 23.95 kB / 449.1 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.3721, allocations: 8 kB / 449.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002133/0.3723, allocations: 199.1 kB / 449.3 MB, free: 4.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3723, allocations: 0 / 449.3 MB, free: 4.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003949/0.3727, allocations: 76 kB / 449.3 MB, free: 4.336 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.0001351/0.3729, allocations: 112.6 kB / 449.4 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009733/0.3738, allocations: 477.1 kB / 449.9 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3738, allocations: 0 / 449.9 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005138/0.3743, allocations: 334 kB / 450.2 MB, free: 3.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.3747, allocations: 38.53 kB / 450.3 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.3758, allocations: 0.56 MB / 450.8 MB, free: 2.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.3762, allocations: 0.7714 MB / 451.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.3763, allocations: 30.27 kB / 451.6 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.629e-05/0.3764, allocations: 23.44 kB / 451.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3764, allocations: 0 / 451.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of Templates: time 0.007527/0.3839, allocations: 3.025 MB / 454.7 MB, free: 14.91 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.609969169832766]