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.001093/0.001093, allocations: 78.28 kB / 21.42 MB, free: 3.078 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.001246/0.001246, allocations: 150.2 kB / 24.81 MB, free: 9.277 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.9801/0.9801, allocations: 173.3 MB / 201.4 MB, free: 9.188 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.242e-06/1.242e-06, allocations: 0 / 268.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.109e-05, allocations: 6.25 kB / 268.4 MB, free: 6.164 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.002823/0.002844, allocations: 2.806 MB / 271.2 MB, free: 3.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.003907, allocations: 0.7437 MB / 272 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.004032, allocations: 4 kB / 272 MB, free: 2.586 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.004202, allocations: 63.38 kB / 272 MB, free: 2.523 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.00441, allocations: 99.19 kB / 272.1 MB, free: 2.426 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.004611, allocations: 111.8 kB / 272.2 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.004893, allocations: 410.2 kB / 272.6 MB, free: 1.914 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.005045, allocations: 91.27 kB / 272.7 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/0.00532, allocations: 243.4 kB / 273 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003949/0.005715, allocations: 127.6 kB / 273.1 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.469e-05/0.00576, allocations: 39.94 kB / 273.1 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.602e-05/0.005796, allocations: 32 kB / 273.2 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/0.005845, allocations: 75.73 kB / 273.2 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.234e-05/0.005928, allocations: 123.7 kB / 273.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.006152, allocations: 263 kB / 273.6 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.006155, allocations: 0 / 273.6 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.006156, allocations: 0 / 273.6 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.006161, allocations: 0 / 273.6 MB, free: 0.9375 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.0007272/0.006888, allocations: 0.6751 MB / 274.3 MB, free: 232 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.006924, allocations: 12.92 kB / 274.3 MB, free: 220 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.74e-05/0.006991, allocations: 64.7 kB / 274.4 MB, free: 156 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.007217, allocations: 216.9 kB / 274.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.007245, allocations: 25.03 kB / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.593e-05/0.007281, allocations: 32.38 kB / 274.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.007549, allocations: 215.2 kB / 274.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.007558, allocations: 192 / 274.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.007579, allocations: 12.38 kB / 274.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.007587, allocations: 7.938 kB / 274.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.007704, allocations: 104.5 kB / 275 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009188/0.008623, allocations: 0.9133 MB / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.008767, allocations: 98.55 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.734e-05/0.008804, allocations: 31.67 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.008821, allocations: 8 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.008841, allocations: 33.39 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.008842, allocations: 0 / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006684/0.009511, allocations: 377.8 kB / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.00954, allocations: 55.41 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.009718, allocations: 316 kB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.009734, allocations: 29.7 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.009851, allocations: 286.8 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.009888, allocations: 71.38 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-05/0.009958, allocations: 75.27 kB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.01008, allocations: 0.5078 MB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.881e-05/0.01013, allocations: 39.69 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.01023, allocations: 179.6 kB / 277.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.0104, allocations: 224.8 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.0104, allocations: 0 / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00029/0.01069, allocations: 282.7 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.0107, allocations: 8.406 kB / 278.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.01071, allocations: 8 kB / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000266/0.01097, allocations: 87.2 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.01112, allocations: 71.91 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.01281, allocations: 3.474 MB / 282.1 MB, free: 7.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.01293, allocations: 15.95 kB / 282.1 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.01294, allocations: 12 kB / 282.1 MB, free: 7.816 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.0001022/0.01305, allocations: 188.5 kB / 282.3 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.01308, allocations: 27.86 kB / 282.3 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.01311, allocations: 26.28 kB / 282.4 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01312, allocations: 4 kB / 282.4 MB, free: 7.566 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.01312, allocations: 7.922 kB / 282.4 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01313, allocations: 0 / 282.4 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.01329, allocations: 193.1 kB / 282.6 MB, free: 7.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.0133, allocations: 0 / 282.6 MB, free: 7.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.854e-05/0.01337, allocations: 35.92 kB / 282.6 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002137/0.01359, allocations: 75.3 kB / 282.7 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.0136, allocations: 8 kB / 282.7 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/0.01494, allocations: 3.49 MB / 286.2 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.01494, allocations: 0 / 286.2 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.01517, allocations: 326.9 kB / 286.5 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.702e-05/0.0152, allocations: 31.91 kB / 286.5 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.01521, allocations: 4 kB / 286.5 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.867e-05/0.01529, allocations: 11.94 kB / 286.5 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.01534, allocations: 19.95 kB / 286.5 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.01534, allocations: 4 kB / 286.5 MB, free: 3.078 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001001/0.01544, allocations: 209.1 kB / 286.8 MB, free: 2.875 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01544, allocations: 0 / 286.8 MB, free: 2.875 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002547/0.0157, allocations: 72 kB / 286.8 MB, free: 2.805 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 8.974e-05/0.01579, allocations: 107.2 kB / 286.9 MB, free: 2.691 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006119/0.0164, allocations: 494.9 kB / 287.4 MB, free: 2.168 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.0164, allocations: 4 kB / 287.4 MB, free: 2.164 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.01659, allocations: 411.3 kB / 287.8 MB, free: 1.727 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.01681, allocations: 28.5 kB / 287.8 MB, free: 1.699 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007717/0.01758, allocations: 0.5143 MB / 288.4 MB, free: 1.152 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.333e-05/0.01763, allocations: 92.31 kB / 288.4 MB, free: 1.043 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.516e-05/0.01771, allocations: 26.28 kB / 288.5 MB, free: 1.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.191e-05/0.0178, allocations: 102.2 kB / 288.6 MB, free: 0.918 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.0178, allocations: 4 kB / 288.6 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of Templates: time 0.005049/0.02285, allocations: 3.089 MB / 291.7 MB, free: 13.89 MB / 282.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 -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.695569645613432]