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.001244/0.001244, allocations: 80.8 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.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.001325/0.001325, allocations: 171 kB / 24.91 MB, free: 9.145 MB / 18.57 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 1.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.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 9.92e-07/9.92e-07, allocations: 0 / 273.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.412e-05, allocations: 2.312 kB / 273.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.002753/0.002767, allocations: 2.881 MB / 276.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.00385, allocations: 0.7941 MB / 277.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.003969, allocations: 8 kB / 277.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.004136, allocations: 75.36 kB / 277.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.004349, allocations: 107.1 kB / 277.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.004539, allocations: 107.7 kB / 277.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.004802, allocations: 410.2 kB / 277.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.004939, allocations: 101.9 kB / 278 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.005218, allocations: 243.4 kB / 278.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.005344, allocations: 127.6 kB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.005378, allocations: 36 kB / 278.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.804e-05/0.005406, allocations: 32 kB / 278.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.074e-05/0.005446, allocations: 83.66 kB / 278.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.018e-05/0.005517, allocations: 115.7 kB / 278.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.005728, allocations: 263 kB / 278.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.005733, allocations: 0 / 278.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005734, allocations: 0 / 278.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.005738, allocations: 0 / 278.8 MB, free: 11.88 MB / 266.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.0005605/0.006299, allocations: 0.5582 MB / 279.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.738e-05/0.006326, allocations: 12.03 kB / 279.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/0.006387, allocations: 52.89 kB / 279.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.006564, allocations: 181 kB / 279.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.006584, allocations: 25.03 kB / 279.7 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.006615, allocations: 36.38 kB / 279.7 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.006842, allocations: 215.2 kB / 279.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.006851, allocations: 192 / 279.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.006866, allocations: 12.38 kB / 279.9 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.006873, allocations: 11.94 kB / 279.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.006973, allocations: 80.55 kB / 280 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007601/0.007733, allocations: 0.7561 MB / 280.8 MB, free: 9.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.007855, allocations: 88.84 kB / 280.8 MB, free: 9.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.00789, allocations: 32.78 kB / 280.9 MB, free: 9.715 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.007906, allocations: 0 / 280.9 MB, free: 9.715 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.007924, allocations: 34.56 kB / 280.9 MB, free: 9.672 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 8.32e-07/0.007925, allocations: 3.938 kB / 280.9 MB, free: 9.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006763/0.008601, allocations: 398.4 kB / 281.3 MB, free: 9.266 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.008624, allocations: 55.41 kB / 281.4 MB, free: 9.199 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.008758, allocations: 256.8 kB / 281.6 MB, free: 8.938 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.00877, allocations: 29.7 kB / 281.6 MB, free: 8.902 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/0.008841, allocations: 220 kB / 281.9 MB, free: 8.684 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.008877, allocations: 83.31 kB / 281.9 MB, free: 8.602 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/0.008938, allocations: 61.67 kB / 282 MB, free: 8.535 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.009018, allocations: 334.8 kB / 282.3 MB, free: 8.199 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.815e-05/0.009056, allocations: 27.98 kB / 282.3 MB, free: 8.172 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.908e-05/0.009135, allocations: 135.5 kB / 282.5 MB, free: 7.996 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.009288, allocations: 189.1 kB / 282.7 MB, free: 7.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.00929, allocations: 4 kB / 282.7 MB, free: 7.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002171/0.009507, allocations: 229.2 kB / 282.9 MB, free: 7.531 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.009521, allocations: 10.81 kB / 282.9 MB, free: 7.523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.009528, allocations: 4 kB / 282.9 MB, free: 7.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000242/0.00977, allocations: 74 kB / 283 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.009919, allocations: 75.89 kB / 283.1 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.011, allocations: 2.384 MB / 285.4 MB, free: 4.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.01111, allocations: 23.92 kB / 285.5 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.01112, allocations: 8 kB / 285.5 MB, free: 4.773 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 7.538e-05/0.01119, allocations: 129.7 kB / 285.6 MB, free: 4.637 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.01122, allocations: 19.98 kB / 285.6 MB, free: 4.617 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.01125, allocations: 34.27 kB / 285.6 MB, free: 4.586 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.01126, allocations: 4.031 kB / 285.7 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.01126, allocations: 4 kB / 285.7 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.01127, allocations: 7.922 kB / 285.7 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.0114, allocations: 153.8 kB / 285.8 MB, free: 4.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01141, allocations: 0 / 285.8 MB, free: 4.402 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.095e-05/0.01148, allocations: 31.92 kB / 285.8 MB, free: 4.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001801/0.01166, allocations: 77.62 kB / 285.9 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.01166, allocations: 0 / 285.9 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008555/0.01252, allocations: 2.373 MB / 288.3 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01252, allocations: 3.984 kB / 288.3 MB, free: 1.734 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.01269, allocations: 239.9 kB / 288.5 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.01271, allocations: 27.8 kB / 288.6 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.01273, allocations: 4 kB / 288.6 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.022e-05/0.0128, allocations: 8 kB / 288.6 MB, free: 1.441 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.01284, allocations: 24.09 kB / 288.6 MB, free: 1.418 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.01285, allocations: 0 / 288.6 MB, free: 1.418 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.281e-05/0.01291, allocations: 98.78 kB / 288.7 MB, free: 1.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01291, allocations: 0 / 288.7 MB, free: 1.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002077/0.01312, allocations: 72 kB / 288.8 MB, free: 1.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 0.0002052/0.01332, allocations: 92.34 kB / 288.9 MB, free: 1.152 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002938/0.01362, allocations: 365.3 kB / 289.2 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.01362, allocations: 4 kB / 289.2 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.01377, allocations: 297.9 kB / 289.5 MB, free: 456 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.01393, allocations: 28.48 kB / 289.5 MB, free: 428 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007772/0.0147, allocations: 0.5348 MB / 290.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.998e-05/0.01477, allocations: 92.31 kB / 290.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.439e-05/0.01485, allocations: 30.22 kB / 290.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.318e-05/0.01493, allocations: 79.36 kB / 290.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01493, allocations: 4 kB / 290.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of Templates: time 0.004986/0.01992, allocations: 3.006 MB / 293.3 MB, free: 12.7 MB / 282.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 -s gbode -gbm=radauIIA3 -emit_protected -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.6818696269765496]