Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.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.002114/0.002114, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.002317/0.002317, allocations: 206.5 kB / 23.73 MB, free: 4.402 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002679/0.002679, allocations: 47.92 kB / 378.2 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2867, allocations: 53.36 MB / 431.6 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003315/0.2901, allocations: 1.64 MB / 433.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002962/0.2904, allocations: 67.78 kB / 433.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.344e-05/0.2904, allocations: 3.938 kB / 433.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.2905, allocations: 3.938 kB / 433.3 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.509e-05/0.2906, allocations: 19.84 kB / 433.3 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.2908, allocations: 15.98 kB / 433.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.2909, allocations: 71.66 kB / 433.4 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.291, allocations: 15.98 kB / 433.4 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.001e-05/0.2911, allocations: 23.92 kB / 433.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.599e-05/0.2912, allocations: 23.86 kB / 433.4 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.2912, allocations: 4 kB / 433.4 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.687e-05/0.2912, allocations: 4 kB / 433.4 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.2912, allocations: 15.94 kB / 433.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.099e-05/0.2913, allocations: 23.91 kB / 433.5 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.2914, allocations: 69.92 kB / 433.6 MB, free: 4.754 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2914, allocations: 0 / 433.6 MB, free: 4.754 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.2914, allocations: 0 / 433.6 MB, free: 4.754 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.2915, allocations: 4 kB / 433.6 MB, free: 4.75 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005014/0.292, allocations: 290.2 kB / 433.8 MB, free: 4.434 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.292, allocations: 8.031 kB / 433.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.292, allocations: 8.891 kB / 433.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.2923, allocations: 122.5 kB / 434 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.2923, allocations: 384 / 434 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.2923, allocations: 12.38 kB / 434 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.2925, allocations: 70.11 kB / 434.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.2925, allocations: 4.188 kB / 434.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.2925, allocations: 11.94 kB / 434.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.2925, allocations: 0 / 434.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.071e-05/0.2926, allocations: 35.97 kB / 434.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006818/0.2933, allocations: 303.4 kB / 434.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.2934, allocations: 66.38 kB / 434.5 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.476e-05/0.2934, allocations: 16.86 kB / 434.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.2934, allocations: 0 / 434.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.2935, allocations: 34.56 kB / 434.5 MB, free: 3.668 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.2935, allocations: 0 / 434.5 MB, free: 3.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007636/0.2942, allocations: 375.7 kB / 434.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.2943, allocations: 55.41 kB / 434.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.206e-05/0.2944, allocations: 105.8 kB / 435 MB, free: 3.066 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.2944, allocations: 29.7 kB / 435.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/0.2945, allocations: 103.9 kB / 435.2 MB, free: 2.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.2945, allocations: 31.75 kB / 435.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.2945, allocations: 29.64 kB / 435.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2947, allocations: 318.8 kB / 435.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.179e-05/0.2947, allocations: 23.98 kB / 435.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.038e-05/0.2948, allocations: 57.14 kB / 435.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.2949, allocations: 93.06 kB / 435.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2949, allocations: 0 / 435.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001741/0.2951, allocations: 109.5 kB / 435.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2951, allocations: 4 kB / 435.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2951, allocations: 4 kB / 435.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.2951, allocations: 0 / 435.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.667e-05/0.2952, allocations: 28.02 kB / 435.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.2952, allocations: 4 kB / 435.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.093e-05/0.2953, allocations: 4 kB / 435.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.2953, allocations: 7.938 kB / 435.9 MB, free: 2.168 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (13): * Single equations (assignments): 13 * 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.0001015/0.2954, allocations: 121.8 kB / 436 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.2954, allocations: 11.95 kB / 436 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.2955, allocations: 8.375 kB / 436 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2955, allocations: 3.938 kB / 436 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.2955, allocations: 7.984 kB / 436 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2955, allocations: 0 / 436 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004879/0.296, allocations: 354.2 kB / 436.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.296, allocations: 0 / 436.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.106e-05/0.2961, allocations: 20.03 kB / 436.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.2961, allocations: 7.938 kB / 436.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.2961, allocations: 7.922 kB / 436.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.2961, allocations: 7.938 kB / 436.4 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2961, allocations: 0 / 436.4 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.2964, allocations: 231.8 kB / 436.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.2964, allocations: 8.219 kB / 436.6 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.2964, allocations: 3.938 kB / 436.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.2965, allocations: 4 kB / 436.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.2965, allocations: 11.98 kB / 436.7 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.2965, allocations: 4 kB / 436.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.495e-05/0.2965, allocations: 87.22 kB / 436.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2965, allocations: 0 / 436.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.2968, allocations: 16 kB / 436.8 MB, free: 1.168 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.v) * 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 (9): * Single equations (assignments): 9 * 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.0001037/0.2969, allocations: 99.23 kB / 436.9 MB, free: 1.062 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001582/0.2971, allocations: 63.86 kB / 436.9 MB, free: 1 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2971, allocations: 0 / 436.9 MB, free: 1 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.261e-05/0.2971, allocations: 28.39 kB / 437 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.2974, allocations: 18 kB / 437 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006055/0.298, allocations: 339.8 kB / 437.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.051e-05/0.2981, allocations: 80.08 kB / 437.4 MB, free: 500 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.853e-05/0.2982, allocations: 8.422 kB / 437.4 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.2982, allocations: 11.44 kB / 437.4 MB, free: 480 kB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2982, allocations: 0 / 437.4 MB, free: 480 kB / 334.1 MB Notification: Performance of Templates: time 0.003465/0.3016, allocations: 0.6685 MB / 438.1 MB, free: 15.8 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.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: 4.4362235348671675]