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.001357/0.001357, allocations: 79.23 kB / 20.68 MB, free: 1.023 MB / 14.72 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.00135/0.00135, allocations: 145.4 kB / 23.94 MB, free: 4.156 MB / 14.72 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 1.392/1.392, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 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.413e-06/1.413e-06, allocations: 0 / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.464e-05, allocations: 2.984 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004433/0.004457, allocations: 3.918 MB / 322.8 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002606/0.007063, allocations: 1.552 MB / 324.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002651/0.007328, allocations: 11.09 kB / 324.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00246/0.009789, allocations: 1.006 MB / 325.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006806/0.01047, allocations: 260.8 kB / 325.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.01216, allocations: 0.7496 MB / 326.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007622/0.01292, allocations: 0.6607 MB / 327.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000793/0.01372, allocations: 465 kB / 327.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005959/0.01431, allocations: 407.8 kB / 327.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004381/0.01475, allocations: 276 kB / 328.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.988e-05/0.01484, allocations: 55.19 kB / 328.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000697/0.01554, allocations: 252.3 kB / 328.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.01569, allocations: 145.8 kB / 328.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002664/0.01596, allocations: 228.1 kB / 328.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.01729, allocations: 0.9909 MB / 329.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.01729, allocations: 0 / 329.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.01729, allocations: 1.219 kB / 329.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.0173, allocations: 0 / 329.9 MB, free: 13.16 MB / 302.1 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.003851/0.02116, allocations: 1.193 MB / 331.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.02119, allocations: 10.83 kB / 331.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.02266, allocations: 209.6 kB / 331.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.02291, allocations: 189.1 kB / 331.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.793e-05/0.02297, allocations: 56.38 kB / 331.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.02309, allocations: 72.19 kB / 331.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.02456, allocations: 0.8001 MB / 332.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.02459, allocations: 1.312 kB / 332.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-05/0.02467, allocations: 30.94 kB / 332.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.02469, allocations: 21.84 kB / 332.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.0261, allocations: 0.6608 MB / 333.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003877/0.02998, allocations: 2.177 MB / 335.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.03187, allocations: 0.8262 MB / 336.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006636/0.03253, allocations: 289.5 kB / 336.4 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.753e-05/0.03261, allocations: 22.58 kB / 336.4 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.03265, allocations: 39.75 kB / 336.4 MB, free: 9.016 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.265e-06/0.03265, allocations: 3.938 kB / 336.4 MB, free: 9.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002651/0.0353, allocations: 0.9796 MB / 337.4 MB, free: 8.516 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.487e-05/0.03539, allocations: 111.9 kB / 337.5 MB, free: 8.391 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.03575, allocations: 267.4 kB / 337.8 MB, free: 8.199 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.65e-05/0.0358, allocations: 36.61 kB / 337.8 MB, free: 8.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/0.03606, allocations: 297.8 kB / 338.1 MB, free: 7.891 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.03628, allocations: 263 kB / 338.4 MB, free: 7.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.0365, allocations: 134.2 kB / 338.5 MB, free: 7.574 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.03667, allocations: 355.2 kB / 338.9 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005334/0.0372, allocations: 229.3 kB / 339.1 MB, free: 7.121 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007002/0.0379, allocations: 410.8 kB / 339.5 MB, free: 6.805 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.03916, allocations: 0.6339 MB / 340.1 MB, free: 6.121 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.03917, allocations: 0 / 340.1 MB, free: 6.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001792/0.04096, allocations: 0.8267 MB / 340.9 MB, free: 5.285 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.04098, allocations: 8 kB / 341 MB, free: 5.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.04099, allocations: 12.09 kB / 341 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004283/0.04142, allocations: 133.9 kB / 341.1 MB, free: 5.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006806/0.0421, allocations: 163.7 kB / 341.3 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003564/0.04566, allocations: 3.498 MB / 344.8 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005447/0.04621, allocations: 95.5 kB / 344.8 MB, free: 1.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.286e-05/0.04627, allocations: 35.98 kB / 344.9 MB, free: 1.133 MB / 302.1 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.0002815/0.04655, allocations: 193.7 kB / 345.1 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.04666, allocations: 39.77 kB / 345.1 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.04834, allocations: 0.7453 MB / 345.9 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.04835, allocations: 8 kB / 345.9 MB, free: 128 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.04835, allocations: 4 kB / 345.9 MB, free: 124 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.04836, allocations: 3.984 kB / 345.9 MB, free: 120 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/0.05089, allocations: 1.301 MB / 347.2 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.05089, allocations: 3.938 kB / 347.2 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005299/0.05142, allocations: 107.9 kB / 347.3 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003131/0.05174, allocations: 109.6 kB / 347.4 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/0.05178, allocations: 16 kB / 347.4 MB, free: 14.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002858/0.05464, allocations: 3.073 MB / 350.5 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.05464, allocations: 0 / 350.5 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.05675, allocations: 1.117 MB / 351.6 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.629e-05/0.05682, allocations: 43.67 kB / 351.6 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-05/0.05688, allocations: 15.98 kB / 351.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004179/0.0573, allocations: 31.98 kB / 351.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.05744, allocations: 56.48 kB / 351.7 MB, free: 9.969 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.05748, allocations: 23.98 kB / 351.8 MB, free: 9.945 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.05766, allocations: 181.2 kB / 351.9 MB, free: 9.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.05766, allocations: 0 / 351.9 MB, free: 9.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007961/0.05846, allocations: 219.6 kB / 352.2 MB, free: 9.555 MB / 318.1 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.0002837/0.05874, allocations: 159.1 kB / 352.3 MB, free: 9.391 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.06042, allocations: 0.8522 MB / 353.2 MB, free: 8.512 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.06042, allocations: 0 / 353.2 MB, free: 8.512 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000855/0.06128, allocations: 0.5366 MB / 353.7 MB, free: 7.957 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/0.06173, allocations: 48.44 kB / 353.7 MB, free: 7.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.0638, allocations: 1.067 MB / 354.8 MB, free: 6.812 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.06407, allocations: 261.5 kB / 355.1 MB, free: 6.523 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003228/0.06439, allocations: 88.31 kB / 355.2 MB, free: 6.438 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.06454, allocations: 48.42 kB / 355.2 MB, free: 6.391 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.06454, allocations: 0 / 355.2 MB, free: 6.391 MB / 318.1 MB Notification: Performance of Templates: time 0.01313/0.07766, allocations: 5.996 MB / 361.2 MB, free: 476 kB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.454322557896376]