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.0008648/0.0008646, allocations: 97.91 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001032/0.001032, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.7 MB / 247.5 MB, free: 9.488 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002504/0.0002505, allocations: 4 kB / 308.4 MB, free: 0.5703 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09348/0.09375, allocations: 51.53 MB / 359.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001789/0.09557, allocations: 1.36 MB / 361.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000237/0.09584, allocations: 67.7 kB / 361.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.685e-05/0.09593, allocations: 4 kB / 361.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.014e-05/0.09603, allocations: 11.92 kB / 361.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.485e-05/0.09609, allocations: 15.92 kB / 361.4 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001212/0.09622, allocations: 15.98 kB / 361.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.09635, allocations: 63.67 kB / 361.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.09647, allocations: 19.97 kB / 361.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.449e-05/0.09651, allocations: 15.94 kB / 361.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.495e-05/0.09658, allocations: 27.91 kB / 361.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.0966, allocations: 3.938 kB / 361.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.488e-05/0.09662, allocations: 7.938 kB / 361.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.09665, allocations: 11.98 kB / 361.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.027e-05/0.0967, allocations: 49.58 kB / 361.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.661e-05/0.09679, allocations: 52.05 kB / 361.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.09681, allocations: 4 kB / 361.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09681, allocations: 0 / 361.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.09683, allocations: 0 / 361.6 MB, free: 11.31 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.0003969/0.09723, allocations: 355.3 kB / 362 MB, free: 10.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.09727, allocations: 12.03 kB / 362 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.09731, allocations: 4.938 kB / 362 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.09748, allocations: 184.2 kB / 362.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.0975, allocations: 4.375 kB / 362.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.09754, allocations: 8.375 kB / 362.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.09768, allocations: 70.17 kB / 362.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.0977, allocations: 192 / 362.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.09772, allocations: 7.938 kB / 362.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.09774, allocations: 4 kB / 362.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.805e-05/0.09782, allocations: 31.97 kB / 362.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006241/0.09845, allocations: 375.6 kB / 362.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.09857, allocations: 62.48 kB / 362.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.09862, allocations: 20.84 kB / 362.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.09863, allocations: 4 kB / 362.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.09866, allocations: 30.56 kB / 362.8 MB, free: 9.984 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.09867, allocations: 4 kB / 362.8 MB, free: 9.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007221/0.09939, allocations: 0.5051 MB / 363.3 MB, free: 9.383 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.09944, allocations: 51.41 kB / 363.3 MB, free: 9.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.999e-05/0.09954, allocations: 121.8 kB / 363.5 MB, free: 9.191 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.09956, allocations: 37.64 kB / 363.5 MB, free: 9.148 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.09962, allocations: 96.19 kB / 363.6 MB, free: 9.051 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.09965, allocations: 31.55 kB / 363.6 MB, free: 9.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.09968, allocations: 21.7 kB / 363.6 MB, free: 8.992 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.0998, allocations: 314.8 kB / 364 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.788e-05/0.09984, allocations: 19.98 kB / 364 MB, free: 8.656 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.137e-05/0.09991, allocations: 57.14 kB / 364 MB, free: 8.582 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.1, allocations: 89.06 kB / 364.1 MB, free: 8.477 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1, allocations: 4 kB / 364.1 MB, free: 8.473 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000159/0.1002, allocations: 105.5 kB / 364.2 MB, free: 8.363 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1002, allocations: 8 kB / 364.2 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1002, allocations: 0 / 364.2 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1003, allocations: 8.094 kB / 364.2 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-05/0.1003, allocations: 23.92 kB / 364.3 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.1004, allocations: 8.797 kB / 364.3 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.181e-05/0.1004, allocations: 7.938 kB / 364.3 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.1004, allocations: 8 kB / 364.3 MB, free: 8.301 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.739e-05/0.1005, allocations: 121.7 kB / 364.4 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.1006, allocations: 3.906 kB / 364.4 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.1006, allocations: 16.38 kB / 364.4 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1006, allocations: 4 kB / 364.4 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1006, allocations: 11.92 kB / 364.4 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1006, allocations: 0 / 364.4 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.1011, allocations: 402.5 kB / 364.8 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.1011, allocations: 3.984 kB / 364.8 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.962e-05/0.1012, allocations: 24.09 kB / 364.9 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.1012, allocations: 4 kB / 364.9 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1012, allocations: 4 kB / 364.9 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1012, allocations: 4 kB / 364.9 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1012, allocations: 0 / 364.9 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.1015, allocations: 231.6 kB / 365.1 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.1015, allocations: 89.03 kB / 365.2 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.1016, allocations: 4 kB / 365.2 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-05/0.1016, allocations: 4.469 kB / 365.2 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/0.1017, allocations: 7.938 kB / 365.2 MB, free: 7.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/0.1017, allocations: 7.984 kB / 365.2 MB, free: 7.246 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.725e-05/0.1017, allocations: 95.28 kB / 365.3 MB, free: 7.152 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1017, allocations: 0 / 365.3 MB, free: 7.152 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.102, allocations: 20 kB / 365.3 MB, free: 7.133 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 (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.000104/0.1021, allocations: 99.23 kB / 365.4 MB, free: 7.023 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.1023, allocations: 68.06 kB / 365.5 MB, free: 6.957 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1023, allocations: 0 / 365.5 MB, free: 6.957 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.057e-05/0.1023, allocations: 32.3 kB / 365.5 MB, free: 6.926 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.1027, allocations: 15.5 kB / 365.5 MB, free: 6.914 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005832/0.1033, allocations: 431.2 kB / 366 MB, free: 6.445 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.1035, allocations: 0.6887 MB / 366.6 MB, free: 5.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.1035, allocations: 15.44 kB / 366.7 MB, free: 5.715 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1035, allocations: 0 / 366.7 MB, free: 5.715 MB / 302.1 MB Notification: Performance of Templates: time 0.002325/0.1059, allocations: 0.9731 MB / 367.6 MB, free: 4.738 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches