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.001286/0.001286, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.001427/0.001427, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.428/1.428, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.001528/0.001528, allocations: 43.92 kB / 371.7 MB, free: 9.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2385, allocations: 52.2 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006186/0.2446, allocations: 4.219 MB / 428.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003082/0.2477, allocations: 1.65 MB / 429.8 MB, free: 8.801 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.248, allocations: 12 kB / 429.8 MB, free: 8.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002568/0.2505, allocations: 1.027 MB / 430.8 MB, free: 7.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006874/0.2512, allocations: 238.3 kB / 431 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.253, allocations: 0.7931 MB / 431.8 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007667/0.2537, allocations: 0.6261 MB / 432.5 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007627/0.2545, allocations: 444.8 kB / 432.9 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004021/0.2549, allocations: 275 kB / 433.2 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004795/0.2554, allocations: 342.6 kB / 433.5 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.275e-05/0.2554, allocations: 60 kB / 433.6 MB, free: 5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005668/0.256, allocations: 267.8 kB / 433.8 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.2561, allocations: 131.5 kB / 433.9 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002986/0.2564, allocations: 310.5 kB / 434.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.2576, allocations: 0.922 MB / 435.2 MB, free: 3.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2576, allocations: 0 / 435.2 MB, free: 3.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2576, allocations: 3.938 kB / 435.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.2576, allocations: 0 / 435.2 MB, free: 3.379 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.003631/0.2612, allocations: 1.149 MB / 436.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2613, allocations: 12.03 kB / 436.3 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.2624, allocations: 176.4 kB / 436.5 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.2626, allocations: 178.5 kB / 436.7 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.062e-05/0.2627, allocations: 46.38 kB / 436.7 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.2628, allocations: 64.38 kB / 436.8 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.2641, allocations: 0.7116 MB / 437.5 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.2641, allocations: 0 / 437.5 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.305e-05/0.2642, allocations: 28 kB / 437.5 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.2642, allocations: 16 kB / 437.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.2656, allocations: 0.6024 MB / 438.1 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003743/0.2693, allocations: 2.229 MB / 440.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.2707, allocations: 0.681 MB / 441.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005127/0.2712, allocations: 239.6 kB / 441.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.2713, allocations: 24.62 kB / 441.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.2714, allocations: 39.22 kB / 441.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.444e-06/0.2714, allocations: 0 / 441.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001655/0.273, allocations: 0.7086 MB / 442.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.977e-05/0.2731, allocations: 115.4 kB / 442.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.2734, allocations: 264.9 kB / 442.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/0.2735, allocations: 37.77 kB / 442.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.2736, allocations: 272.7 kB / 442.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.2738, allocations: 237.9 kB / 443 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.274, allocations: 118.6 kB / 443.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.2742, allocations: 346.8 kB / 443.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004891/0.2747, allocations: 205.9 kB / 443.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005822/0.2752, allocations: 305.4 kB / 443.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.2763, allocations: 0.5184 MB / 444.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2763, allocations: 0 / 444.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001328/0.2776, allocations: 0.6259 MB / 445.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.2776, allocations: 4 kB / 445.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2777, allocations: 4 kB / 445.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.2777, allocations: 4 kB / 445.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007655/0.2784, allocations: 163.8 kB / 445.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.2785, allocations: 4 kB / 445.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004949/0.2789, allocations: 67.8 kB / 445.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/0.279, allocations: 27.98 kB / 445.3 MB, free: 8.871 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.0002659/0.2793, allocations: 197.5 kB / 445.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.805e-05/0.2794, allocations: 35.77 kB / 445.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.2807, allocations: 0.6068 MB / 446.2 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.2808, allocations: 4 kB / 446.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.2808, allocations: 4 kB / 446.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.2808, allocations: 15.92 kB / 446.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.2832, allocations: 1.26 MB / 447.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2832, allocations: 0 / 447.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006091/0.2838, allocations: 127.8 kB / 447.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.2838, allocations: 4 kB / 447.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/0.2838, allocations: 15.98 kB / 447.6 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/0.2838, allocations: 11.94 kB / 447.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2838, allocations: 0 / 447.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.2856, allocations: 0.9823 MB / 448.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.05e-05/0.2857, allocations: 43.66 kB / 448.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.559e-05/0.2858, allocations: 12 kB / 448.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004308/0.2862, allocations: 39.91 kB / 448.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-05/0.2863, allocations: 40.56 kB / 448.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.2864, allocations: 20 kB / 448.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002179/0.2866, allocations: 192.5 kB / 448.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2866, allocations: 0 / 448.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000596/0.2872, allocations: 179.7 kB / 449.1 MB, free: 5.012 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.0002568/0.2874, allocations: 147.1 kB / 449.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.2886, allocations: 0.5013 MB / 449.7 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2886, allocations: 384 / 449.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005327/0.2892, allocations: 255.6 kB / 450 MB, free: 4.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.2897, allocations: 51.7 kB / 450.1 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.292, allocations: 1.122 MB / 451.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.2925, allocations: 0.846 MB / 452 MB, free: 2.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.2927, allocations: 55.42 kB / 452.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2927, allocations: 0 / 452.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of Templates: time 0.01064/0.3034, allocations: 6.825 MB / 458.9 MB, free: 11.18 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.103074535029009]