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.0008041/0.0008041, allocations: 84 kB / 21.43 MB, free: 3.133 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.004023/0.004023, allocations: 146.9 kB / 24.68 MB, free: 9.418 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.8231/0.8231, allocations: 173.4 MB / 201.2 MB, free: 9.426 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.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.583e-06/1.583e-06, allocations: 0 / 319.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.224e-05, allocations: 2.281 kB / 319.7 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003814/0.003836, allocations: 4.558 MB / 324.3 MB, free: 1.238 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00235/0.006186, allocations: 1.965 MB / 326.2 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.006377, allocations: 16 kB / 326.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.007826, allocations: 1.38 MB / 327.6 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000729/0.008555, allocations: 0.5629 MB / 328.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009956/0.009551, allocations: 0.9989 MB / 329.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005483/0.0101, allocations: 0.7819 MB / 330 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000589/0.01069, allocations: 0.5753 MB / 330.6 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003754/0.01106, allocations: 482.9 kB / 331 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.01133, allocations: 331.1 kB / 331.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.161e-05/0.01139, allocations: 68 kB / 331.4 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004496/0.01184, allocations: 379.2 kB / 331.8 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8e-05/0.01192, allocations: 175.3 kB / 332 MB, free: 9.531 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.01207, allocations: 255.3 kB / 332.2 MB, free: 9.281 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008725/0.01294, allocations: 1.242 MB / 333.4 MB, free: 8.035 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.01295, allocations: 4 kB / 333.4 MB, free: 8.031 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01295, allocations: 0 / 333.4 MB, free: 8.031 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.01296, allocations: 0 / 333.4 MB, free: 8.031 MB / 298.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.002316/0.01527, allocations: 1.394 MB / 334.8 MB, free: 6.605 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.01531, allocations: 8.922 kB / 334.9 MB, free: 6.598 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.01655, allocations: 392.1 kB / 335.2 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.01671, allocations: 208.8 kB / 335.4 MB, free: 5.984 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/0.01676, allocations: 62.38 kB / 335.5 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.028e-05/0.01685, allocations: 80.38 kB / 335.6 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.01786, allocations: 0.8975 MB / 336.5 MB, free: 4.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.01788, allocations: 4.188 kB / 336.5 MB, free: 4.926 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.787e-05/0.01794, allocations: 43.92 kB / 336.5 MB, free: 4.883 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.01795, allocations: 20 kB / 336.5 MB, free: 4.863 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.01901, allocations: 0.7925 MB / 337.3 MB, free: 4.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002409/0.02142, allocations: 2.292 MB / 339.6 MB, free: 1.664 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006298/0.02205, allocations: 0.5281 MB / 340.2 MB, free: 1.125 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.02234, allocations: 218.2 kB / 340.4 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.056e-05/0.02239, allocations: 16.5 kB / 340.4 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.02241, allocations: 39.06 kB / 340.4 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 2.485e-06/0.02242, allocations: 4 kB / 340.4 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.004077/0.02649, allocations: 2.191 MB / 342.6 MB, free: 14.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.02654, allocations: 85.61 kB / 342.7 MB, free: 14.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.02676, allocations: 327.8 kB / 343 MB, free: 14.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.02679, allocations: 33.7 kB / 343.1 MB, free: 14.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.02693, allocations: 379.9 kB / 343.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.02703, allocations: 214.1 kB / 343.6 MB, free: 13.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.02717, allocations: 158.5 kB / 343.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.519e-05/0.02726, allocations: 346.8 kB / 344.1 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/0.02769, allocations: 273.8 kB / 344.4 MB, free: 12.78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005366/0.02823, allocations: 0.5333 MB / 344.9 MB, free: 12.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009678/0.02919, allocations: 0.8088 MB / 345.7 MB, free: 11.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.0292, allocations: 7.938 kB / 345.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00118/0.03038, allocations: 0.9083 MB / 346.7 MB, free: 10.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.03039, allocations: 8 kB / 346.7 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.0304, allocations: 8.625 kB / 346.7 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001599/0.03056, allocations: 73.61 kB / 346.7 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000427/0.03099, allocations: 203.7 kB / 346.9 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.03226, allocations: 2.604 MB / 349.5 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.03256, allocations: 68.03 kB / 349.6 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.0326, allocations: 43.92 kB / 349.7 MB, free: 7.074 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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.0001819/0.03278, allocations: 213.6 kB / 349.9 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.03283, allocations: 43.75 kB / 349.9 MB, free: 6.812 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.0339, allocations: 0.7414 MB / 350.6 MB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.0339, allocations: 4 kB / 350.6 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.03391, allocations: 4 kB / 350.7 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.03391, allocations: 3.984 kB / 350.7 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.03538, allocations: 1.224 MB / 351.9 MB, free: 4.781 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.03538, allocations: 4 kB / 351.9 MB, free: 4.777 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004586/0.03584, allocations: 131.8 kB / 352 MB, free: 4.648 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001091/0.03595, allocations: 65.61 kB / 352.1 MB, free: 4.578 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.03598, allocations: 15.98 kB / 352.1 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.03703, allocations: 2.596 MB / 354.7 MB, free: 1.762 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.03703, allocations: 0 / 354.7 MB, free: 1.762 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.03846, allocations: 1.089 MB / 355.8 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.03858, allocations: 83.91 kB / 355.9 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.03861, allocations: 12 kB / 355.9 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.03885, allocations: 48.02 kB / 355.9 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/0.03892, allocations: 52.39 kB / 356 MB, free: 472 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.03895, allocations: 23.92 kB / 356 MB, free: 448 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001334/0.03908, allocations: 215.1 kB / 356.2 MB, free: 232 kB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03908, allocations: 0 / 356.2 MB, free: 232 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004058/0.03949, allocations: 172 kB / 356.4 MB, free: 60 kB / 314.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 (58): * Single equations (assignments): 56 * 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.0002133/0.0397, allocations: 159.1 kB / 356.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.04083, allocations: 0.8924 MB / 357.4 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.04083, allocations: 0 / 357.4 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000522/0.04135, allocations: 0.5235 MB / 357.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.0416, allocations: 48.38 kB / 358 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.04313, allocations: 1.232 MB / 359.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.0433, allocations: 286.8 kB / 359.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.04346, allocations: 64.56 kB / 359.6 MB, free: 12.74 MB / 330.7 MB Notification: Performance of SimCode: time 4.01e-07/0.04346, allocations: 0 / 359.6 MB, free: 12.74 MB / 330.7 MB Notification: Performance of Templates: time 0.009533/0.05299, allocations: 13.6 MB / 373.2 MB, free: 15.16 MB / 346.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.457207633182406]