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.0007039/0.0007039, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009135/0.001617, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006687/0.0006687, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008574/0.001526, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9389/0.9389, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08131/1.02, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.563e-06/1.563e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.124e-05, allocations: 5.688 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004229/0.00425, allocations: 2.905 MB / 247.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.005422, allocations: 0.8018 MB / 248.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.005552, allocations: 4 kB / 248.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.005712, allocations: 67.36 kB / 248.3 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.005931, allocations: 107.1 kB / 248.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.006157, allocations: 107.8 kB / 248.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000378/0.006535, allocations: 406.3 kB / 248.9 MB, free: 9.906 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003548/0.00689, allocations: 97.94 kB / 249 MB, free: 9.809 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003864/0.007277, allocations: 285.2 kB / 249.3 MB, free: 9.527 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.007454, allocations: 127.6 kB / 249.4 MB, free: 9.402 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.921e-05/0.007503, allocations: 36 kB / 249.4 MB, free: 9.367 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.676e-05/0.00755, allocations: 32 kB / 249.5 MB, free: 9.336 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.007602, allocations: 55.81 kB / 249.5 MB, free: 9.281 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.007713, allocations: 103.8 kB / 249.6 MB, free: 9.18 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.008016, allocations: 243 kB / 249.9 MB, free: 8.941 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.424e-05/0.00803, allocations: 0 / 249.9 MB, free: 8.941 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.008031, allocations: 4 kB / 249.9 MB, free: 8.938 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.008048, allocations: 0 / 249.9 MB, free: 8.938 MB / 250.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.0009341/0.008982, allocations: 0.6204 MB / 250.5 MB, free: 8.293 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.009015, allocations: 8.031 kB / 250.5 MB, free: 8.285 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.708e-05/0.009092, allocations: 52.89 kB / 250.5 MB, free: 8.234 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.009348, allocations: 189 kB / 250.7 MB, free: 8.023 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.009381, allocations: 21.03 kB / 250.8 MB, free: 8.004 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.43e-05/0.009425, allocations: 32.38 kB / 250.8 MB, free: 7.973 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.009763, allocations: 215.3 kB / 251 MB, free: 7.75 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.009775, allocations: 192 / 251 MB, free: 7.75 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.0098, allocations: 16.38 kB / 251 MB, free: 7.734 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.009814, allocations: 11.94 kB / 251 MB, free: 7.723 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.009976, allocations: 84.48 kB / 251.1 MB, free: 7.641 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.01111, allocations: 0.7561 MB / 251.9 MB, free: 6.832 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.01128, allocations: 78.52 kB / 251.9 MB, free: 6.746 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.128e-05/0.01133, allocations: 28.84 kB / 252 MB, free: 6.715 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.01136, allocations: 4 kB / 252 MB, free: 6.711 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.01139, allocations: 38.56 kB / 252 MB, free: 6.664 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.803e-06/0.0114, allocations: 4 kB / 252 MB, free: 6.66 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.001028/0.01242, allocations: 397.3 kB / 252.4 MB, free: 6.262 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.01245, allocations: 55.41 kB / 252.5 MB, free: 6.195 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.01268, allocations: 256.8 kB / 252.7 MB, free: 5.934 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.0127, allocations: 37.64 kB / 252.7 MB, free: 5.891 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.01281, allocations: 220 kB / 253 MB, free: 5.668 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/0.01285, allocations: 71.38 kB / 253 MB, free: 5.598 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.784e-05/0.01294, allocations: 65.62 kB / 253.1 MB, free: 5.527 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.01308, allocations: 338.8 kB / 253.4 MB, free: 5.188 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.075e-05/0.01314, allocations: 23.98 kB / 253.4 MB, free: 5.164 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.01326, allocations: 136 kB / 253.6 MB, free: 4.984 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.01346, allocations: 193.1 kB / 253.8 MB, free: 4.754 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.01346, allocations: 0 / 253.8 MB, free: 4.754 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004085/0.01387, allocations: 233.1 kB / 254 MB, free: 4.516 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.01389, allocations: 4 kB / 254 MB, free: 4.512 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.0139, allocations: 4 kB / 254 MB, free: 4.508 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003544/0.01425, allocations: 82.03 kB / 254.1 MB, free: 4.422 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.01448, allocations: 71.91 kB / 254.1 MB, free: 4.352 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.01599, allocations: 2.373 MB / 256.5 MB, free: 1.805 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.01615, allocations: 19.92 kB / 256.5 MB, free: 1.785 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.01617, allocations: 12 kB / 256.6 MB, free: 1.773 MB / 250.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 0.0001021/0.01627, allocations: 133.7 kB / 256.7 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.01632, allocations: 27.97 kB / 256.7 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.01637, allocations: 34.41 kB / 256.7 MB, free: 1.578 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01637, allocations: 3.984 kB / 256.7 MB, free: 1.574 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.01637, allocations: 0 / 256.7 MB, free: 1.574 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.01638, allocations: 7.938 kB / 256.8 MB, free: 1.566 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.01659, allocations: 165.8 kB / 256.9 MB, free: 1.387 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.0166, allocations: 0 / 256.9 MB, free: 1.387 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.01672, allocations: 35.97 kB / 257 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.108e-05/0.01676, allocations: 19.86 kB / 257 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002841/0.01704, allocations: 73.58 kB / 257 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.01705, allocations: 0 / 257 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/0.01857, allocations: 2.365 MB / 259.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01857, allocations: 0 / 259.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.01881, allocations: 240.9 kB / 259.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.01884, allocations: 8 kB / 259.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.01897, allocations: 11.98 kB / 259.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.01901, allocations: 20.03 kB / 259.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.01902, allocations: 4 kB / 259.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.425e-05/0.01912, allocations: 94.75 kB / 259.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01912, allocations: 0 / 259.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003484/0.01947, allocations: 72 kB / 259.9 MB, free: 14.25 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 9.347e-05/0.01956, allocations: 84.41 kB / 259.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003941/0.01995, allocations: 372.9 kB / 260.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/0.01997, allocations: 4 kB / 260.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.02019, allocations: 300.9 kB / 260.6 MB, free: 13.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.02046, allocations: 49.3 kB / 260.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.02276, allocations: 0.5583 MB / 261.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.137e-05/0.02283, allocations: 96.3 kB / 261.3 MB, free: 12.69 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.02294, allocations: 22.3 kB / 261.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.02306, allocations: 87.36 kB / 261.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of SimCode: time 1.172e-06/0.02306, allocations: 0 / 261.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of Templates: time 0.005106/0.02816, allocations: 3.05 MB / 264.5 MB, free: 9.609 MB / 266.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 -ignoreHideResult -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.512955082580447]