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.001779/0.001779, allocations: 120.5 kB / 17.79 MB, free: 5.133 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.00221/0.00221, allocations: 215.2 kB / 20.75 MB, free: 2.18 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.614/1.614, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.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 0.001593/0.001593, allocations: 47.92 kB / 373.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09443/0.09602, allocations: 53.33 MB / 426.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005823/0.1018, allocations: 4.212 MB / 431 MB, free: 44 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1789/0.2807, allocations: 1.73 MB / 432.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003581/0.2811, allocations: 11.09 kB / 432.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002016/0.2831, allocations: 1.015 MB / 433.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005254/0.2836, allocations: 248.6 kB / 434 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.2849, allocations: 0.7612 MB / 434.8 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004698/0.2854, allocations: 0.6089 MB / 435.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005309/0.2859, allocations: 376.6 kB / 435.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/0.2862, allocations: 274.6 kB / 436 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003344/0.2866, allocations: 334 kB / 436.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.78e-05/0.2866, allocations: 55.47 kB / 436.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005325/0.2872, allocations: 295.5 kB / 436.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.393e-05/0.2873, allocations: 131.9 kB / 436.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.2875, allocations: 307 kB / 437.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009943/0.2885, allocations: 0.9416 MB / 438.1 MB, free: 6.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2885, allocations: 1.625 kB / 438.1 MB, free: 6.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2885, allocations: 0.5625 kB / 438.1 MB, free: 6.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.2885, allocations: 3.938 kB / 438.1 MB, free: 6.766 MB / 350.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.003585/0.2921, allocations: 1.233 MB / 439.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.2921, allocations: 8.625 kB / 439.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.2934, allocations: 183.1 kB / 439.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.2936, allocations: 237.1 kB / 439.7 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.851e-05/0.2936, allocations: 57.92 kB / 439.8 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.2937, allocations: 68.45 kB / 439.8 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.2949, allocations: 0.7061 MB / 440.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.295, allocations: 1.219 kB / 440.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.077e-05/0.295, allocations: 29.97 kB / 440.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.295, allocations: 16.38 kB / 440.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.2963, allocations: 0.6094 MB / 441.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003102/0.2994, allocations: 2.31 MB / 443.5 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.3008, allocations: 1.572 MB / 445.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000478/0.3012, allocations: 248.8 kB / 445.3 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001647/0.3014, allocations: 185.7 kB / 445.5 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.3014, allocations: 39.19 kB / 445.6 MB, free: 1.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.745e-06/0.3014, allocations: 1.125 kB / 445.6 MB, free: 1.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001579/0.303, allocations: 0.7074 MB / 446.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.303, allocations: 110.7 kB / 446.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.3033, allocations: 265.5 kB / 446.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.3034, allocations: 36.36 kB / 446.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.3035, allocations: 271.3 kB / 446.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.3036, allocations: 235.1 kB / 447.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.3038, allocations: 120.8 kB / 447.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.306e-05/0.3039, allocations: 346.8 kB / 447.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004644/0.3043, allocations: 210.4 kB / 447.8 MB, free: 460 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004998/0.3048, allocations: 302 kB / 448.1 MB, free: 304 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009957/0.3058, allocations: 0.5269 MB / 448.6 MB, free: 28 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3058, allocations: 1.469 kB / 448.6 MB, free: 28 kB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001521/0.3074, allocations: 0.6401 MB / 449.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3074, allocations: 16.14 kB / 449.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3074, allocations: 5.281 kB / 449.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.3074, allocations: 4.312 kB / 449.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007917/0.3082, allocations: 157.6 kB / 449.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.338e-05/0.3082, allocations: 4.844 kB / 449.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000715/0.3089, allocations: 76.16 kB / 449.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.027e-05/0.309, allocations: 23.67 kB / 449.6 MB, free: 15.77 MB / 366.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.0003844/0.3094, allocations: 195.8 kB / 449.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.3096, allocations: 42.56 kB / 449.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/0.3117, allocations: 0.5993 MB / 450.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.3117, allocations: 7.688 kB / 450.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.3117, allocations: 0 / 450.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.3117, allocations: 4.344 kB / 450.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003931/0.3157, allocations: 1.295 MB / 451.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.3157, allocations: 1.281 kB / 451.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000947/0.3166, allocations: 128.3 kB / 451.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.3166, allocations: 2.531 kB / 451.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.959e-05/0.3167, allocations: 20.55 kB / 451.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/0.3167, allocations: 11.5 kB / 451.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3167, allocations: 0.7031 kB / 451.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002764/0.3195, allocations: 0.9758 MB / 452.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.3197, allocations: 127.9 kB / 453 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.987e-05/0.3198, allocations: 11.31 kB / 453 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006607/0.3204, allocations: 30.64 kB / 453 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.3206, allocations: 40.56 kB / 453 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.033e-05/0.3207, allocations: 20.5 kB / 453.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003226/0.321, allocations: 194.9 kB / 453.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.321, allocations: 1.375 kB / 453.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00105/0.322, allocations: 183.5 kB / 453.4 MB, free: 13.74 MB / 366.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.0003353/0.3224, allocations: 153.7 kB / 453.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001795/0.3242, allocations: 0.4969 MB / 454.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3242, allocations: 1.312 kB / 454.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008129/0.325, allocations: 253.5 kB / 454.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008051/0.3258, allocations: 48.08 kB / 454.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/0.3291, allocations: 1.049 MB / 455.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006875/0.3298, allocations: 0.8494 MB / 456.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005133/0.3303, allocations: 74.45 kB / 456.3 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.3305, allocations: 46.27 kB / 456.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3305, allocations: 1.094 kB / 456.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of Templates: time 0.01734/0.3478, allocations: 5.358 MB / 461.8 MB, free: 9.977 MB / 366.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.842478379607201]