Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001185/0.001185, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.00119/0.00119, allocations: 186.9 kB / 19.28 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.1 MB / 225.1 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 47.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08756/0.08891, allocations: 46.62 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003027/0.09199, allocations: 1.63 MB / 330.3 MB, free: 2.105 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.000235/0.09225, allocations: 75.7 kB / 330.4 MB, free: 2.031 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.183e-05/0.09232, allocations: 4 kB / 330.4 MB, free: 2.027 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.09245, allocations: 11.86 kB / 330.4 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 4.268e-05/0.0925, allocations: 15.86 kB / 330.4 MB, free: 2 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000118/0.09263, allocations: 15.98 kB / 330.5 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.09276, allocations: 63.72 kB / 330.5 MB, free: 1.922 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.09289, allocations: 23.97 kB / 330.5 MB, free: 1.898 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.633e-05/0.09293, allocations: 19.92 kB / 330.6 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.08e-05/0.09301, allocations: 35.86 kB / 330.6 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.09303, allocations: 4 kB / 330.6 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.394e-05/0.09305, allocations: 4 kB / 330.6 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.254e-05/0.09308, allocations: 15.92 kB / 330.6 MB, free: 1.82 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.09313, allocations: 27.88 kB / 330.7 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.09325, allocations: 67.72 kB / 330.7 MB, free: 1.727 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.09326, allocations: 0 / 330.7 MB, free: 1.727 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.09327, allocations: 0 / 330.7 MB, free: 1.727 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.09328, allocations: 0 / 330.7 MB, free: 1.727 MB / 270.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.0004444/0.09373, allocations: 359.4 kB / 331.1 MB, free: 1.324 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.09377, allocations: 12.03 kB / 331.1 MB, free: 1.312 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.09382, allocations: 12.83 kB / 331.1 MB, free: 1.301 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.09404, allocations: 184.2 kB / 331.3 MB, free: 1.082 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.09406, allocations: 8.375 kB / 331.3 MB, free: 1.074 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.09409, allocations: 4.375 kB / 331.3 MB, free: 1.07 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.09424, allocations: 70.23 kB / 331.4 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.09426, allocations: 192 / 331.4 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.09428, allocations: 3.938 kB / 331.4 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.09429, allocations: 4 kB / 331.4 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.457e-05/0.09439, allocations: 43.91 kB / 331.4 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006118/0.09501, allocations: 375.5 kB / 331.8 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.542e-05/0.09512, allocations: 58.5 kB / 331.8 MB, free: 464 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.943e-05/0.09516, allocations: 20.84 kB / 331.8 MB, free: 440 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.09518, allocations: 0 / 331.8 MB, free: 440 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.09521, allocations: 42.56 kB / 331.9 MB, free: 388 kB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.09521, allocations: 0 / 331.9 MB, free: 388 kB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007405/0.09596, allocations: 0.5134 MB / 332.4 MB, free: 15.77 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.09601, allocations: 55.41 kB / 332.5 MB, free: 15.71 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.111e-05/0.09611, allocations: 117.8 kB / 332.6 MB, free: 15.58 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.09613, allocations: 33.64 kB / 332.6 MB, free: 15.54 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.09619, allocations: 92.05 kB / 332.7 MB, free: 15.45 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.09622, allocations: 35.48 kB / 332.7 MB, free: 15.41 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.09627, allocations: 29.7 kB / 332.8 MB, free: 15.38 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.09639, allocations: 314.8 kB / 333.1 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.087e-05/0.09644, allocations: 19.98 kB / 333.1 MB, free: 15.04 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.132e-05/0.09651, allocations: 73.08 kB / 333.2 MB, free: 14.95 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.767e-05/0.09662, allocations: 77.09 kB / 333.2 MB, free: 14.86 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.09662, allocations: 0 / 333.2 MB, free: 14.86 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001619/0.09679, allocations: 117.5 kB / 333.3 MB, free: 14.74 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.09682, allocations: 8 kB / 333.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.09683, allocations: 0 / 333.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.09685, allocations: 4 kB / 333.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.09694, allocations: 27.92 kB / 333.4 MB, free: 14.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.09696, allocations: 7.938 kB / 333.4 MB, free: 14.69 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.063e-05/0.097, allocations: 0 / 333.4 MB, free: 14.69 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.09702, allocations: 4 kB / 333.4 MB, free: 14.69 MB / 286.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 8.678e-05/0.09711, allocations: 117.8 kB / 333.5 MB, free: 14.56 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.09714, allocations: 11.97 kB / 333.5 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.09718, allocations: 12.38 kB / 333.5 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.09719, allocations: 0 / 333.5 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.0972, allocations: 3.938 kB / 333.5 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.09721, allocations: 3.984 kB / 333.5 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004527/0.09767, allocations: 415 kB / 334 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.09768, allocations: 0 / 334 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.143e-05/0.09778, allocations: 19.98 kB / 334 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.09779, allocations: 4 kB / 334 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.0978, allocations: 0 / 334 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.09781, allocations: 7.938 kB / 334 MB, free: 14.02 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.09782, allocations: 3.938 kB / 334 MB, free: 14.02 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.09804, allocations: 231.7 kB / 334.2 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.09809, allocations: 89.12 kB / 334.3 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.09811, allocations: 8 kB / 334.3 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.308e-05/0.09819, allocations: 0 / 334.3 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.09823, allocations: 16 kB / 334.3 MB, free: 13.63 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.09824, allocations: 4 kB / 334.3 MB, free: 13.63 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.846e-05/0.09829, allocations: 91.27 kB / 334.4 MB, free: 13.54 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09831, allocations: 0 / 334.4 MB, free: 13.54 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.09858, allocations: 20 kB / 334.4 MB, free: 13.52 MB / 286.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 9.754e-05/0.09868, allocations: 99.17 kB / 334.5 MB, free: 13.41 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.09883, allocations: 67.78 kB / 334.6 MB, free: 13.34 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.09884, allocations: 4.188 kB / 334.6 MB, free: 13.34 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.82e-05/0.09888, allocations: 31.92 kB / 334.6 MB, free: 13.31 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.09919, allocations: 12 kB / 334.6 MB, free: 13.3 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005177/0.09972, allocations: 339.5 kB / 335 MB, free: 12.93 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.09996, allocations: 0.6885 MB / 335.7 MB, free: 12.21 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.273e-05/0.1, allocations: 8.422 kB / 335.7 MB, free: 12.2 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.1, allocations: 15.81 kB / 335.7 MB, free: 12.19 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1001, allocations: 0 / 335.7 MB, free: 12.19 MB / 286.1 MB Notification: Performance of Templates: time 0.002688/0.1027, allocations: 0.6538 MB / 336.3 MB, free: 11.54 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches