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.002783/0.002783, allocations: 174.5 kB / 16.72 MB, free: 5.082 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.362/1.362, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007292/0.0007292, allocations: 87.09 kB / 271.2 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.0003029, allocations: 8 kB / 327.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2039, allocations: 47.56 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001372/0.2053, allocations: 1.323 MB / 376.4 MB, free: 44.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001873/0.2055, allocations: 74.22 kB / 376.5 MB, free: 44.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/0.2056, allocations: 2.094 kB / 376.5 MB, free: 44.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.119e-05/0.2057, allocations: 4.969 kB / 376.5 MB, free: 44.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.187e-05/0.2057, allocations: 17.8 kB / 376.5 MB, free: 44.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001103/0.2058, allocations: 11.2 kB / 376.5 MB, free: 44.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.206, allocations: 64.47 kB / 376.6 MB, free: 44.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.2061, allocations: 16.44 kB / 376.6 MB, free: 44.24 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.142e-05/0.2061, allocations: 21.67 kB / 376.6 MB, free: 44.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.713e-05/0.2062, allocations: 24.69 kB / 376.6 MB, free: 44.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.2062, allocations: 2.75 kB / 376.6 MB, free: 44.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.722e-05/0.2063, allocations: 5.906 kB / 376.6 MB, free: 44.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.343e-05/0.2063, allocations: 6.312 kB / 376.6 MB, free: 44.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.2063, allocations: 47.39 kB / 376.7 MB, free: 44.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.807e-05/0.2064, allocations: 48.45 kB / 376.7 MB, free: 44.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2064, allocations: 1.281 kB / 376.7 MB, free: 44.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2064, allocations: 7.938 kB / 376.8 MB, free: 44.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.2064, allocations: 0 / 376.8 MB, free: 44.12 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.0003402/0.2068, allocations: 352.7 kB / 377.1 MB, free: 43.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2068, allocations: 9.906 kB / 377.1 MB, free: 43.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.2068, allocations: 8.031 kB / 377.1 MB, free: 43.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.207, allocations: 185.9 kB / 377.3 MB, free: 43.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.207, allocations: 7.531 kB / 377.3 MB, free: 43.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.207, allocations: 9.375 kB / 377.3 MB, free: 43.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.2072, allocations: 69.08 kB / 377.4 MB, free: 43.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.2072, allocations: 4.094 kB / 377.4 MB, free: 43.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.2072, allocations: 5.312 kB / 377.4 MB, free: 43.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.2072, allocations: 1.062 kB / 377.4 MB, free: 43.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.181e-05/0.2073, allocations: 38.94 kB / 377.4 MB, free: 43.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/0.2078, allocations: 373.1 kB / 377.8 MB, free: 43.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.564e-05/0.2079, allocations: 70.03 kB / 377.9 MB, free: 43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.354e-05/0.208, allocations: 16.17 kB / 377.9 MB, free: 42.99 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.208, allocations: 1.188 kB / 377.9 MB, free: 42.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.208, allocations: 35.75 kB / 377.9 MB, free: 42.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.208, allocations: 0 / 377.9 MB, free: 42.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006541/0.2087, allocations: 0.5107 MB / 378.4 MB, free: 42.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.2087, allocations: 52.5 kB / 378.5 MB, free: 42.37 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.2088, allocations: 119.8 kB / 378.6 MB, free: 42.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.2088, allocations: 33.64 kB / 378.6 MB, free: 42.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.2089, allocations: 95.94 kB / 378.7 MB, free: 42.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.2089, allocations: 38.81 kB / 378.8 MB, free: 42.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.2089, allocations: 1.281 kB / 378.8 MB, free: 42.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.259e-05/0.2089, allocations: 316 kB / 379.1 MB, free: 41.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.148e-05/0.209, allocations: 21.77 kB / 379.1 MB, free: 41.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.282e-05/0.209, allocations: 67.98 kB / 379.2 MB, free: 41.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.008e-05/0.2091, allocations: 87.53 kB / 379.2 MB, free: 41.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2091, allocations: 3.984 kB / 379.2 MB, free: 41.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001392/0.2093, allocations: 104.7 kB / 379.3 MB, free: 41.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2093, allocations: 4.844 kB / 379.3 MB, free: 41.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.2093, allocations: 2 kB / 379.4 MB, free: 41.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2093, allocations: 2.125 kB / 379.4 MB, free: 41.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.395e-05/0.2094, allocations: 27.08 kB / 379.4 MB, free: 41.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/0.2094, allocations: 6.156 kB / 379.4 MB, free: 41.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.69e-05/0.2095, allocations: 1.125 kB / 379.4 MB, free: 41.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.2095, allocations: 8.594 kB / 379.4 MB, free: 41.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.394e-05/0.2096, allocations: 122.3 kB / 379.5 MB, free: 41.4 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.2096, allocations: 3.5 kB / 379.5 MB, free: 41.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.2096, allocations: 9.406 kB / 379.5 MB, free: 41.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2096, allocations: 1.188 kB / 379.5 MB, free: 41.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.2096, allocations: 4.906 kB / 379.5 MB, free: 41.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.2096, allocations: 3.984 kB / 379.5 MB, free: 41.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.21, allocations: 413.2 kB / 379.9 MB, free: 40.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.21, allocations: 1.203 kB / 379.9 MB, free: 40.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.469e-05/0.2101, allocations: 23.59 kB / 380 MB, free: 40.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2101, allocations: 2.094 kB / 380 MB, free: 40.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.2101, allocations: 2.375 kB / 380 MB, free: 40.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.2101, allocations: 2.875 kB / 380 MB, free: 40.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2101, allocations: 5.344 kB / 380 MB, free: 40.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.2103, allocations: 231 kB / 380.2 MB, free: 40.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.2104, allocations: 95.78 kB / 380.3 MB, free: 40.63 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.2104, allocations: 6.969 kB / 380.3 MB, free: 40.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.394e-05/0.2105, allocations: 1.406 kB / 380.3 MB, free: 40.63 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.2105, allocations: 11.91 kB / 380.3 MB, free: 40.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.2105, allocations: 3.562 kB / 380.3 MB, free: 40.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.312e-05/0.2105, allocations: 95.36 kB / 380.4 MB, free: 40.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2105, allocations: 0 / 380.4 MB, free: 40.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002312/0.2108, allocations: 17.41 kB / 380.4 MB, free: 40.53 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 (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 7.764e-05/0.2109, allocations: 102.2 kB / 380.5 MB, free: 40.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.211, allocations: 61.34 kB / 380.6 MB, free: 40.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.211, allocations: 0 / 380.6 MB, free: 40.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.569e-05/0.211, allocations: 24.78 kB / 380.6 MB, free: 40.4 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.2114, allocations: 14.08 kB / 380.6 MB, free: 40.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/0.2119, allocations: 425.8 kB / 381 MB, free: 40 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.212, allocations: 0.6965 MB / 381.7 MB, free: 39.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.212, allocations: 11.72 kB / 381.8 MB, free: 39.29 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.212, allocations: 1.062 kB / 381.8 MB, free: 39.29 MB / 298.7 MB Notification: Performance of Templates: time 0.001955/0.214, allocations: 0.9727 MB / 382.7 MB, free: 38.8 MB / 298.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/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_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches