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.0007408/0.0007408, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001041/0.001782, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007095/0.0007095, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008992/0.001609, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9921/0.9921, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07878/1.071, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.433e-06/1.433e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.28e-05/1.424e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004203/0.004217, allocations: 2.912 MB / 247.6 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.005707, allocations: 0.7979 MB / 248.4 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.005861, allocations: 12 kB / 248.4 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.006046, allocations: 67.42 kB / 248.5 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.006302, allocations: 111 kB / 248.6 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.006568, allocations: 107.7 kB / 248.7 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004165/0.006984, allocations: 406.3 kB / 249.1 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.007179, allocations: 97.94 kB / 249.2 MB, free: 9.707 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004419/0.007621, allocations: 289.2 kB / 249.5 MB, free: 9.422 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.007831, allocations: 131.6 kB / 249.6 MB, free: 9.293 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.272e-05/0.007884, allocations: 32 kB / 249.6 MB, free: 9.262 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.852e-05/0.007942, allocations: 36 kB / 249.7 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/0.008001, allocations: 55.81 kB / 249.7 MB, free: 9.172 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.008111, allocations: 95.81 kB / 249.8 MB, free: 9.078 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.008428, allocations: 235.1 kB / 250 MB, free: 8.848 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.234e-05/0.00844, allocations: 3.984 kB / 250.1 MB, free: 8.844 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.008441, allocations: 0 / 250.1 MB, free: 8.844 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.008453, allocations: 8 kB / 250.1 MB, free: 8.836 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.0009983/0.009451, allocations: 0.6204 MB / 250.7 MB, free: 8.191 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.009484, allocations: 8.031 kB / 250.7 MB, free: 8.184 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.96e-05/0.009574, allocations: 48.91 kB / 250.7 MB, free: 8.137 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.00984, allocations: 189 kB / 250.9 MB, free: 7.926 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.077e-05/0.009881, allocations: 29.03 kB / 250.9 MB, free: 7.898 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.009928, allocations: 32.31 kB / 251 MB, free: 7.867 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/0.01029, allocations: 215.3 kB / 251.2 MB, free: 7.645 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.0103, allocations: 8.172 kB / 251.2 MB, free: 7.637 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.01032, allocations: 8.375 kB / 251.2 MB, free: 7.629 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.01034, allocations: 15.92 kB / 251.2 MB, free: 7.613 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.01051, allocations: 84.55 kB / 251.3 MB, free: 7.535 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.01169, allocations: 0.7561 MB / 252.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.01186, allocations: 78.45 kB / 252.1 MB, free: 6.641 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.837e-05/0.01191, allocations: 24.86 kB / 252.2 MB, free: 6.613 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.01194, allocations: 4 kB / 252.2 MB, free: 6.609 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.01196, allocations: 38.55 kB / 252.2 MB, free: 6.562 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.01197, allocations: 0 / 252.2 MB, free: 6.562 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.00093/0.0129, allocations: 406 kB / 252.6 MB, free: 6.156 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.01292, allocations: 55.41 kB / 252.7 MB, free: 6.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.01307, allocations: 256.8 kB / 252.9 MB, free: 5.828 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.01308, allocations: 33.7 kB / 252.9 MB, free: 5.789 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.864e-05/0.01316, allocations: 220 kB / 253.2 MB, free: 5.566 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.0132, allocations: 75.36 kB / 253.2 MB, free: 5.492 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.01326, allocations: 69.62 kB / 253.3 MB, free: 5.418 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.722e-05/0.01334, allocations: 334.8 kB / 253.6 MB, free: 5.082 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.934e-05/0.01337, allocations: 27.98 kB / 253.6 MB, free: 5.055 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.464e-05/0.01346, allocations: 127.9 kB / 253.8 MB, free: 4.883 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.01361, allocations: 205.8 kB / 254 MB, free: 4.641 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01362, allocations: 4 kB / 254 MB, free: 4.637 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002206/0.01384, allocations: 224.6 kB / 254.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.01385, allocations: 11.98 kB / 254.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01386, allocations: 4 kB / 254.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002508/0.01411, allocations: 77.92 kB / 254.3 MB, free: 4.309 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.01426, allocations: 79.89 kB / 254.4 MB, free: 4.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.01526, allocations: 2.373 MB / 256.7 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.953e-05/0.01536, allocations: 16 kB / 256.8 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.01538, allocations: 19.98 kB / 256.8 MB, free: 1.645 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 7.641e-05/0.01545, allocations: 129.7 kB / 256.9 MB, free: 1.508 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.01548, allocations: 19.98 kB / 256.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.01551, allocations: 38.33 kB / 257 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01552, allocations: 4 kB / 257 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.01552, allocations: 0 / 257 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01552, allocations: 0 / 257 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.01566, allocations: 157.7 kB / 257.1 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01566, allocations: 3.938 kB / 257.1 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.95e-05/0.01574, allocations: 39.92 kB / 257.2 MB, free: 1.238 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.01576, allocations: 19.86 kB / 257.2 MB, free: 1.219 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001832/0.01595, allocations: 73.62 kB / 257.2 MB, free: 1.141 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.01596, allocations: 4 kB / 257.3 MB, free: 1.137 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008897/0.01685, allocations: 2.385 MB / 259.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01685, allocations: 0 / 259.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.01702, allocations: 240 kB / 259.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.01704, allocations: 8 kB / 259.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.457e-05/0.01711, allocations: 4 kB / 259.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.01715, allocations: 23.95 kB / 259.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.01716, allocations: 12.06 kB / 259.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.387e-05/0.01722, allocations: 90.75 kB / 260 MB, free: 14.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01722, allocations: 0 / 260 MB, free: 14.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001983/0.01742, allocations: 72 kB / 260.1 MB, free: 14.11 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 7.556e-05/0.0175, allocations: 88.36 kB / 260.2 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000326/0.01782, allocations: 369.1 kB / 260.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.01783, allocations: 4 kB / 260.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.018, allocations: 309.9 kB / 260.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.01825, allocations: 246.3 kB / 261.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.01972, allocations: 0.5428 MB / 261.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.809e-05/0.01978, allocations: 92.61 kB / 261.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.76e-05/0.01986, allocations: 30.95 kB / 261.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.01996, allocations: 91.36 kB / 261.8 MB, free: 12.22 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01996, allocations: 0 / 261.8 MB, free: 12.22 MB / 266.7 MB Notification: Performance of Templates: time 0.00506/0.02502, allocations: 3.331 MB / 265.2 MB, free: 8.965 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.555091315880418]