Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008503/0.0008501, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009824/0.0009825, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.7 MB / 246.4 MB, free: 9.828 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002131/0.0002132, allocations: 11.98 kB / 307.1 MB, free: 0.9766 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08629/0.08652, allocations: 51.52 MB / 358.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001682/0.08824, allocations: 1.34 MB / 360 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002029/0.08846, allocations: 67.73 kB / 360 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.492e-05/0.08853, allocations: 0 / 360 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.571e-05/0.08861, allocations: 11.88 kB / 360 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.299e-05/0.08866, allocations: 15.91 kB / 360.1 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001067/0.08878, allocations: 15.92 kB / 360.1 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.029e-05/0.08887, allocations: 55.73 kB / 360.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.562e-05/0.08898, allocations: 23.97 kB / 360.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.441e-05/0.08902, allocations: 23.92 kB / 360.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.371e-05/0.08908, allocations: 19.92 kB / 360.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.0891, allocations: 0 / 360.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.519e-05/0.08912, allocations: 4 kB / 360.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.08914, allocations: 15.88 kB / 360.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.08917, allocations: 33.7 kB / 360.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.166e-05/0.08927, allocations: 52.11 kB / 360.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.08928, allocations: 0 / 360.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.08929, allocations: 0 / 360.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.0893, allocations: 4 kB / 360.3 MB, free: 11.75 MB / 302.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.0003708/0.08968, allocations: 359.1 kB / 360.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.08972, allocations: 8.031 kB / 360.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.08976, allocations: 4 kB / 360.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.08992, allocations: 178.9 kB / 360.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.08994, allocations: 4 kB / 360.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.08997, allocations: 8 kB / 360.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.09011, allocations: 73.62 kB / 360.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.09013, allocations: 3.938 kB / 360.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.09015, allocations: 4 kB / 360.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.09016, allocations: 4 kB / 360.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.843e-05/0.09024, allocations: 35.97 kB / 361 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005762/0.09082, allocations: 375.6 kB / 361.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.09094, allocations: 66.48 kB / 361.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/0.09098, allocations: 16.86 kB / 361.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.09099, allocations: 0 / 361.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.09102, allocations: 34.56 kB / 361.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.09102, allocations: 0 / 361.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.000657/0.09168, allocations: 0.5096 MB / 362 MB, free: 9.828 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.09173, allocations: 55.5 kB / 362 MB, free: 9.762 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.842e-05/0.09181, allocations: 118 kB / 362.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.09183, allocations: 25.7 kB / 362.2 MB, free: 9.602 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.09188, allocations: 100.2 kB / 362.3 MB, free: 9.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.09192, allocations: 31.55 kB / 362.3 MB, free: 9.469 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.09193, allocations: 4 kB / 362.3 MB, free: 9.465 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.09202, allocations: 314.8 kB / 362.6 MB, free: 9.148 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.539e-05/0.09207, allocations: 31.92 kB / 362.6 MB, free: 9.117 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.662e-05/0.09213, allocations: 53.14 kB / 362.7 MB, free: 9.047 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.317e-05/0.09219, allocations: 28 kB / 362.7 MB, free: 9.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.09219, allocations: 0 / 362.7 MB, free: 9.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001525/0.09235, allocations: 121.4 kB / 362.8 MB, free: 8.895 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.09237, allocations: 4 kB / 362.8 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.09238, allocations: 0 / 362.8 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.0924, allocations: 4 kB / 362.8 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.409e-05/0.09249, allocations: 27.92 kB / 362.9 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.0925, allocations: 240 / 362.9 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.09254, allocations: 4 kB / 362.9 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.09256, allocations: 4 kB / 362.9 MB, free: 8.852 MB / 302.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 8.393e-05/0.09264, allocations: 129.9 kB / 363 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.09268, allocations: 7.906 kB / 363 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.09272, allocations: 8.375 kB / 363 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.09272, allocations: 0 / 363 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.09273, allocations: 0 / 363 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.09274, allocations: 3.938 kB / 363 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.0932, allocations: 414.5 kB / 363.4 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.09321, allocations: 0 / 363.4 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.09333, allocations: 19.98 kB / 363.4 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.09334, allocations: 4 kB / 363.4 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.09335, allocations: 3.938 kB / 363.4 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.09336, allocations: 11.94 kB / 363.5 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.09337, allocations: 0 / 363.5 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.09359, allocations: 232.1 kB / 363.7 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.09364, allocations: 85.14 kB / 363.8 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.09367, allocations: 4 kB / 363.8 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.495e-05/0.09374, allocations: 0 / 363.8 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.151e-05/0.09376, allocations: 20 kB / 363.8 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.09377, allocations: 4 kB / 363.8 MB, free: 7.793 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.704e-05/0.09382, allocations: 95.2 kB / 363.9 MB, free: 7.699 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09383, allocations: 0 / 363.9 MB, free: 7.699 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.09408, allocations: 16 kB / 363.9 MB, free: 7.684 MB / 302.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.387e-05/0.09418, allocations: 95.25 kB / 364 MB, free: 7.578 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001225/0.09431, allocations: 63.92 kB / 364.1 MB, free: 7.516 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.09432, allocations: 0 / 364.1 MB, free: 7.516 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.982e-05/0.09436, allocations: 27.92 kB / 364.1 MB, free: 7.488 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.09468, allocations: 12.62 kB / 364.1 MB, free: 7.477 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005971/0.09529, allocations: 406 kB / 364.5 MB, free: 7.039 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.09557, allocations: 0.6887 MB / 365.2 MB, free: 6.324 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.3e-05/0.09562, allocations: 16.42 kB / 365.2 MB, free: 6.309 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.09565, allocations: 11.44 kB / 365.2 MB, free: 6.297 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.09566, allocations: 0 / 365.2 MB, free: 6.297 MB / 302.1 MB Notification: Performance of Templates: time 0.002886/0.09855, allocations: 0.597 MB / 365.8 MB, free: 5.703 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches