Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.008632/0.008632, allocations: 105.5 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002101/0.002101, allocations: 212.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 259 MB, free: 8.293 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002763/0.002763, allocations: 64.77 kB / 379.8 MB, free: 2.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2568, allocations: 53.37 MB / 433.2 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006383/0.2632, allocations: 4.219 MB / 437.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003324/0.2665, allocations: 1.752 MB / 439.1 MB, free: 1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002692/0.2668, allocations: 12 kB / 439.2 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002484/0.2693, allocations: 1.031 MB / 440.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006585/0.27, allocations: 242.2 kB / 440.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.2716, allocations: 0.77 MB / 441.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007095/0.2723, allocations: 0.6028 MB / 441.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007394/0.2731, allocations: 448.9 kB / 442.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004411/0.2735, allocations: 263.1 kB / 442.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004463/0.274, allocations: 338.7 kB / 442.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.954e-05/0.274, allocations: 56 kB / 442.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006292/0.2747, allocations: 291.7 kB / 443.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.2748, allocations: 135.5 kB / 443.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002834/0.2751, allocations: 306.5 kB / 443.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.2762, allocations: 0.9415 MB / 444.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2762, allocations: 0 / 444.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2762, allocations: 0 / 444.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.2763, allocations: 0 / 444.5 MB, free: 11.59 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.003651/0.2799, allocations: 1.164 MB / 445.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2799, allocations: 12.03 kB / 445.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.2812, allocations: 180.4 kB / 445.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.2814, allocations: 175.4 kB / 446.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.667e-05/0.2815, allocations: 54.38 kB / 446.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.2816, allocations: 68.33 kB / 446.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.2832, allocations: 0.7116 MB / 446.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.2832, allocations: 0 / 446.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.306e-05/0.2833, allocations: 28 kB / 446.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.2833, allocations: 16 kB / 446.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.2846, allocations: 0.6062 MB / 447.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003717/0.2883, allocations: 2.244 MB / 449.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.2897, allocations: 0.681 MB / 450.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005027/0.2902, allocations: 235.6 kB / 450.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/0.2903, allocations: 32.61 kB / 450.7 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.319e-05/0.2904, allocations: 47.16 kB / 450.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.585e-06/0.2904, allocations: 0 / 450.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001616/0.292, allocations: 0.7085 MB / 451.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/0.2921, allocations: 115.6 kB / 451.6 MB, free: 4.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.2924, allocations: 264.8 kB / 451.9 MB, free: 4.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/0.2925, allocations: 37.7 kB / 451.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.2927, allocations: 272.7 kB / 452.2 MB, free: 3.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.2929, allocations: 230 kB / 452.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.2931, allocations: 118.6 kB / 452.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.2932, allocations: 346.8 kB / 452.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/0.2937, allocations: 213.9 kB / 453 MB, free: 2.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005775/0.2943, allocations: 305.2 kB / 453.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.2954, allocations: 0.5185 MB / 453.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2954, allocations: 4 kB / 453.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00129/0.2966, allocations: 0.6298 MB / 454.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.2967, allocations: 8 kB / 454.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2967, allocations: 3.938 kB / 454.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.2967, allocations: 4.188 kB / 454.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007146/0.2974, allocations: 159.8 kB / 454.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.2974, allocations: 11.98 kB / 454.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004623/0.2979, allocations: 71.5 kB / 454.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.943e-05/0.2979, allocations: 27.98 kB / 454.8 MB, free: 1.016 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.0002553/0.2982, allocations: 185.7 kB / 455 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.2983, allocations: 39.77 kB / 455 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.2996, allocations: 0.6067 MB / 455.6 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.2996, allocations: 8 kB / 455.6 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2996, allocations: 0 / 455.6 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.2996, allocations: 7.984 kB / 455.6 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.3019, allocations: 1.272 MB / 456.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-06/0.3019, allocations: 0 / 456.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005685/0.3024, allocations: 127.8 kB / 457 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3025, allocations: 4 kB / 457 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.3025, allocations: 15.98 kB / 457 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.719e-06/0.3025, allocations: 11.92 kB / 457 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3025, allocations: 0 / 457 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.3042, allocations: 0.9785 MB / 458 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.952e-05/0.3043, allocations: 47.59 kB / 458.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.215e-05/0.3043, allocations: 16 kB / 458.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/0.3047, allocations: 35.97 kB / 458.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.3048, allocations: 40.58 kB / 458.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.773e-05/0.3049, allocations: 19.98 kB / 458.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002116/0.3051, allocations: 192.4 kB / 458.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3051, allocations: 0 / 458.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006108/0.3057, allocations: 179.6 kB / 458.5 MB, free: 13.17 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.0002799/0.306, allocations: 159.1 kB / 458.7 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.3071, allocations: 0.5052 MB / 459.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3071, allocations: 0 / 459.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005006/0.3076, allocations: 247.6 kB / 459.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005395/0.3081, allocations: 56.8 kB / 459.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.3104, allocations: 1.076 MB / 460.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/0.3109, allocations: 0.846 MB / 461.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.3111, allocations: 59.42 kB / 461.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3111, allocations: 0 / 461.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of Templates: time 0.01166/0.3227, allocations: 7.03 MB / 468.5 MB, free: 3.172 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.258865538984537]