Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.00115/0.00115, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.0009613/0.0009613, allocations: 145 kB / 25.59 MB, free: 8.941 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.8906/0.8906, allocations: 173.4 MB / 202.2 MB, free: 8.305 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.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 269.2 MB, free: 9.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.448e-05, allocations: 2.312 kB / 269.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003613/0.003628, allocations: 4.202 MB / 273.4 MB, free: 5.551 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.005424, allocations: 1.591 MB / 275 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.005591, allocations: 12 kB / 275 MB, free: 3.949 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.006792, allocations: 1.046 MB / 276.1 MB, free: 2.898 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003482/0.00714, allocations: 265.9 kB / 276.3 MB, free: 2.637 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008628/0.008003, allocations: 0.7393 MB / 277.1 MB, free: 1.895 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004115/0.008414, allocations: 0.6685 MB / 277.7 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000515/0.008929, allocations: 465.3 kB / 278.2 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003374/0.009267, allocations: 415 kB / 278.6 MB, free: 364 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003967/0.009663, allocations: 275.2 kB / 278.9 MB, free: 88 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.511e-05/0.009719, allocations: 56 kB / 278.9 MB, free: 32 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003274/0.01005, allocations: 255.6 kB / 279.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.318e-05/0.01012, allocations: 147.4 kB / 279.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.01025, allocations: 223.4 kB / 279.5 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005627/0.01082, allocations: 0.6967 MB / 280.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.01082, allocations: 0 / 280.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.01082, allocations: 0 / 280.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.01083, allocations: 0 / 280.2 MB, free: 14.72 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00189/0.01272, allocations: 1.303 MB / 281.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.725e-05/0.01274, allocations: 8.031 kB / 281.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008068/0.01355, allocations: 355.9 kB / 281.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.01367, allocations: 191.7 kB / 282.1 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/0.01371, allocations: 58.38 kB / 282.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.01e-05/0.01379, allocations: 76.33 kB / 282.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008182/0.0146, allocations: 0.5857 MB / 282.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.01463, allocations: 4.188 kB / 282.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.24e-05/0.01467, allocations: 28.38 kB / 282.8 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.01468, allocations: 23.94 kB / 282.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.01501, allocations: 278.7 kB / 283.1 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/0.01708, allocations: 2.214 MB / 285.3 MB, free: 9.418 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007869/0.01786, allocations: 0.6848 MB / 286 MB, free: 8.723 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.01805, allocations: 169.4 kB / 286.2 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.199e-05/0.0181, allocations: 28.64 kB / 286.2 MB, free: 8.523 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.01813, allocations: 50.27 kB / 286.2 MB, free: 8.465 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.074e-06/0.01813, allocations: 0 / 286.2 MB, free: 8.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.000949/0.01908, allocations: 0.6568 MB / 286.9 MB, free: 7.797 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.01912, allocations: 115.4 kB / 287 MB, free: 7.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.01927, allocations: 308 kB / 287.3 MB, free: 7.344 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.0193, allocations: 37.7 kB / 287.4 MB, free: 7.301 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.01942, allocations: 351.1 kB / 287.7 MB, free: 6.949 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.01954, allocations: 269.7 kB / 288 MB, free: 6.684 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.01967, allocations: 152.2 kB / 288.1 MB, free: 6.527 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.01981, allocations: 0.5273 MB / 288.6 MB, free: 5.988 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.01992, allocations: 93.92 kB / 288.7 MB, free: 5.895 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.02013, allocations: 326.9 kB / 289 MB, free: 5.492 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006009/0.02073, allocations: 441 kB / 289.5 MB, free: 4.988 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.02073, allocations: 0 / 289.5 MB, free: 4.988 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005834/0.02131, allocations: 0.5898 MB / 290.1 MB, free: 4.387 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.02133, allocations: 6.031 kB / 290.1 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.02134, allocations: 8.438 kB / 290.1 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003619/0.0217, allocations: 167.2 kB / 290.2 MB, free: 4.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.022, allocations: 151.7 kB / 290.4 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.02384, allocations: 4.363 MB / 294.8 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.02405, allocations: 91.67 kB / 294.8 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.02407, allocations: 27.98 kB / 294.9 MB, free: 15.35 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * Single equations (assignments): 84 * 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,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.02421, allocations: 204.3 kB / 295.1 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.76e-05/0.02429, allocations: 67.7 kB / 295.1 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005295/0.02482, allocations: 0.5009 MB / 295.6 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.02482, allocations: 11.94 kB / 295.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.02482, allocations: 0 / 295.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.02483, allocations: 7.984 kB / 295.7 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.02605, allocations: 1.025 MB / 296.7 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.02605, allocations: 4 kB / 296.7 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.02628, allocations: 103.8 kB / 296.8 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002998/0.02658, allocations: 155.6 kB / 296.9 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.02661, allocations: 12 kB / 297 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/0.02805, allocations: 3.803 MB / 300.8 MB, free: 9.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.02805, allocations: 0 / 300.8 MB, free: 9.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006493/0.0287, allocations: 0.8184 MB / 301.6 MB, free: 8.316 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.02873, allocations: 47.56 kB / 301.6 MB, free: 8.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.726e-05/0.02877, allocations: 20 kB / 301.6 MB, free: 8.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.02893, allocations: 23.98 kB / 301.7 MB, free: 8.227 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.218e-05/0.02901, allocations: 60.48 kB / 301.7 MB, free: 8.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.02903, allocations: 12 kB / 301.7 MB, free: 8.152 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.085e-05/0.02911, allocations: 201.1 kB / 301.9 MB, free: 7.953 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02911, allocations: 0 / 301.9 MB, free: 7.953 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004393/0.02955, allocations: 219.6 kB / 302.1 MB, free: 7.738 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_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 (60): * Single equations (assignments): 58 * 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,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001593/0.02971, allocations: 151.1 kB / 302.3 MB, free: 7.582 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005948/0.0303, allocations: 0.7583 MB / 303.1 MB, free: 6.781 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.0303, allocations: 4 kB / 303.1 MB, free: 6.777 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003146/0.03062, allocations: 0.5587 MB / 303.6 MB, free: 6.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005199/0.03114, allocations: 49.31 kB / 303.7 MB, free: 6.133 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.03236, allocations: 1.007 MB / 304.7 MB, free: 5.086 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.7e-05/0.03243, allocations: 136.8 kB / 304.8 MB, free: 4.938 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002026/0.03263, allocations: 80.33 kB / 304.9 MB, free: 4.855 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.0328, allocations: 138.2 kB / 305 MB, free: 4.719 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.0328, allocations: 0 / 305 MB, free: 4.719 MB / 282.7 MB Notification: Performance of Templates: time 0.009091/0.04189, allocations: 6.816 MB / 311.8 MB, free: 13.98 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.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.901017696131021]