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.0009539/0.0009539, 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.0008995/0.0008995, allocations: 141.8 kB / 24.89 MB, free: 8.777 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.9196/0.9196, allocations: 173.4 MB / 201.5 MB, free: 8.773 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.854e-06/1.854e-06, allocations: 0 / 268.5 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.594e-05, allocations: 6.109 kB / 268.5 MB, free: 6.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004551/0.004567, allocations: 2.822 MB / 271.3 MB, free: 3.191 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.006117, allocations: 0.7514 MB / 272 MB, free: 2.434 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.006274, allocations: 4 kB / 272.1 MB, free: 2.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002255/0.006499, allocations: 67.31 kB / 272.1 MB, free: 2.363 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.006815, allocations: 103.1 kB / 272.2 MB, free: 2.262 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.007098, allocations: 111.8 kB / 272.3 MB, free: 2.152 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004456/0.007543, allocations: 413.9 kB / 272.7 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.00774, allocations: 97.89 kB / 272.8 MB, free: 1.652 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003648/0.008104, allocations: 243.4 kB / 273.1 MB, free: 1.414 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.008309, allocations: 127.6 kB / 273.2 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.112e-05/0.00837, allocations: 35.94 kB / 273.2 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.092e-05/0.008431, allocations: 40 kB / 273.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.968e-05/0.0085, allocations: 71.73 kB / 273.3 MB, free: 1.145 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.00864, allocations: 127.7 kB / 273.5 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.008982, allocations: 266.9 kB / 273.7 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.008984, allocations: 0 / 273.7 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.008984, allocations: 0 / 273.7 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.008989, allocations: 0 / 273.7 MB, free: 0.7578 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.0009234/0.009912, allocations: 0.5466 MB / 274.3 MB, free: 192 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.009947, allocations: 8.922 kB / 274.3 MB, free: 184 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.326e-05/0.01004, allocations: 52.89 kB / 274.3 MB, free: 132 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.01032, allocations: 186.1 kB / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/0.01036, allocations: 25.03 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.574e-05/0.01042, allocations: 32.38 kB / 274.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/0.01081, allocations: 215.3 kB / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.01082, allocations: 4.188 kB / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.01085, allocations: 12.38 kB / 274.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.01086, allocations: 11.94 kB / 274.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.01105, allocations: 80.48 kB / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.01242, allocations: 0.7445 MB / 275.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.01261, allocations: 82.52 kB / 275.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.548e-05/0.01267, allocations: 28.84 kB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.01269, allocations: 4 kB / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.01271, allocations: 30.56 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.783e-06/0.01272, allocations: 0 / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.001195/0.01391, allocations: 401.3 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.01394, allocations: 55.41 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.01419, allocations: 260.7 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.01421, allocations: 33.7 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.01434, allocations: 212.1 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.075e-05/0.0144, allocations: 79.31 kB / 276.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.01451, allocations: 69.41 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.01463, allocations: 338.8 kB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.263e-05/0.0147, allocations: 31.98 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.01485, allocations: 136 kB / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.0151, allocations: 189.1 kB / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.0151, allocations: 0 / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000399/0.0155, allocations: 237.5 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.01551, allocations: 4 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.01552, allocations: 7.984 kB / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003842/0.01591, allocations: 77.7 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.01615, allocations: 63.91 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.0177, allocations: 2.357 MB / 280.3 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.0179, allocations: 27.98 kB / 280.3 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.01792, allocations: 12 kB / 280.3 MB, free: 9.68 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.0001151/0.01804, allocations: 129.7 kB / 280.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.0181, allocations: 23.97 kB / 280.5 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.036e-05/0.01815, allocations: 34.27 kB / 280.5 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.01815, allocations: 4 kB / 280.5 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.01816, allocations: 0 / 280.5 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.01816, allocations: 3.938 kB / 280.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.01842, allocations: 161.8 kB / 280.7 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.01842, allocations: 4 kB / 280.7 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.01856, allocations: 31.97 kB / 280.7 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003109/0.01887, allocations: 73.59 kB / 280.8 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.01888, allocations: 0 / 280.8 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/0.02034, allocations: 2.373 MB / 283.1 MB, free: 6.645 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.02034, allocations: 4.062 kB / 283.1 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.02063, allocations: 236.9 kB / 283.4 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.02068, allocations: 27.8 kB / 283.4 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.02071, allocations: 4 kB / 283.4 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.02086, allocations: 12 kB / 283.4 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.02092, allocations: 19.95 kB / 283.4 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.02093, allocations: 4 kB / 283.4 MB, free: 6.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001169/0.02105, allocations: 86.77 kB / 283.5 MB, free: 6.234 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02105, allocations: 0 / 283.5 MB, free: 6.234 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004613/0.02151, allocations: 72 kB / 283.6 MB, free: 6.164 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 9.969e-05/0.02161, allocations: 88.42 kB / 283.7 MB, free: 6.066 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004676/0.02208, allocations: 369.4 kB / 284 MB, free: 5.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/0.02209, allocations: 4 kB / 284 MB, free: 5.676 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002669/0.02236, allocations: 298.1 kB / 284.3 MB, free: 5.355 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.02264, allocations: 32.48 kB / 284.4 MB, free: 5.324 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.02375, allocations: 0.528 MB / 284.9 MB, free: 4.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.146e-05/0.02384, allocations: 96.3 kB / 285 MB, free: 4.656 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001317/0.02398, allocations: 26.28 kB / 285 MB, free: 4.633 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.02412, allocations: 87.36 kB / 285.1 MB, free: 4.547 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02412, allocations: 0 / 285.1 MB, free: 4.547 MB / 266.7 MB Notification: Performance of Templates: time 0.007635/0.03175, allocations: 3.002 MB / 288.1 MB, free: 1.609 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 -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.585358838085085]