Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 82.36 kB / 20.68 MB, free: 1.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002046/0.002046, allocations: 167.9 kB / 23.96 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 325.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.191e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.00527/0.005292, allocations: 3.82 MB / 328.9 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003221/0.008513, allocations: 1.632 MB / 330.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.008736, allocations: 11.56 kB / 330.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002519/0.01125, allocations: 0.991 MB / 331.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000659/0.01191, allocations: 247.8 kB / 331.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.01357, allocations: 0.7284 MB / 332.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006823/0.01425, allocations: 0.6313 MB / 333.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006728/0.01492, allocations: 434.3 kB / 333.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005291/0.01545, allocations: 391.1 kB / 333.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003801/0.01583, allocations: 254.4 kB / 334.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.821e-05/0.01591, allocations: 53.97 kB / 334.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000566/0.01648, allocations: 276.1 kB / 334.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.01661, allocations: 131.8 kB / 334.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002352/0.01684, allocations: 211.7 kB / 334.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.01801, allocations: 0.9733 MB / 335.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.01801, allocations: 1.625 kB / 335.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01801, allocations: 4 kB / 335.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.01803, allocations: 0 / 335.8 MB, free: 9.504 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.00372/0.02175, allocations: 1.152 MB / 337 MB, free: 8.695 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.02178, allocations: 10.06 kB / 337 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.02316, allocations: 180.5 kB / 337.1 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.02339, allocations: 189.4 kB / 337.3 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.362e-05/0.02345, allocations: 50.06 kB / 337.4 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.02356, allocations: 71.33 kB / 337.5 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.02492, allocations: 0.7238 MB / 338.2 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.02494, allocations: 5.266 kB / 338.2 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.827e-05/0.02501, allocations: 26.78 kB / 338.2 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.02503, allocations: 20 kB / 338.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.02637, allocations: 0.5984 MB / 338.8 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003328/0.0297, allocations: 1.78 MB / 340.6 MB, free: 5.469 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.03112, allocations: 0.6664 MB / 341.3 MB, free: 4.789 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005281/0.03165, allocations: 251.6 kB / 341.5 MB, free: 4.539 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/0.03179, allocations: 24.64 kB / 341.5 MB, free: 4.516 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.03182, allocations: 47.16 kB / 341.6 MB, free: 4.461 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.004e-06/0.03183, allocations: 0 / 341.6 MB, free: 4.461 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001766/0.03359, allocations: 0.7125 MB / 342.3 MB, free: 3.742 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.03367, allocations: 107.5 kB / 342.4 MB, free: 3.613 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.034, allocations: 256 kB / 342.7 MB, free: 3.352 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.561e-05/0.03405, allocations: 37.7 kB / 342.7 MB, free: 3.309 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.03427, allocations: 268.7 kB / 343 MB, free: 3.035 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.03453, allocations: 230 kB / 343.2 MB, free: 2.809 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.03475, allocations: 122.6 kB / 343.3 MB, free: 2.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.03494, allocations: 350.8 kB / 343.6 MB, free: 2.328 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.03543, allocations: 213.9 kB / 343.9 MB, free: 2.121 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006273/0.03606, allocations: 331 kB / 344.2 MB, free: 1.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.03716, allocations: 0.5146 MB / 344.7 MB, free: 1.234 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.03717, allocations: 0 / 344.7 MB, free: 1.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001372/0.03854, allocations: 0.6297 MB / 345.3 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.03856, allocations: 8.125 kB / 345.3 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.03857, allocations: 8 kB / 345.3 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.03859, allocations: 4 kB / 345.3 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007624/0.03935, allocations: 159.8 kB / 345.5 MB, free: 432 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.03936, allocations: 4 kB / 345.5 MB, free: 428 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000528/0.03989, allocations: 71.53 kB / 345.6 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.619e-05/0.03995, allocations: 27.98 kB / 345.6 MB, free: 328 kB / 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.0002695/0.04022, allocations: 181.7 kB / 345.8 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.04033, allocations: 47.7 kB / 345.8 MB, free: 88 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.04175, allocations: 0.6025 MB / 346.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.04175, allocations: 4 kB / 346.4 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.04176, allocations: 4 kB / 346.4 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.04177, allocations: 3.984 kB / 346.4 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.04396, allocations: 1.105 MB / 347.5 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.04397, allocations: 0 / 347.5 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000617/0.04458, allocations: 127.8 kB / 347.7 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.04459, allocations: 4 kB / 347.7 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/0.04463, allocations: 15.98 kB / 347.7 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.04464, allocations: 4 kB / 347.7 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.04464, allocations: 0 / 347.7 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.04648, allocations: 0.9823 MB / 348.7 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.355e-05/0.04655, allocations: 51.53 kB / 348.7 MB, free: 13.13 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.109e-05/0.04663, allocations: 20 kB / 348.7 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/0.04703, allocations: 27.97 kB / 348.8 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.04715, allocations: 48.5 kB / 348.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/0.04719, allocations: 16.06 kB / 348.8 MB, free: 13.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002012/0.04739, allocations: 185.2 kB / 349 MB, free: 12.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.04739, allocations: 0 / 349 MB, free: 12.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006227/0.04801, allocations: 183.6 kB / 349.2 MB, free: 12.66 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 (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.0002761/0.04829, allocations: 147.1 kB / 349.3 MB, free: 12.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.04944, allocations: 0.5132 MB / 349.8 MB, free: 11.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.04945, allocations: 4.062 kB / 349.8 MB, free: 11.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005244/0.04997, allocations: 243.6 kB / 350.1 MB, free: 11.74 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.05045, allocations: 44.72 kB / 350.1 MB, free: 11.7 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.05253, allocations: 0.9907 MB / 351.1 MB, free: 10.68 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.0528, allocations: 249.1 kB / 351.4 MB, free: 10.41 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003216/0.05312, allocations: 71.34 kB / 351.4 MB, free: 10.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.05328, allocations: 48.48 kB / 351.5 MB, free: 10.29 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.05328, allocations: 0 / 351.5 MB, free: 10.29 MB / 318.1 MB Notification: Performance of Templates: time 0.01143/0.06471, allocations: 5.013 MB / 356.5 MB, free: 5.383 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.309853263199329]