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.001552/0.001552, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.001714/0.001714, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.403/1.403, allocations: 230.6 MB / 258.3 MB, free: 8.23 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.001574/0.001574, allocations: 47.92 kB / 379 MB, free: 2.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2256, allocations: 53.36 MB / 432.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.00564/0.2313, allocations: 4.227 MB / 436.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003004/0.2343, allocations: 1.759 MB / 438.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002523/0.2345, allocations: 12 kB / 438.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002332/0.2369, allocations: 1.019 MB / 439.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006662/0.2375, allocations: 242.2 kB / 439.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.239, allocations: 0.7666 MB / 440.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007026/0.2397, allocations: 0.6066 MB / 441 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006671/0.2404, allocations: 438 kB / 441.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/0.2408, allocations: 274.9 kB / 441.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004034/0.2412, allocations: 334.7 kB / 442 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.811e-05/0.2413, allocations: 56 kB / 442.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005646/0.2418, allocations: 291.7 kB / 442.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.2419, allocations: 135.5 kB / 442.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002669/0.2422, allocations: 306.5 kB / 442.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.2433, allocations: 0.9453 MB / 443.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2433, allocations: 0 / 443.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2433, allocations: 0 / 443.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.2433, allocations: 0 / 443.8 MB, free: 11.55 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.003542/0.2469, allocations: 1.171 MB / 444.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2469, allocations: 8.031 kB / 444.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.2481, allocations: 176.4 kB / 445.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.2483, allocations: 178.5 kB / 445.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.787e-05/0.2483, allocations: 54.38 kB / 445.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.2484, allocations: 68.33 kB / 445.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.2497, allocations: 0.7115 MB / 446.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.2497, allocations: 3.984 kB / 446.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.223e-05/0.2498, allocations: 28 kB / 446.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.2498, allocations: 16 kB / 446.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.251, allocations: 0.6023 MB / 446.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003452/0.2544, allocations: 2.244 MB / 449 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.2557, allocations: 0.6808 MB / 449.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004703/0.2562, allocations: 245.4 kB / 449.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.2563, allocations: 28.61 kB / 450 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.2564, allocations: 43.22 kB / 450 MB, free: 5.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.835e-06/0.2564, allocations: 0 / 450 MB, free: 5.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.00157/0.2579, allocations: 0.7124 MB / 450.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.127e-05/0.258, allocations: 111.4 kB / 450.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.2583, allocations: 264.8 kB / 451.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.2583, allocations: 37.83 kB / 451.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.2585, allocations: 272.7 kB / 451.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.2587, allocations: 230 kB / 451.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.2589, allocations: 122.6 kB / 451.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.2591, allocations: 346.8 kB / 452.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000451/0.2595, allocations: 209.9 kB / 452.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005219/0.26, allocations: 301.4 kB / 452.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009521/0.261, allocations: 0.5223 MB / 453.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.261, allocations: 0 / 453.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001222/0.2622, allocations: 0.6337 MB / 453.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.2622, allocations: 8 kB / 453.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2622, allocations: 0 / 453.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.2622, allocations: 8 kB / 453.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006988/0.2629, allocations: 163.7 kB / 453.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.263, allocations: 4 kB / 453.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004518/0.2634, allocations: 79.67 kB / 454 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.512e-05/0.2635, allocations: 27.98 kB / 454 MB, free: 0.9688 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.0002431/0.2637, allocations: 185.7 kB / 454.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.756e-05/0.2638, allocations: 39.77 kB / 454.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.265, allocations: 0.6028 MB / 454.8 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.265, allocations: 8 kB / 454.8 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.265, allocations: 0 / 454.8 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.265, allocations: 7.984 kB / 454.8 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/0.2672, allocations: 1.268 MB / 456.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.2672, allocations: 0 / 456.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005627/0.2678, allocations: 131.9 kB / 456.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.2678, allocations: 0 / 456.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.538e-05/0.2678, allocations: 19.92 kB / 456.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.2678, allocations: 11.88 kB / 456.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2678, allocations: 0 / 456.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.2695, allocations: 0.9785 MB / 457.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.468e-05/0.2695, allocations: 47.66 kB / 457.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.181e-05/0.2696, allocations: 12 kB / 457.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.27, allocations: 31.91 kB / 457.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.443e-05/0.2701, allocations: 44.52 kB / 457.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.2701, allocations: 24.05 kB / 457.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002026/0.2703, allocations: 188.5 kB / 457.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2703, allocations: 0 / 457.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005751/0.2709, allocations: 183.6 kB / 457.8 MB, free: 13.12 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.0002523/0.2711, allocations: 159 kB / 457.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.2722, allocations: 0.5091 MB / 458.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2722, allocations: 0 / 458.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004698/0.2727, allocations: 247.6 kB / 458.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.2731, allocations: 48.36 kB / 458.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.2752, allocations: 1.08 MB / 459.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/0.2757, allocations: 0.846 MB / 460.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.2759, allocations: 55.41 kB / 460.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2759, allocations: 0 / 460.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of Templates: time 0.01081/0.2867, allocations: 7.037 MB / 467.7 MB, free: 3.105 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/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: 7.00378479086794]