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.001361/0.001361, allocations: 100 kB / 21.18 MB, free: 0.6484 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.001451/0.001451, allocations: 184.9 kB / 24.45 MB, free: 3.961 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.435/1.435, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00175/0.00175, allocations: 47.92 kB / 371.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2311, allocations: 52.17 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005712/0.2368, allocations: 3.798 MB / 427.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002953/0.2398, allocations: 1.541 MB / 429.2 MB, free: 9.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.24, allocations: 12 kB / 429.2 MB, free: 9.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002324/0.2423, allocations: 0.941 MB / 430.1 MB, free: 8.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006259/0.2429, allocations: 234.3 kB / 430.3 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.2446, allocations: 0.7548 MB / 431.1 MB, free: 7.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006802/0.2453, allocations: 0.6145 MB / 431.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006966/0.246, allocations: 442.9 kB / 432.1 MB, free: 6.145 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000376/0.2464, allocations: 275 kB / 432.4 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004504/0.2468, allocations: 302.7 kB / 432.7 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.119e-05/0.2469, allocations: 56 kB / 432.8 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005674/0.2475, allocations: 255.8 kB / 433 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.2476, allocations: 135.5 kB / 433.1 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.2479, allocations: 250.8 kB / 433.4 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.2489, allocations: 0.9291 MB / 434.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.249, allocations: 0 / 434.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.249, allocations: 0 / 434.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.249, allocations: 0 / 434.3 MB, free: 3.965 MB / 334.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.003542/0.2525, allocations: 1.141 MB / 435.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2525, allocations: 12.03 kB / 435.5 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.2537, allocations: 176.4 kB / 435.6 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.2539, allocations: 190.4 kB / 435.8 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.833e-05/0.2539, allocations: 46.38 kB / 435.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.2541, allocations: 68.38 kB / 435.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.2554, allocations: 0.7328 MB / 436.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.2554, allocations: 3.953 kB / 436.7 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.159e-05/0.2555, allocations: 32 kB / 436.7 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.2555, allocations: 16 kB / 436.7 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.2568, allocations: 0.5946 MB / 437.3 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003514/0.2603, allocations: 1.767 MB / 439.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.2617, allocations: 0.666 MB / 439.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000524/0.2622, allocations: 241.9 kB / 440 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.2624, allocations: 24.58 kB / 440 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.2624, allocations: 43.25 kB / 440.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.815e-06/0.2624, allocations: 0 / 440.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001717/0.2641, allocations: 0.7085 MB / 440.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.002e-05/0.2642, allocations: 111.5 kB / 440.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.2645, allocations: 244 kB / 441.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/0.2646, allocations: 41.7 kB / 441.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.2648, allocations: 268.6 kB / 441.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/0.265, allocations: 238 kB / 441.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.2652, allocations: 114.7 kB / 441.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.2654, allocations: 354.9 kB / 442.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005111/0.2659, allocations: 205.9 kB / 442.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006244/0.2665, allocations: 327.1 kB / 442.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.2676, allocations: 0.5185 MB / 443.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.2676, allocations: 4 kB / 443.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001354/0.269, allocations: 0.6299 MB / 443.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.269, allocations: 8 kB / 443.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.269, allocations: 0 / 443.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.269, allocations: 4 kB / 443.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007501/0.2698, allocations: 159.8 kB / 443.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.2698, allocations: 7.938 kB / 444 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005011/0.2703, allocations: 79.48 kB / 444 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/0.2703, allocations: 20 kB / 444.1 MB, free: 9.934 MB / 350.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.0002873/0.2706, allocations: 189.7 kB / 444.2 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.2707, allocations: 35.75 kB / 444.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.2721, allocations: 0.6142 MB / 444.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.2721, allocations: 4 kB / 444.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.2721, allocations: 4 kB / 444.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.2721, allocations: 3.984 kB / 444.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.2743, allocations: 1.101 MB / 446 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2743, allocations: 0 / 446 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000595/0.2749, allocations: 127.9 kB / 446.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.2749, allocations: 0 / 446.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/0.275, allocations: 20 kB / 446.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.275, allocations: 0 / 446.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.275, allocations: 4 kB / 446.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.2768, allocations: 0.9823 MB / 447.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.824e-05/0.2769, allocations: 47.61 kB / 447.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.347e-05/0.277, allocations: 12 kB / 447.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.2774, allocations: 27.97 kB / 447.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.2775, allocations: 44.58 kB / 447.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.516e-05/0.2775, allocations: 27.92 kB / 447.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001923/0.2777, allocations: 180.5 kB / 447.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2777, allocations: 4.062 kB / 447.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000592/0.2783, allocations: 175.6 kB / 447.6 MB, free: 6.277 MB / 350.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.0002731/0.2786, allocations: 151 kB / 447.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.2798, allocations: 0.5013 MB / 448.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2798, allocations: 384 / 448.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005372/0.2803, allocations: 251.6 kB / 448.5 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005535/0.2808, allocations: 52.47 kB / 448.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.2832, allocations: 1.111 MB / 449.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.2834, allocations: 249.1 kB / 449.9 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.2836, allocations: 51.42 kB / 450 MB, free: 3.852 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2836, allocations: 0 / 450 MB, free: 3.852 MB / 350.1 MB Notification: Performance of Templates: time 0.01127/0.2949, allocations: 7.007 MB / 457 MB, free: 12.88 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/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: 7.1697819055989385]