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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 180.9 kB / 17.01 MB, free: 5.125 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.583/1.583, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0008382/0.0008382, allocations: 96.84 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003675, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2914, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0982/0.3896, allocations: 75.28 MB / 451.1 MB, free: 5.383 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.39, allocations: 67.97 kB / 451.2 MB, free: 5.316 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003615/0.3936, allocations: 1.337 MB / 452.5 MB, free: 3.977 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3936, allocations: 0 / 452.5 MB, free: 3.977 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.3936, allocations: 0 / 452.5 MB, free: 3.977 MB / 330.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.0003623/0.394, allocations: 351.2 kB / 452.8 MB, free: 3.586 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.394, allocations: 8.031 kB / 452.8 MB, free: 3.578 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.3941, allocations: 11.91 kB / 452.9 MB, free: 3.566 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.3943, allocations: 178.9 kB / 453 MB, free: 3.352 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.3943, allocations: 4 kB / 453 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.3943, allocations: 11.95 kB / 453 MB, free: 3.336 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.3945, allocations: 72.42 kB / 453.1 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3945, allocations: 0 / 453.1 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.3945, allocations: 4 kB / 453.1 MB, free: 3.258 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3945, allocations: 0 / 453.1 MB, free: 3.258 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.85e-05/0.3946, allocations: 35.97 kB / 453.2 MB, free: 3.223 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006654/0.3953, allocations: 379.6 kB / 453.5 MB, free: 2.793 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.3954, allocations: 58.5 kB / 453.6 MB, free: 2.727 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.3954, allocations: 0 / 453.6 MB, free: 2.727 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.3955, allocations: 38.55 kB / 453.6 MB, free: 2.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.3955, allocations: 4 kB / 453.6 MB, free: 2.676 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007282/0.3962, allocations: 0.5097 MB / 454.1 MB, free: 2.074 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.3963, allocations: 51.41 kB / 454.2 MB, free: 2.012 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.35e-05/0.3964, allocations: 109.2 kB / 454.3 MB, free: 1.895 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.3964, allocations: 29.7 kB / 454.3 MB, free: 1.859 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.3964, allocations: 92.2 kB / 454.4 MB, free: 1.766 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.3965, allocations: 43.44 kB / 454.4 MB, free: 1.723 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.3965, allocations: 3.938 kB / 454.5 MB, free: 1.719 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.3966, allocations: 325 kB / 454.8 MB, free: 1.395 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.189e-05/0.3967, allocations: 15.98 kB / 454.8 MB, free: 1.379 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.86e-05/0.3967, allocations: 57.14 kB / 454.8 MB, free: 1.305 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.016e-05/0.3968, allocations: 31.98 kB / 454.9 MB, free: 1.273 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3968, allocations: 0 / 454.9 MB, free: 1.273 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001557/0.397, allocations: 109.5 kB / 455 MB, free: 1.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.397, allocations: 4 kB / 455 MB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.397, allocations: 4 kB / 455 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.397, allocations: 0 / 455 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.219e-05/0.3971, allocations: 27.94 kB / 455 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.3971, allocations: 12.08 kB / 455 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.968e-05/0.3972, allocations: 4 kB / 455 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.3972, allocations: 4 kB / 455 MB, free: 1.105 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 () * 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.727e-05/0.3973, allocations: 121.7 kB / 455.2 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.3973, allocations: 7.906 kB / 455.2 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.3974, allocations: 12.31 kB / 455.2 MB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3974, allocations: 7.938 kB / 455.2 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3974, allocations: 0 / 455.2 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3974, allocations: 0 / 455.2 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000455/0.3979, allocations: 410.6 kB / 455.6 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3979, allocations: 0 / 455.6 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.168e-05/0.398, allocations: 23.92 kB / 455.6 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.398, allocations: 0 / 455.6 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.398, allocations: 4.156 kB / 455.6 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-06/0.398, allocations: 11.95 kB / 455.6 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.398, allocations: 0 / 455.6 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.3983, allocations: 288.6 kB / 455.9 MB, free: 96 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.59e-05/0.3984, allocations: 89.16 kB / 456 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.3984, allocations: 3.938 kB / 456 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.775e-05/0.3985, allocations: 7.938 kB / 456 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.178e-05/0.3985, allocations: 12.02 kB / 456 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.3985, allocations: 4 kB / 456 MB, free: 15.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.269e-05/0.3986, allocations: 95.2 kB / 456.1 MB, free: 15.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3986, allocations: 0 / 456.1 MB, free: 15.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002342/0.3988, allocations: 16 kB / 456.1 MB, free: 15.85 MB / 346.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 () * 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 0.0001217/0.3989, allocations: 103.2 kB / 456.2 MB, free: 15.74 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.3991, allocations: 60.23 kB / 456.3 MB, free: 15.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3991, allocations: 4.188 kB / 456.3 MB, free: 15.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.896e-05/0.3991, allocations: 27.92 kB / 456.3 MB, free: 15.65 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.3994, allocations: 9.609 kB / 456.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000577/0.4, allocations: 394.2 kB / 456.7 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.4003, allocations: 0.6926 MB / 457.4 MB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.776e-05/0.4003, allocations: 12.42 kB / 457.4 MB, free: 14.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.4003, allocations: 11.44 kB / 457.4 MB, free: 14.47 MB / 346.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4003, allocations: 4 kB / 457.4 MB, free: 14.47 MB / 346.7 MB Notification: Performance of Templates: time 0.002506/0.4029, allocations: 0.5964 MB / 458 MB, free: 13.88 MB / 346.7 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 -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/jenkins/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_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches