Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 101.3 kB / 17.05 MB, free: 6.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 196.1 kB / 18 MB, free: 5.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 43.94 kB / 351.3 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2755, allocations: 49.43 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002867/0.2784, allocations: 1.656 MB / 402.4 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002602/0.2787, allocations: 67.72 kB / 402.4 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.272e-05/0.2788, allocations: 4 kB / 402.4 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.2789, allocations: 7.922 kB / 402.4 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.563e-05/0.279, allocations: 19.8 kB / 402.5 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.2791, allocations: 11.98 kB / 402.5 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.2793, allocations: 71.7 kB / 402.5 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.2794, allocations: 23.94 kB / 402.6 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.289e-05/0.2795, allocations: 23.92 kB / 402.6 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.018e-05/0.2795, allocations: 23.92 kB / 402.6 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.2796, allocations: 4 kB / 402.6 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.801e-05/0.2796, allocations: 8 kB / 402.6 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.2796, allocations: 11.92 kB / 402.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.2797, allocations: 31.86 kB / 402.7 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.2798, allocations: 57.2 kB / 402.7 MB, free: 6.887 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2798, allocations: 0 / 402.7 MB, free: 6.887 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2798, allocations: 4 kB / 402.7 MB, free: 6.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2798, allocations: 0 / 402.7 MB, free: 6.883 MB / 318.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.0004455/0.2803, allocations: 367.1 kB / 403.1 MB, free: 6.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.2803, allocations: 8.031 kB / 403.1 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.2804, allocations: 8.844 kB / 403.1 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.2806, allocations: 196.2 kB / 403.3 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.2806, allocations: 384 / 403.3 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.2807, allocations: 12.28 kB / 403.3 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.2808, allocations: 74.22 kB / 403.4 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.2808, allocations: 192 / 403.4 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.2809, allocations: 11.94 kB / 403.4 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2809, allocations: 0 / 403.4 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.823e-05/0.281, allocations: 31.98 kB / 403.4 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000623/0.2816, allocations: 375.6 kB / 403.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.694e-05/0.2817, allocations: 54.56 kB / 403.8 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.307e-05/0.2817, allocations: 24.8 kB / 403.9 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/0.2818, allocations: 0 / 403.9 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.2818, allocations: 38.48 kB / 403.9 MB, free: 5.539 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.2818, allocations: 0 / 403.9 MB, free: 5.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007576/0.2826, allocations: 0.5091 MB / 404.4 MB, free: 4.938 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.2826, allocations: 55.41 kB / 404.5 MB, free: 4.871 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.816e-05/0.2827, allocations: 125.8 kB / 404.6 MB, free: 4.738 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.2827, allocations: 25.7 kB / 404.6 MB, free: 4.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/0.2828, allocations: 95.95 kB / 404.7 MB, free: 4.609 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.2828, allocations: 31.55 kB / 404.7 MB, free: 4.578 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.2829, allocations: 21.72 kB / 404.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.283, allocations: 322.8 kB / 405.1 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.509e-05/0.283, allocations: 19.98 kB / 405.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.302e-05/0.2831, allocations: 64.36 kB / 405.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.2832, allocations: 89.03 kB / 405.2 MB, free: 4.023 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2832, allocations: 0 / 405.2 MB, free: 4.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001573/0.2834, allocations: 109.5 kB / 405.3 MB, free: 3.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2834, allocations: 7.984 kB / 405.3 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2834, allocations: 7.938 kB / 405.4 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2834, allocations: 0 / 405.4 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.88e-05/0.2835, allocations: 20 kB / 405.4 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/0.2835, allocations: 11.92 kB / 405.4 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.118e-05/0.2836, allocations: 4.141 kB / 405.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.2836, allocations: 4.094 kB / 405.4 MB, free: 3.855 MB / 318.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 7.617e-05/0.2837, allocations: 121.8 kB / 405.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/0.2837, allocations: 11.89 kB / 405.5 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.326e-05/0.2837, allocations: 12.38 kB / 405.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.2838, allocations: 4 kB / 405.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.2838, allocations: 3.938 kB / 405.5 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2838, allocations: 0 / 405.5 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004745/0.2843, allocations: 414.4 kB / 406 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2843, allocations: 8 kB / 406 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.976e-05/0.2844, allocations: 19.98 kB / 406 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.2844, allocations: 0 / 406 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.2844, allocations: 8 kB / 406 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2844, allocations: 4.797 kB / 406 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2844, allocations: 4 kB / 406 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.2846, allocations: 231.8 kB / 406.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.2847, allocations: 81.02 kB / 406.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.2847, allocations: 11.98 kB / 406.3 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.2848, allocations: 8.062 kB / 406.3 MB, free: 2.797 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.2848, allocations: 4 kB / 406.3 MB, free: 2.793 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.2848, allocations: 0 / 406.3 MB, free: 2.793 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.572e-05/0.2849, allocations: 99.27 kB / 406.4 MB, free: 2.695 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2849, allocations: 0 / 406.4 MB, free: 2.695 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.2852, allocations: 12.38 kB / 406.4 MB, free: 2.684 MB / 318.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.0001289/0.2853, allocations: 107.9 kB / 406.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.2855, allocations: 71.78 kB / 406.6 MB, free: 2.5 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2855, allocations: 0 / 406.6 MB, free: 2.5 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.818e-05/0.2855, allocations: 27.88 kB / 406.6 MB, free: 2.473 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.2858, allocations: 15.98 kB / 406.7 MB, free: 2.457 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005539/0.2864, allocations: 331.7 kB / 407 MB, free: 2.094 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.2867, allocations: 0.6922 MB / 407.7 MB, free: 1.375 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.621e-05/0.2867, allocations: 16.42 kB / 407.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.2867, allocations: 11.44 kB / 407.7 MB, free: 1.348 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2867, allocations: 0 / 407.7 MB, free: 1.348 MB / 318.1 MB Notification: Performance of Templates: time 0.002904/0.2896, allocations: 0.6669 MB / 408.4 MB, free: 0.6836 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches