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.001515/0.001515, allocations: 114 kB / 21.18 MB, free: 0.5898 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.001684/0.001684, allocations: 213.5 kB / 24.47 MB, free: 3.996 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.374/1.374, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.001971/0.001971, allocations: 63.84 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2576, allocations: 53.31 MB / 432 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005919/0.2635, allocations: 4.232 MB / 436.3 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003139/0.2667, allocations: 1.748 MB / 438 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002856/0.267, allocations: 12 kB / 438 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002367/0.2693, allocations: 1.023 MB / 439.1 MB, free: 368 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007214/0.2701, allocations: 242.2 kB / 439.3 MB, free: 124 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.2717, allocations: 0.7659 MB / 440.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007825/0.2725, allocations: 0.5989 MB / 440.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006805/0.2732, allocations: 381.5 kB / 441 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004338/0.2736, allocations: 263 kB / 441.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004381/0.2741, allocations: 330.6 kB / 441.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.634e-05/0.2742, allocations: 56 kB / 441.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006306/0.2748, allocations: 299.7 kB / 442 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.2749, allocations: 127.5 kB / 442.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002699/0.2752, allocations: 310.5 kB / 442.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.2763, allocations: 0.9417 MB / 443.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2763, allocations: 3.938 kB / 443.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2763, allocations: 0 / 443.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.2763, allocations: 0 / 443.3 MB, free: 12.07 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.003642/0.28, allocations: 1.24 MB / 444.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.28, allocations: 12.03 kB / 444.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.2812, allocations: 176.4 kB / 444.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.2815, allocations: 244.2 kB / 445 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.425e-05/0.2815, allocations: 46.38 kB / 445 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.2817, allocations: 72.33 kB / 445.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.2829, allocations: 0.7155 MB / 445.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.283, allocations: 4 kB / 445.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.443e-05/0.283, allocations: 24 kB / 445.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.283, allocations: 20 kB / 445.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.2843, allocations: 0.5984 MB / 446.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003558/0.2879, allocations: 2.325 MB / 448.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.2896, allocations: 1.571 MB / 450.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004943/0.2901, allocations: 243.4 kB / 450.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002271/0.2903, allocations: 186.8 kB / 450.8 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.2904, allocations: 47.12 kB / 450.8 MB, free: 4.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.755e-06/0.2904, allocations: 0 / 450.8 MB, free: 4.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001627/0.292, allocations: 0.6978 MB / 451.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.8e-05/0.2921, allocations: 115.4 kB / 451.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.2924, allocations: 265.1 kB / 451.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/0.2924, allocations: 33.7 kB / 451.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.2926, allocations: 280.6 kB / 452.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.2928, allocations: 226 kB / 452.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.293, allocations: 118.6 kB / 452.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.2932, allocations: 346.8 kB / 452.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000474/0.2937, allocations: 209.9 kB / 453.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005487/0.2942, allocations: 305.4 kB / 453.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.2952, allocations: 0.5181 MB / 453.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2952, allocations: 0 / 453.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00134/0.2966, allocations: 0.6337 MB / 454.5 MB, free: 216 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.2966, allocations: 7.938 kB / 454.5 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.2966, allocations: 8 kB / 454.6 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.2966, allocations: 4 kB / 454.6 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007144/0.2973, allocations: 167.9 kB / 454.7 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.2973, allocations: 4 kB / 454.7 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004795/0.2978, allocations: 75.66 kB / 454.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/0.2979, allocations: 23.98 kB / 454.8 MB, free: 15.92 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.0002598/0.2981, allocations: 185.7 kB / 455 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.2982, allocations: 43.7 kB / 455.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.2995, allocations: 0.6046 MB / 455.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.2995, allocations: 8 kB / 455.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2995, allocations: 0 / 455.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.2996, allocations: 7.922 kB / 455.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.3017, allocations: 1.298 MB / 457 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3018, allocations: 0 / 457 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005667/0.3023, allocations: 123.9 kB / 457.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.3023, allocations: 4 kB / 457.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/0.3024, allocations: 12 kB / 457.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.3024, allocations: 7.938 kB / 457.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.3024, allocations: 3.938 kB / 457.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.304, allocations: 0.9754 MB / 458.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.3042, allocations: 124.7 kB / 458.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.634e-05/0.3042, allocations: 16 kB / 458.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/0.3046, allocations: 31.98 kB / 458.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.28e-05/0.3047, allocations: 40.5 kB / 458.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.824e-05/0.3047, allocations: 23.98 kB / 458.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001994/0.3049, allocations: 188.5 kB / 458.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3049, allocations: 0 / 458.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005721/0.3055, allocations: 179.6 kB / 458.7 MB, free: 11.96 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.0002542/0.3058, allocations: 166.1 kB / 458.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.3069, allocations: 0.5078 MB / 459.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3069, allocations: 0 / 459.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004944/0.3074, allocations: 247 kB / 459.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.3078, allocations: 48.86 kB / 459.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.3099, allocations: 1.08 MB / 460.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.3104, allocations: 0.8382 MB / 461.6 MB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.3106, allocations: 67.34 kB / 461.6 MB, free: 8.945 MB / 366.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3106, allocations: 0 / 461.6 MB, free: 8.945 MB / 366.1 MB Notification: Performance of Templates: time 0.01158/0.3222, allocations: 7.034 MB / 468.7 MB, free: 1.961 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.8190016550943255]