Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.0008022/0.0008022, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009899/0.001792, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0008677/0.0008677, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008527/0.00172, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9073/0.9073, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08335/0.9907, allocations: 52.5 MB / 238.3 MB, free: 4.426 MB / 234.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.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 239.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.15e-05/1.273e-05, allocations: 6.312 kB / 239.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003939/0.003951, allocations: 4.964 MB / 244.5 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.006519, allocations: 2.113 MB / 246.6 MB, free: 12.06 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.006693, allocations: 16 kB / 246.7 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.008033, allocations: 1.473 MB / 248.1 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006706/0.008704, allocations: 0.5744 MB / 248.7 MB, free: 9.984 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009475/0.009651, allocations: 1.012 MB / 249.7 MB, free: 8.969 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004971/0.01015, allocations: 0.7814 MB / 250.5 MB, free: 8.188 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005357/0.01068, allocations: 0.5735 MB / 251.1 MB, free: 7.602 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000385/0.01107, allocations: 0.4921 MB / 251.6 MB, free: 7.105 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.01134, allocations: 339.1 kB / 251.9 MB, free: 6.773 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.125e-05/0.0114, allocations: 68 kB / 252 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004457/0.01185, allocations: 403.3 kB / 252.3 MB, free: 6.312 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.786e-05/0.01192, allocations: 119.6 kB / 252.5 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.01206, allocations: 207.6 kB / 252.7 MB, free: 5.992 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008881/0.01295, allocations: 0.8136 MB / 253.5 MB, free: 5.176 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.406e-05/0.01297, allocations: 0 / 253.5 MB, free: 5.176 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.01297, allocations: 0 / 253.5 MB, free: 5.176 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.714e-05/0.01298, allocations: 7.938 kB / 253.5 MB, free: 5.168 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002215/0.0152, allocations: 1.667 MB / 255.2 MB, free: 3.457 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.01523, allocations: 8.031 kB / 255.2 MB, free: 3.449 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.01652, allocations: 0.543 MB / 255.7 MB, free: 2.906 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.01667, allocations: 196.8 kB / 255.9 MB, free: 2.688 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.213e-05/0.01671, allocations: 66.38 kB / 256 MB, free: 2.621 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.84e-05/0.01679, allocations: 84.38 kB / 256 MB, free: 2.539 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006025/0.01739, allocations: 0.6402 MB / 256.7 MB, free: 1.879 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.01741, allocations: 4.188 kB / 256.7 MB, free: 1.875 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/0.01745, allocations: 39.88 kB / 256.7 MB, free: 1.836 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.01746, allocations: 20 kB / 256.7 MB, free: 1.816 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.01781, allocations: 297.8 kB / 257 MB, free: 1.523 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.01977, allocations: 1.898 MB / 258.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.02013, allocations: 342.5 kB / 259.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.89e-05/0.02023, allocations: 106.2 kB / 259.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.469e-05/0.02029, allocations: 24.48 kB / 259.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.02031, allocations: 39.06 kB / 259.4 MB, free: 15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 1.813e-06/0.02031, allocations: 0 / 259.4 MB, free: 15 MB / 266.7 MB Notification: Performance of matching and sorting (n=58): time 0.0008688/0.02118, allocations: 0.5522 MB / 260 MB, free: 14.44 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.02121, allocations: 59.91 kB / 260 MB, free: 14.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003742/0.02158, allocations: 302.6 kB / 260.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.02161, allocations: 37.7 kB / 260.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.02173, allocations: 359.8 kB / 260.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.148e-05/0.02182, allocations: 210.2 kB / 260.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.02193, allocations: 138.5 kB / 261.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.432e-05/0.02202, allocations: 354.7 kB / 261.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.388e-05/0.0221, allocations: 69.97 kB / 261.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.0223, allocations: 349.3 kB / 261.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.02262, allocations: 471.4 kB / 262.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.02263, allocations: 4 kB / 262.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0004221/0.02305, allocations: 459.1 kB / 262.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.02306, allocations: 12.06 kB / 262.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.02307, allocations: 8 kB / 262.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002889/0.02336, allocations: 89.61 kB / 262.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/0.0237, allocations: 191.7 kB / 263 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009533/0.02466, allocations: 2.396 MB / 265.4 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.02487, allocations: 91.45 kB / 265.5 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.02489, allocations: 27.94 kB / 265.5 MB, free: 8.426 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (92): * Single equations (assignments): 90 * 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.0001223/0.02502, allocations: 161.6 kB / 265.7 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.02506, allocations: 47.91 kB / 265.8 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003518/0.02542, allocations: 348.4 kB / 266.1 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.02542, allocations: 4 kB / 266.1 MB, free: 7.855 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.02542, allocations: 4 kB / 266.1 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.02543, allocations: 3.938 kB / 266.1 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006179/0.02604, allocations: 0.6588 MB / 266.8 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.02605, allocations: 0 / 266.8 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.02628, allocations: 111.9 kB / 266.9 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.783e-05/0.02636, allocations: 55.62 kB / 266.9 MB, free: 6.996 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002215/0.02658, allocations: 81.61 kB / 267 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.0266, allocations: 8 kB / 267 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.02768, allocations: 2.388 MB / 269.4 MB, free: 4.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.02768, allocations: 0 / 269.4 MB, free: 4.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/0.02808, allocations: 480.3 kB / 269.9 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.02811, allocations: 8 kB / 269.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.02825, allocations: 23.98 kB / 269.9 MB, free: 3.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.0283, allocations: 36.48 kB / 269.9 MB, free: 3.785 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.02832, allocations: 16 kB / 270 MB, free: 3.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.89e-05/0.02839, allocations: 108.5 kB / 270.1 MB, free: 3.656 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02839, allocations: 0 / 270.1 MB, free: 3.656 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000341/0.02873, allocations: 219.4 kB / 270.3 MB, free: 3.441 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (55): * Single equations (assignments): 53 * 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.0001736/0.0289, allocations: 140.5 kB / 270.4 MB, free: 3.297 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004283/0.02933, allocations: 0.5539 MB / 271 MB, free: 2.719 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/0.02934, allocations: 8.5 kB / 271 MB, free: 2.711 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.02956, allocations: 393.7 kB / 271.4 MB, free: 2.301 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.02977, allocations: 93.31 kB / 271.4 MB, free: 2.211 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005068/0.03484, allocations: 1.187 MB / 272.6 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.87e-05/0.03492, allocations: 144 kB / 272.8 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002038/0.03512, allocations: 80.38 kB / 272.9 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.03528, allocations: 123.3 kB / 273 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.03529, allocations: 0 / 273 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of Templates: time 0.008702/0.04399, allocations: 6.478 MB / 279.5 MB, free: 10.22 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/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.618950802832842]