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.001075/0.001075, allocations: 92.31 kB / 16.31 MB, free: 6.457 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.00155/0.00155, allocations: 181.3 kB / 17.21 MB, free: 6.328 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.348/1.348, allocations: 223.3 MB / 241.2 MB, free: 5.422 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002445/0.0002445, allocations: 5.281 kB / 300.8 MB, free: 6.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09247/0.09273, allocations: 50.43 MB / 351.2 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001648/0.09442, allocations: 1.318 MB / 352.6 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002059/0.09464, allocations: 83.72 kB / 352.6 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.862e-05/0.09471, allocations: 0 / 352.6 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.402e-05/0.09481, allocations: 7.922 kB / 352.6 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.071e-05/0.09486, allocations: 7.938 kB / 352.6 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001121/0.09498, allocations: 23.91 kB / 352.7 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.525e-05/0.09508, allocations: 59.73 kB / 352.7 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.09519, allocations: 19.97 kB / 352.8 MB, free: 10.19 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.94e-05/0.09523, allocations: 11.94 kB / 352.8 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.806e-05/0.09529, allocations: 27.92 kB / 352.8 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.09532, allocations: 4 kB / 352.8 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.581e-05/0.09534, allocations: 4 kB / 352.8 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.09536, allocations: 11.91 kB / 352.8 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.09539, allocations: 37.7 kB / 352.8 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.135e-05/0.09546, allocations: 35.92 kB / 352.9 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.09548, allocations: 3.984 kB / 352.9 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.09548, allocations: 0 / 352.9 MB, free: 10.05 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.09549, allocations: 0 / 352.9 MB, free: 10.05 MB / 286.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.0003672/0.09586, allocations: 355.1 kB / 353.2 MB, free: 9.652 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.0959, allocations: 12.03 kB / 353.2 MB, free: 9.641 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.09594, allocations: 15.84 kB / 353.3 MB, free: 9.625 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.09609, allocations: 171.1 kB / 353.4 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.09611, allocations: 15.88 kB / 353.4 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.09614, allocations: 7.906 kB / 353.4 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.09628, allocations: 69.61 kB / 353.5 MB, free: 9.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.0963, allocations: 4 kB / 353.5 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.09631, allocations: 0 / 353.5 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.09633, allocations: 11.89 kB / 353.5 MB, free: 9.305 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.146e-05/0.09641, allocations: 38.09 kB / 353.6 MB, free: 9.27 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005789/0.097, allocations: 367.8 kB / 353.9 MB, free: 8.855 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.09711, allocations: 58.5 kB / 354 MB, free: 8.789 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.432e-05/0.09715, allocations: 20.86 kB / 354 MB, free: 8.766 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.09717, allocations: 4 kB / 354 MB, free: 8.762 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.09719, allocations: 34.55 kB / 354 MB, free: 8.719 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.0972, allocations: 4 kB / 354 MB, free: 8.715 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006543/0.09786, allocations: 0.5058 MB / 354.6 MB, free: 8.117 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.0979, allocations: 55.39 kB / 354.6 MB, free: 8.051 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.326e-05/0.098, allocations: 122 kB / 354.7 MB, free: 7.918 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.09802, allocations: 25.7 kB / 354.8 MB, free: 7.887 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.09807, allocations: 95.89 kB / 354.8 MB, free: 7.789 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.09811, allocations: 35.55 kB / 354.9 MB, free: 7.754 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/0.09812, allocations: 4 kB / 354.9 MB, free: 7.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.09822, allocations: 318.8 kB / 355.2 MB, free: 7.43 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.52e-05/0.09827, allocations: 19.94 kB / 355.2 MB, free: 7.41 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.954e-05/0.09833, allocations: 57.14 kB / 355.3 MB, free: 7.336 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.21e-05/0.09839, allocations: 32.41 kB / 355.3 MB, free: 7.305 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.0984, allocations: 4 kB / 355.3 MB, free: 7.301 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001491/0.09855, allocations: 109.5 kB / 355.4 MB, free: 7.188 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.09857, allocations: 8 kB / 355.4 MB, free: 7.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.09859, allocations: 4.094 kB / 355.4 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.0986, allocations: 7.938 kB / 355.4 MB, free: 7.168 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.613e-05/0.0987, allocations: 23.92 kB / 355.5 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.09871, allocations: 4 kB / 355.5 MB, free: 7.141 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.835e-05/0.09876, allocations: 4 kB / 355.5 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.09878, allocations: 4 kB / 355.5 MB, free: 7.133 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.359e-05/0.09886, allocations: 117.8 kB / 355.6 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.09889, allocations: 4 kB / 355.6 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.09893, allocations: 20.31 kB / 355.6 MB, free: 6.98 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.09894, allocations: 0 / 355.6 MB, free: 6.98 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.09895, allocations: 3.984 kB / 355.6 MB, free: 6.977 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.09895, allocations: 0 / 355.6 MB, free: 6.977 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.0994, allocations: 410.5 kB / 356 MB, free: 6.504 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.09941, allocations: 12.14 kB / 356 MB, free: 6.492 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.551e-05/0.09951, allocations: 16 kB / 356 MB, free: 6.477 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.09952, allocations: 4 kB / 356 MB, free: 6.473 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.09953, allocations: 0 / 356 MB, free: 6.473 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.09954, allocations: 7.938 kB / 356.1 MB, free: 6.465 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.09955, allocations: 0 / 356.1 MB, free: 6.465 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.09976, allocations: 235.7 kB / 356.3 MB, free: 6.203 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.09982, allocations: 89 kB / 356.4 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.09984, allocations: 0 / 356.4 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.006e-05/0.09992, allocations: 8 kB / 356.4 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.09994, allocations: 7.953 kB / 356.4 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.09995, allocations: 12.05 kB / 356.4 MB, free: 6.07 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.767e-05/0.1, allocations: 91.22 kB / 356.5 MB, free: 5.98 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1, allocations: 0 / 356.5 MB, free: 5.98 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1003, allocations: 16 kB / 356.5 MB, free: 5.965 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.94e-05/0.1004, allocations: 99.61 kB / 356.6 MB, free: 5.859 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001292/0.1005, allocations: 63.86 kB / 356.7 MB, free: 5.797 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1005, allocations: 3.938 kB / 356.7 MB, free: 5.793 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.793e-05/0.1006, allocations: 28.12 kB / 356.7 MB, free: 5.766 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.1009, allocations: 18.84 kB / 356.7 MB, free: 5.75 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005805/0.1015, allocations: 401.8 kB / 357.1 MB, free: 5.312 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.1018, allocations: 0.6926 MB / 357.8 MB, free: 4.594 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4e-05/0.1018, allocations: 8.438 kB / 357.8 MB, free: 4.586 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/0.1019, allocations: 15.44 kB / 357.8 MB, free: 4.57 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1019, allocations: 0 / 357.8 MB, free: 4.57 MB / 286.1 MB Notification: Performance of Templates: time 0.002601/0.1045, allocations: 0.5896 MB / 358.4 MB, free: 3.98 MB / 286.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