Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001759/0.001759, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002276/0.002276, allocations: 213.9 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 230.5 MB / 258.1 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 59.89 kB / 379 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2506, allocations: 53.4 MB / 432.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005987/0.2566, allocations: 3.81 MB / 436.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003267/0.2598, allocations: 1.623 MB / 437.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.26, allocations: 12 kB / 437.8 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002403/0.2625, allocations: 0.9335 MB / 438.8 MB, free: 128 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000657/0.2631, allocations: 250.2 kB / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.2649, allocations: 0.7235 MB / 439.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008147/0.2657, allocations: 0.6067 MB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007334/0.2664, allocations: 426.4 kB / 440.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004873/0.2669, allocations: 271 kB / 441 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003942/0.2673, allocations: 298.6 kB / 441.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.328e-05/0.2674, allocations: 56 kB / 441.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006112/0.268, allocations: 279.7 kB / 441.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.2681, allocations: 131.5 kB / 441.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.2684, allocations: 250.8 kB / 442 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.2695, allocations: 0.9454 MB / 443 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2695, allocations: 4 kB / 443 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2696, allocations: 0 / 443 MB, free: 11.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.2696, allocations: 0 / 443 MB, free: 11.92 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.003601/0.2732, allocations: 1.161 MB / 444.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.2732, allocations: 15.98 kB / 444.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.2744, allocations: 180.4 kB / 444.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.2746, allocations: 182.5 kB / 444.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.696e-05/0.2747, allocations: 50.38 kB / 444.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.2748, allocations: 68.33 kB / 444.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.2762, allocations: 0.7328 MB / 445.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.2762, allocations: 4 kB / 445.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.539e-05/0.2763, allocations: 28 kB / 445.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.2763, allocations: 20 kB / 445.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.2776, allocations: 0.5984 MB / 446 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00336/0.2809, allocations: 1.783 MB / 447.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.2823, allocations: 0.6618 MB / 448.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005131/0.2828, allocations: 259 kB / 448.7 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.283, allocations: 24.64 kB / 448.7 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.283, allocations: 43.2 kB / 448.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.484e-06/0.283, allocations: 0 / 448.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.00161/0.2846, allocations: 0.7046 MB / 449.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/0.2847, allocations: 111.5 kB / 449.6 MB, free: 5.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.285, allocations: 255.9 kB / 449.8 MB, free: 4.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.2851, allocations: 33.7 kB / 449.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.2853, allocations: 272.7 kB / 450.1 MB, free: 4.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.2855, allocations: 234 kB / 450.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/0.2857, allocations: 122.5 kB / 450.5 MB, free: 4.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.2858, allocations: 346.8 kB / 450.8 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004887/0.2863, allocations: 214 kB / 451 MB, free: 3.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005759/0.2869, allocations: 327.1 kB / 451.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.288, allocations: 0.5224 MB / 451.9 MB, free: 2.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.288, allocations: 0 / 451.9 MB, free: 2.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001313/0.2893, allocations: 0.6338 MB / 452.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.2893, allocations: 4 kB / 452.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.2893, allocations: 4 kB / 452.5 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.2893, allocations: 4 kB / 452.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007357/0.2901, allocations: 163.7 kB / 452.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.2901, allocations: 4 kB / 452.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004517/0.2905, allocations: 67.53 kB / 452.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.504e-05/0.2906, allocations: 31.98 kB / 452.8 MB, free: 1.824 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.0002647/0.2908, allocations: 193.6 kB / 453 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.2909, allocations: 35.77 kB / 453 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.2923, allocations: 0.6025 MB / 453.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.2923, allocations: 8 kB / 453.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2923, allocations: 0 / 453.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.2923, allocations: 3.984 kB / 453.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.2945, allocations: 1.112 MB / 454.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2945, allocations: 0 / 454.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005689/0.295, allocations: 127.8 kB / 454.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.2951, allocations: 4 kB / 454.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.2951, allocations: 15.98 kB / 454.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.2951, allocations: 4 kB / 454.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2951, allocations: 0 / 454.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.2968, allocations: 0.9784 MB / 455.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.999e-05/0.2969, allocations: 51.59 kB / 455.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.95e-05/0.297, allocations: 15.94 kB / 455.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/0.2974, allocations: 31.97 kB / 455.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.409e-05/0.2975, allocations: 44.58 kB / 456 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/0.2975, allocations: 23.98 kB / 456 MB, free: 14.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001965/0.2977, allocations: 180.5 kB / 456.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2977, allocations: 0 / 456.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006045/0.2983, allocations: 179.6 kB / 456.4 MB, free: 14.16 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.0002754/0.2986, allocations: 147 kB / 456.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.2997, allocations: 0.5091 MB / 457 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2997, allocations: 0 / 457 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004994/0.3002, allocations: 255.6 kB / 457.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005198/0.3007, allocations: 48.59 kB / 457.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.3029, allocations: 1.072 MB / 458.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.3031, allocations: 245.1 kB / 458.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.3033, allocations: 63.41 kB / 458.7 MB, free: 11.76 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3033, allocations: 0 / 458.7 MB, free: 11.76 MB / 366.1 MB Notification: Performance of Templates: time 0.01127/0.3146, allocations: 7.2 MB / 465.9 MB, free: 4.578 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.260362036060542]