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.004282/0.00429, allocations: 186.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.17/3.17, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.002048/0.002048, allocations: 94.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006763/0.0006768, allocations: 8 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1902, allocations: 47.57 MB / 374.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003643/0.1939, allocations: 1.312 MB / 375.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004019/0.1944, allocations: 71.75 kB / 375.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.1945, allocations: 4 kB / 375.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.223e-05/0.1946, allocations: 3.938 kB / 375.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.1947, allocations: 23.95 kB / 375.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.195, allocations: 7.984 kB / 376 MB, free: 14.01 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.1952, allocations: 51.88 kB / 376 MB, free: 13.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.1954, allocations: 11.98 kB / 376 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.514e-05/0.1955, allocations: 23.92 kB / 376 MB, free: 13.92 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.1956, allocations: 19.92 kB / 376.1 MB, free: 13.9 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.1956, allocations: 4 kB / 376.1 MB, free: 13.9 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.623e-05/0.1957, allocations: 0 / 376.1 MB, free: 13.9 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.328e-05/0.1957, allocations: 11.94 kB / 376.1 MB, free: 13.89 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.063e-05/0.1958, allocations: 33.7 kB / 376.1 MB, free: 13.85 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.196, allocations: 48.11 kB / 376.2 MB, free: 13.8 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.196, allocations: 0 / 376.2 MB, free: 13.8 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.196, allocations: 0 / 376.2 MB, free: 13.8 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.545e-06/0.1961, allocations: 4 kB / 376.2 MB, free: 13.8 MB / 282.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.0007788/0.1968, allocations: 359.2 kB / 376.5 MB, free: 13.4 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.633e-05/0.1969, allocations: 8.031 kB / 376.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.226e-05/0.197, allocations: 7.906 kB / 376.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.1974, allocations: 175 kB / 376.7 MB, free: 13.17 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.1974, allocations: 11.95 kB / 376.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.364e-05/0.1975, allocations: 4 kB / 376.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.1978, allocations: 74.38 kB / 376.8 MB, free: 13.08 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.1979, allocations: 3.906 kB / 376.8 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.1979, allocations: 0 / 376.8 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.198, allocations: 4 kB / 376.8 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.1982, allocations: 39.91 kB / 376.8 MB, free: 13.03 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.1996, allocations: 367.7 kB / 377.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.1999, allocations: 62.5 kB / 377.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.2, allocations: 4 kB / 377.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.2, allocations: 38.5 kB / 377.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 7.084e-06/0.2001, allocations: 3.984 kB / 377.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.001923/0.202, allocations: 0.513 MB / 377.8 MB, free: 11.88 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.2022, allocations: 63.36 kB / 377.9 MB, free: 11.81 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004867/0.2027, allocations: 118 kB / 378 MB, free: 11.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.523e-05/0.2029, allocations: 25.7 kB / 378 MB, free: 11.65 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/0.2032, allocations: 162.5 kB / 378.2 MB, free: 11.49 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.394e-05/0.2033, allocations: 35.45 kB / 378.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-06/0.2033, allocations: 0 / 378.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.2036, allocations: 314.8 kB / 378.5 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.2037, allocations: 19.98 kB / 378.5 MB, free: 11.12 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.2039, allocations: 73.08 kB / 378.6 MB, free: 11.03 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.204, allocations: 20 kB / 378.6 MB, free: 11.01 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/0.2041, allocations: 4 kB / 378.6 MB, free: 11 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004795/0.2046, allocations: 105.6 kB / 378.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.2046, allocations: 4 kB / 378.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.2046, allocations: 4 kB / 378.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.358e-05/0.2047, allocations: 0 / 378.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.205, allocations: 27.92 kB / 378.8 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.393e-05/0.205, allocations: 7.953 kB / 378.8 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.2052, allocations: 4 kB / 378.8 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.2052, allocations: 4 kB / 378.8 MB, free: 10.84 MB / 282.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 0.0001841/0.2054, allocations: 117.8 kB / 378.9 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.526e-05/0.2055, allocations: 15.92 kB / 378.9 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.455e-05/0.2056, allocations: 12.38 kB / 378.9 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.2056, allocations: 4 kB / 378.9 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.2056, allocations: 0 / 378.9 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.2056, allocations: 3.953 kB / 378.9 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.2069, allocations: 402.6 kB / 379.3 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.207, allocations: 4 kB / 379.3 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.2073, allocations: 19.98 kB / 379.3 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.535e-05/0.2073, allocations: 3.953 kB / 379.4 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.2073, allocations: 8 kB / 379.4 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.451e-05/0.2074, allocations: 480 / 379.4 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/0.2074, allocations: 7.938 kB / 379.4 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006444/0.2081, allocations: 296.3 kB / 379.7 MB, free: 9.824 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.2082, allocations: 81.02 kB / 379.7 MB, free: 9.727 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/0.2083, allocations: 8 kB / 379.7 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.2085, allocations: 0 / 379.7 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.2086, allocations: 11.94 kB / 379.8 MB, free: 9.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.2086, allocations: 4.188 kB / 379.8 MB, free: 9.703 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001451/0.2088, allocations: 99.27 kB / 379.9 MB, free: 9.605 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.2088, allocations: 0 / 379.9 MB, free: 9.605 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007322/0.2095, allocations: 12 kB / 379.9 MB, free: 9.594 MB / 282.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.0002332/0.2098, allocations: 111.2 kB / 380 MB, free: 9.473 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003346/0.2102, allocations: 51.92 kB / 380 MB, free: 9.422 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.2102, allocations: 0 / 380 MB, free: 9.422 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.2103, allocations: 31.86 kB / 380.1 MB, free: 9.391 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006178/0.211, allocations: 12 kB / 380.1 MB, free: 9.379 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.2124, allocations: 419.7 kB / 380.5 MB, free: 8.922 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005314/0.213, allocations: 0.7043 MB / 381.2 MB, free: 8.191 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.482e-05/0.2131, allocations: 11.44 kB / 381.2 MB, free: 8.18 MB / 282.7 MB Notification: Performance of SimCode: time 1.933e-06/0.2131, allocations: 0 / 381.2 MB, free: 8.18 MB / 282.7 MB Notification: Performance of Templates: time 0.005063/0.2182, allocations: 0.9621 MB / 382.2 MB, free: 7.223 MB / 282.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