Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.001339/0.001339, allocations: 77.39 kB / 20.67 MB, free: 1.035 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.001409/0.001409, allocations: 154.6 kB / 23.94 MB, free: 4.176 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.384/1.384, allocations: 173.3 MB / 200.4 MB, free: 12.9 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.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 318.9 MB, free: 3.594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.582e-05, allocations: 3.812 kB / 318.9 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004255/0.004281, allocations: 3.791 MB / 322.7 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.00681, allocations: 1.541 MB / 324.3 MB, free: 16 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002618/0.007072, allocations: 11.34 kB / 324.3 MB, free: 16 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002669/0.009741, allocations: 0.9943 MB / 325.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000812/0.01055, allocations: 243.1 kB / 325.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.01232, allocations: 0.751 MB / 326.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008477/0.01317, allocations: 0.64 MB / 326.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000743/0.01391, allocations: 442.6 kB / 327.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005335/0.01445, allocations: 394.8 kB / 327.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004136/0.01486, allocations: 253.3 kB / 328 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.412e-05/0.01494, allocations: 53.47 kB / 328 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005886/0.01553, allocations: 258.8 kB / 328.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.01567, allocations: 138.7 kB / 328.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002571/0.01593, allocations: 205.8 kB / 328.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.0172, allocations: 0.953 MB / 329.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.0172, allocations: 0.7031 kB / 329.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.0172, allocations: 4 kB / 329.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.01721, allocations: 0 / 329.6 MB, free: 13.38 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003828/0.02104, allocations: 1.143 MB / 330.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.02109, allocations: 10.17 kB / 330.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.02234, allocations: 177.7 kB / 330.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.0226, allocations: 181.4 kB / 331.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.85e-05/0.02267, allocations: 53.47 kB / 331.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.02279, allocations: 68.06 kB / 331.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.02435, allocations: 0.7314 MB / 331.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.02438, allocations: 5.141 kB / 331.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.502e-05/0.02447, allocations: 25.91 kB / 331.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.02449, allocations: 19.78 kB / 332 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.02586, allocations: 0.5982 MB / 332.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003425/0.02928, allocations: 1.77 MB / 334.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.03067, allocations: 0.6663 MB / 335 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005314/0.0312, allocations: 242.5 kB / 335.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.0313, allocations: 29.64 kB / 335.3 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.03134, allocations: 43.59 kB / 335.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.965e-06/0.03135, allocations: 0 / 335.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.00179/0.03314, allocations: 0.7038 MB / 336 MB, free: 9.438 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.45e-05/0.03323, allocations: 110.3 kB / 336.1 MB, free: 9.312 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.03355, allocations: 250.4 kB / 336.4 MB, free: 9.125 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/0.0336, allocations: 36.45 kB / 336.4 MB, free: 9.086 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.03381, allocations: 274.7 kB / 336.7 MB, free: 8.836 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000207/0.03401, allocations: 241.6 kB / 336.9 MB, free: 8.625 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.03424, allocations: 112.4 kB / 337 MB, free: 8.551 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.03442, allocations: 343.5 kB / 337.3 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000512/0.03493, allocations: 209.7 kB / 337.5 MB, free: 8.117 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006495/0.03558, allocations: 335.4 kB / 337.9 MB, free: 7.887 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.03675, allocations: 0.5085 MB / 338.4 MB, free: 7.594 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.03676, allocations: 0 / 338.4 MB, free: 7.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001417/0.03818, allocations: 0.6327 MB / 339 MB, free: 7.277 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.0382, allocations: 9.656 kB / 339 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.03821, allocations: 1.094 kB / 339 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.03823, allocations: 5.281 kB / 339 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007898/0.03902, allocations: 166.1 kB / 339.2 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.03904, allocations: 4 kB / 339.2 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005653/0.0396, allocations: 71.55 kB / 339.3 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/0.03966, allocations: 27.94 kB / 339.3 MB, free: 7.043 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003334/0.03999, allocations: 185.7 kB / 339.5 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.0401, allocations: 39.7 kB / 339.5 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.04159, allocations: 0.6064 MB / 340.1 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.04159, allocations: 8 kB / 340.1 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.0416, allocations: 4 kB / 340.1 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.04161, allocations: 3.984 kB / 340.1 MB, free: 6.184 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/0.04389, allocations: 1.105 MB / 341.2 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.0439, allocations: 0 / 341.2 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006253/0.04452, allocations: 127.8 kB / 341.4 MB, free: 4.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.04453, allocations: 4 kB / 341.4 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.664e-05/0.04457, allocations: 16 kB / 341.4 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.04458, allocations: 4 kB / 341.4 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.04458, allocations: 0 / 341.4 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.04646, allocations: 0.9823 MB / 342.4 MB, free: 3.898 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.82e-05/0.04655, allocations: 43.67 kB / 342.4 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.216e-05/0.04662, allocations: 16 kB / 342.4 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000434/0.04705, allocations: 36.03 kB / 342.5 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.04717, allocations: 40.58 kB / 342.5 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.886e-05/0.04722, allocations: 19.98 kB / 342.5 MB, free: 3.746 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001966/0.04741, allocations: 181.2 kB / 342.7 MB, free: 3.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.04741, allocations: 0 / 342.7 MB, free: 3.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006505/0.04806, allocations: 183.6 kB / 342.9 MB, free: 3.391 MB / 302.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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002928/0.04836, allocations: 151.1 kB / 343 MB, free: 3.234 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.04962, allocations: 0.5052 MB / 343.5 MB, free: 2.723 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.04963, allocations: 4 kB / 343.5 MB, free: 2.719 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005564/0.05018, allocations: 247.6 kB / 343.8 MB, free: 2.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/0.05074, allocations: 49.16 kB / 343.8 MB, free: 2.434 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.05296, allocations: 1.03 MB / 344.9 MB, free: 1.371 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.05324, allocations: 249.1 kB / 345.1 MB, free: 1.105 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003614/0.05361, allocations: 79.33 kB / 345.2 MB, free: 1.023 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.05377, allocations: 48.48 kB / 345.2 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of SimCode: time 9.32e-07/0.05377, allocations: 0 / 345.2 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of Templates: time 0.01145/0.06523, allocations: 4.887 MB / 350.1 MB, free: 12.18 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.355223663151264]