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.001076/0.001076, allocations: 187 kB / 17.92 MB, free: 3.855 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.167/1.167, allocations: 205.1 MB / 223.8 MB, free: 8.477 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.0009302/0.0009301, allocations: 110.9 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007647/0.0007647, allocations: 43.94 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1977, allocations: 46.62 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002506/0.2002, allocations: 1.681 MB / 375.5 MB, free: 44.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001947/0.2005, allocations: 75.06 kB / 375.6 MB, free: 44.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.868e-05/0.2005, allocations: 5.375 kB / 375.6 MB, free: 44.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.775e-05/0.2006, allocations: 8.984 kB / 375.6 MB, free: 44.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.807e-05/0.2007, allocations: 10.05 kB / 375.6 MB, free: 44.4 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000111/0.2008, allocations: 15.11 kB / 375.6 MB, free: 44.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.2009, allocations: 63.73 kB / 375.7 MB, free: 44.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.201, allocations: 19.17 kB / 375.7 MB, free: 44.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.249e-05/0.2011, allocations: 21.78 kB / 375.7 MB, free: 44.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.075e-05/0.2011, allocations: 29.59 kB / 375.7 MB, free: 44.31 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.2012, allocations: 2.594 kB / 375.7 MB, free: 44.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.567e-05/0.2012, allocations: 3.75 kB / 375.7 MB, free: 44.31 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.2012, allocations: 13.17 kB / 375.8 MB, free: 44.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.2013, allocations: 27.38 kB / 375.8 MB, free: 44.28 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.323e-05/0.2014, allocations: 68.64 kB / 375.9 MB, free: 44.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2014, allocations: 0 / 375.9 MB, free: 44.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.2014, allocations: 1.094 kB / 375.9 MB, free: 44.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.2014, allocations: 0 / 375.9 MB, free: 44.23 MB / 298.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.0004037/0.2018, allocations: 364.9 kB / 376.2 MB, free: 43.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.2018, allocations: 9.156 kB / 376.2 MB, free: 43.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.2019, allocations: 8.312 kB / 376.2 MB, free: 43.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.202, allocations: 182.7 kB / 376.4 MB, free: 43.63 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.202, allocations: 6.562 kB / 376.4 MB, free: 43.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.202, allocations: 8.875 kB / 376.4 MB, free: 43.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.2022, allocations: 69.83 kB / 376.5 MB, free: 43.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.2022, allocations: 4.172 kB / 376.5 MB, free: 43.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.2022, allocations: 4.938 kB / 376.5 MB, free: 43.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2022, allocations: 9.344 kB / 376.5 MB, free: 43.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.535e-05/0.2023, allocations: 35.64 kB / 376.5 MB, free: 43.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005619/0.2029, allocations: 373.2 kB / 376.9 MB, free: 43.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.203, allocations: 59.31 kB / 377 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/0.203, allocations: 16.14 kB / 377 MB, free: 43.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.2031, allocations: 5.438 kB / 377 MB, free: 43.1 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.2031, allocations: 34.56 kB / 377 MB, free: 43.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.2031, allocations: 1.281 kB / 377 MB, free: 43.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006077/0.2037, allocations: 0.5063 MB / 377.5 MB, free: 42.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.2037, allocations: 57.59 kB / 377.6 MB, free: 42.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.042e-05/0.2038, allocations: 127.7 kB / 377.7 MB, free: 42.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.2038, allocations: 25.7 kB / 377.7 MB, free: 42.33 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.2039, allocations: 95.39 kB / 377.8 MB, free: 42.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.2039, allocations: 31.2 kB / 377.9 MB, free: 42.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.2039, allocations: 28.88 kB / 377.9 MB, free: 42.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.9e-05/0.204, allocations: 321 kB / 378.2 MB, free: 41.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.139e-05/0.204, allocations: 21.83 kB / 378.2 MB, free: 41.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.599e-05/0.2041, allocations: 67.83 kB / 378.3 MB, free: 41.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.478e-05/0.2042, allocations: 79.97 kB / 378.4 MB, free: 41.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2042, allocations: 1.094 kB / 378.4 MB, free: 41.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001378/0.2043, allocations: 113.1 kB / 378.5 MB, free: 41.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.2043, allocations: 9.672 kB / 378.5 MB, free: 41.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.2043, allocations: 1.062 kB / 378.5 MB, free: 41.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.2044, allocations: 6.312 kB / 378.5 MB, free: 41.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.078e-05/0.2045, allocations: 22.58 kB / 378.5 MB, free: 41.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2045, allocations: 10.52 kB / 378.5 MB, free: 41.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.715e-05/0.2045, allocations: 1.344 kB / 378.5 MB, free: 41.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.2045, allocations: 5.156 kB / 378.5 MB, free: 41.61 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.171e-05/0.2046, allocations: 122 kB / 378.6 MB, free: 41.49 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.2046, allocations: 10.52 kB / 378.7 MB, free: 41.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.2047, allocations: 9.719 kB / 378.7 MB, free: 41.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2047, allocations: 2.562 kB / 378.7 MB, free: 41.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2047, allocations: 3.938 kB / 378.7 MB, free: 41.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2047, allocations: 0 / 378.7 MB, free: 41.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003633/0.205, allocations: 417.5 kB / 379.1 MB, free: 41.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2051, allocations: 1.312 kB / 379.1 MB, free: 41.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.716e-05/0.2052, allocations: 19.52 kB / 379.1 MB, free: 41.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.2052, allocations: 2.875 kB / 379.1 MB, free: 41.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.2052, allocations: 1.219 kB / 379.1 MB, free: 41.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.2052, allocations: 7.469 kB / 379.1 MB, free: 41.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2052, allocations: 0 / 379.1 MB, free: 41.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005764/0.2058, allocations: 1.088 MB / 380.2 MB, free: 39.9 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/0.2058, allocations: 79.48 kB / 380.3 MB, free: 39.81 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.2058, allocations: 11.34 kB / 380.3 MB, free: 39.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.289e-05/0.2059, allocations: 1.156 kB / 380.3 MB, free: 39.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.2059, allocations: 8.328 kB / 380.3 MB, free: 39.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.2059, allocations: 11.19 kB / 380.3 MB, free: 39.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.932e-05/0.206, allocations: 91.92 kB / 380.4 MB, free: 39.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.206, allocations: 5.156 kB / 380.4 MB, free: 39.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002958/0.2063, allocations: 17.34 kB / 380.4 MB, free: 39.7 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.142e-05/0.2063, allocations: 100.5 kB / 380.5 MB, free: 39.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.2065, allocations: 58.52 kB / 380.6 MB, free: 39.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2065, allocations: 0 / 380.6 MB, free: 39.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.23e-05/0.2065, allocations: 28.89 kB / 380.6 MB, free: 39.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.2068, allocations: 19.38 kB / 380.6 MB, free: 39.56 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005173/0.2073, allocations: 494.8 kB / 381.1 MB, free: 39.1 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.2075, allocations: 0.6918 MB / 381.8 MB, free: 38.4 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.637e-05/0.2075, allocations: 9.953 kB / 381.8 MB, free: 38.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.132e-05/0.2075, allocations: 16.31 kB / 381.8 MB, free: 38.38 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2075, allocations: 0 / 381.8 MB, free: 38.38 MB / 298.7 MB Notification: Performance of Templates: time 0.002386/0.2099, allocations: 0.6785 MB / 382.5 MB, free: 38.04 MB / 298.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@2/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