Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008419/0.0008419, allocations: 140.3 kB / 24.89 MB, free: 9.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9366/0.9366, allocations: 173.3 MB / 201.5 MB, free: 9.176 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 268.5 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.917e-05, allocations: 5.828 kB / 268.5 MB, free: 6.125 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.00513/0.005159, allocations: 2.865 MB / 271.4 MB, free: 3.242 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.007105, allocations: 0.7668 MB / 272.1 MB, free: 2.469 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002166/0.007321, allocations: 8 kB / 272.1 MB, free: 2.461 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.007579, allocations: 63.44 kB / 272.2 MB, free: 2.398 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003854/0.007965, allocations: 103.1 kB / 272.3 MB, free: 2.297 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.008315, allocations: 103.8 kB / 272.4 MB, free: 2.195 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000498/0.008813, allocations: 406.3 kB / 272.8 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002459/0.009059, allocations: 101.9 kB / 272.9 MB, free: 1.695 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005629/0.009622, allocations: 239.4 kB / 273.1 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003367/0.009958, allocations: 135.6 kB / 273.3 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.01006, allocations: 32 kB / 273.3 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.849e-05/0.01013, allocations: 36 kB / 273.3 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.874e-05/0.01021, allocations: 75.67 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.01037, allocations: 123.7 kB / 273.5 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004857/0.01086, allocations: 263 kB / 273.8 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.01086, allocations: 0 / 273.8 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.01086, allocations: 3.938 kB / 273.8 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.01087, allocations: 4 kB / 273.8 MB, free: 0.8008 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.001001/0.01188, allocations: 0.5388 MB / 274.3 MB, free: 244 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.01192, allocations: 12.92 kB / 274.4 MB, free: 232 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.932e-05/0.01202, allocations: 52.89 kB / 274.4 MB, free: 180 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.01235, allocations: 190.1 kB / 274.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.1e-05/0.01239, allocations: 29.03 kB / 274.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.882e-05/0.01244, allocations: 28.38 kB / 274.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.01285, allocations: 215.3 kB / 274.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.01287, allocations: 192 / 274.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.01289, allocations: 8.375 kB / 274.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.0129, allocations: 11.94 kB / 274.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.0131, allocations: 84.53 kB / 275 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.01453, allocations: 0.7523 MB / 275.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.01474, allocations: 78.47 kB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.027e-05/0.0148, allocations: 31.81 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.01482, allocations: 4 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.01485, allocations: 34.56 kB / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 2.174e-06/0.01485, allocations: 0 / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.001217/0.01607, allocations: 401.3 kB / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.0161, allocations: 55.41 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.01633, allocations: 256.8 kB / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.01635, allocations: 37.7 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.01647, allocations: 212.1 kB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.872e-05/0.01653, allocations: 79.31 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.01663, allocations: 65.62 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.01674, allocations: 338.8 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-05/0.01682, allocations: 31.77 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.01695, allocations: 135.9 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.01718, allocations: 189.1 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.01718, allocations: 0 / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004077/0.01759, allocations: 237.2 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.01761, allocations: 8 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.01762, allocations: 4 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004216/0.01804, allocations: 70.06 kB / 277.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.01829, allocations: 71.89 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/0.01999, allocations: 2.369 MB / 280.4 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.02019, allocations: 19.94 kB / 280.4 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.02021, allocations: 8 kB / 280.4 MB, free: 9.727 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 0.00012/0.02033, allocations: 137.7 kB / 280.5 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.028e-05/0.02038, allocations: 23.98 kB / 280.6 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.535e-05/0.02044, allocations: 34.27 kB / 280.6 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.02044, allocations: 0 / 280.6 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.02045, allocations: 4 kB / 280.6 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.02045, allocations: 3.938 kB / 280.6 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.02069, allocations: 157.8 kB / 280.7 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.0207, allocations: 0 / 280.7 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.02085, allocations: 31.97 kB / 280.8 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003452/0.0212, allocations: 77.62 kB / 280.9 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.02121, allocations: 0 / 280.9 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.02277, allocations: 2.376 MB / 283.2 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.02277, allocations: 0 / 283.2 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.02307, allocations: 237 kB / 283.5 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.02311, allocations: 27.81 kB / 283.5 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.02314, allocations: 0 / 283.5 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.02329, allocations: 11.98 kB / 283.5 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.02335, allocations: 27.97 kB / 283.5 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.02336, allocations: 3.938 kB / 283.5 MB, free: 6.359 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.02347, allocations: 94.75 kB / 283.6 MB, free: 6.266 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.02347, allocations: 0 / 283.6 MB, free: 6.266 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003882/0.02386, allocations: 72 kB / 283.7 MB, free: 6.195 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.0001244/0.02399, allocations: 84.41 kB / 283.8 MB, free: 6.102 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005086/0.0245, allocations: 369.8 kB / 284.1 MB, free: 5.711 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/0.02451, allocations: 4 kB / 284.1 MB, free: 5.707 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.02479, allocations: 293 kB / 284.4 MB, free: 5.395 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.02507, allocations: 29.3 kB / 284.5 MB, free: 5.367 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.02621, allocations: 0.5355 MB / 285 MB, free: 4.809 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.02637, allocations: 96.3 kB / 285.1 MB, free: 4.695 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000122/0.02649, allocations: 22.3 kB / 285.1 MB, free: 4.676 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.02662, allocations: 83.36 kB / 285.2 MB, free: 4.594 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02662, allocations: 0 / 285.2 MB, free: 4.594 MB / 266.7 MB Notification: Performance of Templates: time 0.007873/0.0345, allocations: 2.999 MB / 288.2 MB, free: 1.66 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.683308844920248]