Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001564/0.001564, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.987/1.987, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 94.64 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.156e-05/3.187e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09699/0.09705, allocations: 47.57 MB / 369.1 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3942/0.4913, allocations: 75.18 MB / 444.3 MB, free: 1.949 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.4915, allocations: 66.78 kB / 444.3 MB, free: 1.914 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005225/0.4968, allocations: 1.332 MB / 445.7 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4968, allocations: 0 / 445.7 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.4969, allocations: 3.375 kB / 445.7 MB, free: 0.7656 MB / 314.7 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.0003926/0.4973, allocations: 346.8 kB / 446 MB, free: 396 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4973, allocations: 12.03 kB / 446 MB, free: 384 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.4974, allocations: 4 kB / 446 MB, free: 380 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.4976, allocations: 186.7 kB / 446.2 MB, free: 156 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.4976, allocations: 4 kB / 446.2 MB, free: 152 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.4977, allocations: 15 kB / 446.2 MB, free: 140 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.4978, allocations: 65.66 kB / 446.3 MB, free: 84 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.4979, allocations: 3.984 kB / 446.3 MB, free: 80 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.4979, allocations: 4 kB / 446.3 MB, free: 76 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.4979, allocations: 4 kB / 446.3 MB, free: 72 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.498, allocations: 29.56 kB / 446.3 MB, free: 52 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008303/0.4989, allocations: 384.4 kB / 446.7 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.499, allocations: 52.89 kB / 446.8 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.163e-05/0.4991, allocations: 16.61 kB / 446.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.4991, allocations: 7.922 kB / 446.8 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.4992, allocations: 34.56 kB / 446.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.625e-06/0.4992, allocations: 4.656 kB / 446.8 MB, free: 15.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008987/0.5001, allocations: 0.494 MB / 447.3 MB, free: 14.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.5001, allocations: 51.41 kB / 447.4 MB, free: 14.92 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.5003, allocations: 116.3 kB / 447.5 MB, free: 14.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.5003, allocations: 29.7 kB / 447.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/0.5004, allocations: 163.8 kB / 447.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.5004, allocations: 34.36 kB / 447.7 MB, free: 14.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.5004, allocations: 0 / 447.7 MB, free: 14.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.5006, allocations: 314.3 kB / 448 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.213e-05/0.5006, allocations: 14.94 kB / 448 MB, free: 14.26 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.051e-05/0.5007, allocations: 62.89 kB / 448.1 MB, free: 14.19 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.844e-05/0.5008, allocations: 25.98 kB / 448.1 MB, free: 14.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5008, allocations: 0 / 448.1 MB, free: 14.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002294/0.5011, allocations: 109.3 kB / 448.2 MB, free: 14.08 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.5011, allocations: 8 kB / 448.2 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.5011, allocations: 96 / 448.2 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.5012, allocations: 8 kB / 448.2 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.5013, allocations: 20.12 kB / 448.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.5014, allocations: 8.141 kB / 448.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.401e-05/0.5014, allocations: 0 / 448.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.5015, allocations: 11.27 kB / 448.3 MB, free: 14.03 MB / 330.7 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 () * 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.292e-05/0.5016, allocations: 112.4 kB / 448.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.5016, allocations: 7.984 kB / 448.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.766e-05/0.5016, allocations: 7.75 kB / 448.4 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.5017, allocations: 7.984 kB / 448.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.5017, allocations: 4 kB / 448.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5017, allocations: 3.938 kB / 448.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006697/0.5024, allocations: 411.1 kB / 448.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5024, allocations: 4.156 kB / 448.8 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.5026, allocations: 20 kB / 448.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.5026, allocations: 0 / 448.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.5026, allocations: 7.188 kB / 448.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.5026, allocations: 3.953 kB / 448.8 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.5026, allocations: 7.984 kB / 448.8 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.503, allocations: 286.9 kB / 449.1 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.623e-05/0.5031, allocations: 85.05 kB / 449.2 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.5031, allocations: 11.17 kB / 449.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.691e-05/0.5032, allocations: 4.062 kB / 449.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.5033, allocations: 11.2 kB / 449.2 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.5033, allocations: 8 kB / 449.2 MB, free: 12.96 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.48e-05/0.5034, allocations: 90.33 kB / 449.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5034, allocations: 0 / 449.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003315/0.5037, allocations: 19.31 kB / 449.4 MB, free: 12.86 MB / 330.7 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 () * 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 0.0001535/0.5039, allocations: 102.6 kB / 449.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.5041, allocations: 57.92 kB / 449.5 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5041, allocations: 0 / 449.5 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.759e-05/0.5042, allocations: 26.56 kB / 449.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.5045, allocations: 11.31 kB / 449.5 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006739/0.5052, allocations: 289.1 kB / 449.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.5055, allocations: 0.7004 MB / 450.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.5056, allocations: 11.44 kB / 450.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of SimCode: time 8.11e-07/0.5056, allocations: 0 / 450.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of Templates: time 0.003057/0.5086, allocations: 0.9418 MB / 451.5 MB, free: 10.7 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches