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.0007403/0.0007403, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001047/0.001787, allocations: 445.8 kB / 10.44 MB, free: 256 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.0006732/0.0006732, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009351/0.001608, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.8439/0.8439, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1296/0.9735, allocations: 52.49 MB / 238.5 MB, free: 7.609 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.403e-06/1.403e-06, allocations: 0 / 239.7 MB, free: 6.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091e-05/1.231e-05, allocations: 3.531 kB / 239.8 MB, free: 6.348 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006245/0.006257, allocations: 4.975 MB / 244.7 MB, free: 1.367 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002986/0.009243, allocations: 2.109 MB / 246.8 MB, free: 15.26 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.009454, allocations: 16 kB / 246.9 MB, free: 15.24 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002396/0.01185, allocations: 1.472 MB / 248.3 MB, free: 13.77 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.01291, allocations: 0.5693 MB / 248.9 MB, free: 13.2 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.01458, allocations: 1.015 MB / 249.9 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007556/0.01533, allocations: 0.7748 MB / 250.7 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008065/0.01614, allocations: 0.5701 MB / 251.3 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006072/0.01675, allocations: 0.5123 MB / 251.8 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004484/0.0172, allocations: 344.8 kB / 252.1 MB, free: 9.977 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.0173, allocations: 68 kB / 252.2 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006574/0.01795, allocations: 387.4 kB / 252.5 MB, free: 9.531 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.01807, allocations: 119.6 kB / 252.7 MB, free: 9.414 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002398/0.01831, allocations: 215.6 kB / 252.9 MB, free: 9.203 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.01933, allocations: 0.8096 MB / 253.7 MB, free: 8.391 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.226e-05/0.01934, allocations: 0 / 253.7 MB, free: 8.391 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01935, allocations: 0 / 253.7 MB, free: 8.391 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.01936, allocations: 0 / 253.7 MB, free: 8.391 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.003507/0.02287, allocations: 1.67 MB / 255.4 MB, free: 6.676 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.0229, allocations: 12.03 kB / 255.4 MB, free: 6.664 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/0.02504, allocations: 0.5391 MB / 255.9 MB, free: 6.125 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.02523, allocations: 200.8 kB / 256.1 MB, free: 5.902 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.043e-05/0.02529, allocations: 62.38 kB / 256.2 MB, free: 5.84 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.0254, allocations: 80.38 kB / 256.2 MB, free: 5.762 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007024/0.0261, allocations: 0.6441 MB / 256.9 MB, free: 5.098 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.02613, allocations: 192 / 256.9 MB, free: 5.098 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.571e-05/0.02617, allocations: 43.92 kB / 256.9 MB, free: 5.055 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.02618, allocations: 20 kB / 256.9 MB, free: 5.035 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003406/0.02653, allocations: 293.8 kB / 257.2 MB, free: 4.746 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.02848, allocations: 1.894 MB / 259.1 MB, free: 2.746 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.02884, allocations: 362.8 kB / 259.5 MB, free: 2.387 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.762e-05/0.02894, allocations: 102.3 kB / 259.6 MB, free: 2.285 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.162e-05/0.029, allocations: 24.47 kB / 259.6 MB, free: 2.262 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.02902, allocations: 35.06 kB / 259.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of pre-optimization done (n=58): time 1.754e-06/0.02902, allocations: 0 / 259.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of matching and sorting (n=58): time 0.00137/0.03039, allocations: 0.8252 MB / 260.5 MB, free: 1.379 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.03042, allocations: 59.91 kB / 260.5 MB, free: 1.309 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.03057, allocations: 290.6 kB / 260.8 MB, free: 1.012 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.0306, allocations: 45.64 kB / 260.9 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.03073, allocations: 371.8 kB / 261.2 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.729e-05/0.03083, allocations: 210.2 kB / 261.4 MB, free: 392 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.03095, allocations: 134.5 kB / 261.6 MB, free: 252 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.009e-05/0.03104, allocations: 354.7 kB / 261.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-05/0.03113, allocations: 73.95 kB / 262 MB, free: 15.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.03132, allocations: 341.4 kB / 262.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/0.03165, allocations: 491.3 kB / 262.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.03166, allocations: 0 / 262.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0004176/0.03207, allocations: 467 kB / 263.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.03209, allocations: 8 kB / 263.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.0321, allocations: 12 kB / 263.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002834/0.03238, allocations: 89.62 kB / 263.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.03272, allocations: 187.7 kB / 263.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009593/0.03368, allocations: 2.388 MB / 265.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.03389, allocations: 95.45 kB / 266 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.03392, allocations: 24 kB / 266 MB, free: 11.36 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.0001164/0.03404, allocations: 153.6 kB / 266.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.03409, allocations: 51.89 kB / 266.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/0.03445, allocations: 344.6 kB / 266.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.03445, allocations: 4 kB / 266.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.03446, allocations: 4 kB / 266.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.03446, allocations: 7.922 kB / 266.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006383/0.0351, allocations: 0.6627 MB / 267.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.0351, allocations: 0 / 267.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.03534, allocations: 111.9 kB / 267.4 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.094e-05/0.03543, allocations: 59.55 kB / 267.4 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002295/0.03565, allocations: 85.55 kB / 267.5 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.03567, allocations: 12 kB / 267.5 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008693/0.03654, allocations: 2.381 MB / 269.9 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.03654, allocations: 0 / 269.9 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/0.03695, allocations: 476.3 kB / 270.4 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.03699, allocations: 12 kB / 270.4 MB, free: 6.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.03712, allocations: 20 kB / 270.4 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.03718, allocations: 40.41 kB / 270.4 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.0372, allocations: 12.06 kB / 270.4 MB, free: 6.699 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.884e-05/0.03727, allocations: 108.5 kB / 270.5 MB, free: 6.594 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03727, allocations: 4 kB / 270.6 MB, free: 6.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003466/0.03762, allocations: 215.5 kB / 270.8 MB, free: 6.379 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.0001618/0.03778, allocations: 140.3 kB / 270.9 MB, free: 6.234 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004464/0.03822, allocations: 0.5711 MB / 271.5 MB, free: 5.637 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.396e-05/0.03824, allocations: 8.5 kB / 271.5 MB, free: 5.629 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002785/0.03852, allocations: 426.7 kB / 271.9 MB, free: 5.184 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.03882, allocations: 316.4 kB / 272.2 MB, free: 4.832 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00521/0.04403, allocations: 1.187 MB / 273.4 MB, free: 3.609 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.826e-05/0.04411, allocations: 140.1 kB / 273.5 MB, free: 3.445 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002057/0.04432, allocations: 80.41 kB / 273.6 MB, free: 3.363 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.0445, allocations: 131.3 kB / 273.7 MB, free: 3.234 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.0445, allocations: 0 / 273.7 MB, free: 3.234 MB / 266.7 MB Notification: Performance of Templates: time 0.009425/0.05392, allocations: 6.492 MB / 280.2 MB, free: 12.84 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.47483881842345]