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.001344/0.001344, allocations: 79.91 kB / 21.18 MB, free: 3.387 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.001463/0.001463, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 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.924/0.924, allocations: 173.4 MB / 201.1 MB, free: 9.34 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.293e-06/1.293e-06, allocations: 3.938 kB / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.866e-05, allocations: 8.219 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.00298/0.002998, allocations: 2.845 MB / 270.8 MB, free: 3.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.004097, allocations: 0.7321 MB / 271.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.004233, allocations: 8 kB / 271.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.004421, allocations: 71.3 kB / 271.7 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.004658, allocations: 107.1 kB / 271.8 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.004879, allocations: 99.86 kB / 271.9 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.005208, allocations: 418.2 kB / 272.3 MB, free: 2.141 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.005365, allocations: 91.28 kB / 272.4 MB, free: 2.051 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.005648, allocations: 235.5 kB / 272.6 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.005781, allocations: 131.6 kB / 272.7 MB, free: 1.691 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.214e-05/0.005823, allocations: 32 kB / 272.7 MB, free: 1.66 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.398e-05/0.005857, allocations: 36 kB / 272.8 MB, free: 1.625 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.005903, allocations: 79.72 kB / 272.9 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.862e-05/0.005992, allocations: 127.7 kB / 273 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.006246, allocations: 258.9 kB / 273.2 MB, free: 1.168 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.006249, allocations: 3.984 kB / 273.2 MB, free: 1.164 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.006251, allocations: 4 kB / 273.2 MB, free: 1.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.006256, allocations: 0 / 273.2 MB, free: 1.16 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.0007558/0.007012, allocations: 0.6635 MB / 273.9 MB, free: 472 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.007051, allocations: 12.92 kB / 273.9 MB, free: 460 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.351e-05/0.007135, allocations: 64.7 kB / 274 MB, free: 396 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.007379, allocations: 224.9 kB / 274.2 MB, free: 140 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.007409, allocations: 25.03 kB / 274.2 MB, free: 112 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.007447, allocations: 28.38 kB / 274.3 MB, free: 84 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.007783, allocations: 231.3 kB / 274.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.007794, allocations: 4.188 kB / 274.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.007816, allocations: 12.38 kB / 274.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.007831, allocations: 15.92 kB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.008025, allocations: 131.8 kB / 274.6 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009902/0.009016, allocations: 0.9057 MB / 275.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.00919, allocations: 103.1 kB / 275.6 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.3e-05/0.009243, allocations: 39.67 kB / 275.7 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.009262, allocations: 0 / 275.7 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.009283, allocations: 37.39 kB / 275.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.009284, allocations: 3.938 kB / 275.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008016/0.01009, allocations: 429.2 kB / 276.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.01011, allocations: 55.39 kB / 276.2 MB, free: 14.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.0103, allocations: 324.1 kB / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.01032, allocations: 29.7 kB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003584/0.01068, allocations: 282.8 kB / 276.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.01072, allocations: 71.38 kB / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.658e-05/0.01079, allocations: 71.31 kB / 277 MB, free: 13.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.0109, allocations: 0.5156 MB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.96e-05/0.01097, allocations: 43.77 kB / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.0111, allocations: 183.6 kB / 277.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.01129, allocations: 228.8 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.0113, allocations: 4 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003333/0.01163, allocations: 311.1 kB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.01164, allocations: 8 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.01165, allocations: 4 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003012/0.01195, allocations: 83.3 kB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.01211, allocations: 63.91 kB / 278.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.01352, allocations: 3.535 MB / 281.9 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.01364, allocations: 20.05 kB / 281.9 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.01365, allocations: 16 kB / 282 MB, free: 7.812 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 9.376e-05/0.01374, allocations: 176.5 kB / 282.1 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.01378, allocations: 31.86 kB / 282.2 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.01381, allocations: 34.2 kB / 282.2 MB, free: 7.566 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01381, allocations: 4 kB / 282.2 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.01382, allocations: 0 / 282.2 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01382, allocations: 0 / 282.2 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.01401, allocations: 232.5 kB / 282.4 MB, free: 7.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01401, allocations: 4 kB / 282.4 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.801e-05/0.01409, allocations: 31.97 kB / 282.5 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002178/0.0143, allocations: 83.25 kB / 282.5 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.01432, allocations: 7.938 kB / 282.5 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/0.01578, allocations: 3.527 MB / 286.1 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.01578, allocations: 7.938 kB / 286.1 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.01604, allocations: 346.9 kB / 286.4 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.01606, allocations: 19.86 kB / 286.4 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.01608, allocations: 4 kB / 286.4 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/0.01616, allocations: 11.98 kB / 286.5 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.01622, allocations: 15.97 kB / 286.5 MB, free: 2.965 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.01622, allocations: 8 kB / 286.5 MB, free: 2.957 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000115/0.01634, allocations: 213.1 kB / 286.7 MB, free: 2.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01634, allocations: 0 / 286.7 MB, free: 2.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002527/0.01659, allocations: 76 kB / 286.8 MB, free: 2.676 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.765e-05/0.01667, allocations: 115.1 kB / 286.9 MB, free: 2.555 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004076/0.01708, allocations: 499 kB / 287.4 MB, free: 2.027 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01708, allocations: 0.8125 kB / 287.4 MB, free: 2.027 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.01728, allocations: 418.5 kB / 287.8 MB, free: 1.582 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.0175, allocations: 32.58 kB / 287.8 MB, free: 1.551 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008083/0.01831, allocations: 0.5256 MB / 288.3 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.001e-05/0.01837, allocations: 92.3 kB / 288.4 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.448e-05/0.01844, allocations: 26.28 kB / 288.4 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.098e-05/0.01849, allocations: 20.5 kB / 288.5 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01849, allocations: 8 kB / 288.5 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of Templates: time 0.005188/0.02368, allocations: 2.998 MB / 291.5 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.759299411904067]