Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 190.7 kB / 17.37 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 226.6 MB / 244.7 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008344/0.0008344, allocations: 102.7 kB / 296.8 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002413/0.0002414, allocations: 8 kB / 356.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2169, allocations: 51.3 MB / 408 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001474/0.2184, allocations: 1.339 MB / 409.4 MB, free: 26.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002171/0.2187, allocations: 68.33 kB / 409.4 MB, free: 26.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.161e-05/0.2187, allocations: 7.938 kB / 409.5 MB, free: 26.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.176e-05/0.2188, allocations: 4.484 kB / 409.5 MB, free: 26.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.977e-05/0.2189, allocations: 13.95 kB / 409.5 MB, free: 26.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001003/0.219, allocations: 11.98 kB / 409.5 MB, free: 26.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.2191, allocations: 63.72 kB / 409.5 MB, free: 26.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.2192, allocations: 16.58 kB / 409.6 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.346e-05/0.2193, allocations: 20.44 kB / 409.6 MB, free: 26.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.518e-05/0.2193, allocations: 26.05 kB / 409.6 MB, free: 26.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.2193, allocations: 4 kB / 409.6 MB, free: 26.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.2194, allocations: 0 / 409.6 MB, free: 26.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.2194, allocations: 11.98 kB / 409.6 MB, free: 26.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.2194, allocations: 53.56 kB / 409.7 MB, free: 26.08 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.004e-05/0.2195, allocations: 36.89 kB / 409.7 MB, free: 26.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2195, allocations: 4.844 kB / 409.7 MB, free: 26.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2195, allocations: 0 / 409.7 MB, free: 26.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.2195, allocations: 0.9688 kB / 409.7 MB, free: 26.04 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.0003421/0.2199, allocations: 356.5 kB / 410.1 MB, free: 25.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2199, allocations: 11.97 kB / 410.1 MB, free: 25.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.22, allocations: 12.78 kB / 410.1 MB, free: 25.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.2201, allocations: 188.2 kB / 410.3 MB, free: 25.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.2201, allocations: 4.375 kB / 410.3 MB, free: 25.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.2202, allocations: 4.375 kB / 410.3 MB, free: 25.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.2203, allocations: 74.17 kB / 410.4 MB, free: 25.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.2203, allocations: 4.125 kB / 410.4 MB, free: 25.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.2203, allocations: 7.938 kB / 410.4 MB, free: 25.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.2203, allocations: 0 / 410.4 MB, free: 25.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.488e-05/0.2204, allocations: 39.97 kB / 410.4 MB, free: 25.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.221, allocations: 373.1 kB / 410.8 MB, free: 24.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.825e-05/0.2211, allocations: 66.48 kB / 410.8 MB, free: 24.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.2211, allocations: 24.84 kB / 410.9 MB, free: 24.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/0.2211, allocations: 0 / 410.9 MB, free: 24.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.308e-05/0.2211, allocations: 30.56 kB / 410.9 MB, free: 24.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.2211, allocations: 0 / 410.9 MB, free: 24.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005855/0.2217, allocations: 0.509 MB / 411.4 MB, free: 24.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.2218, allocations: 51.41 kB / 411.4 MB, free: 24.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.875e-05/0.2218, allocations: 117.8 kB / 411.6 MB, free: 23.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.954e-06/0.2218, allocations: 25.7 kB / 411.6 MB, free: 23.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.2219, allocations: 100.1 kB / 411.7 MB, free: 23.78 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.2219, allocations: 31.56 kB / 411.7 MB, free: 23.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.2219, allocations: 0 / 411.7 MB, free: 23.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.615e-05/0.222, allocations: 322.8 kB / 412 MB, free: 23.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.955e-05/0.222, allocations: 24.39 kB / 412.1 MB, free: 23.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.561e-05/0.2221, allocations: 61.16 kB / 412.1 MB, free: 23.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.793e-05/0.2221, allocations: 85.06 kB / 412.2 MB, free: 23.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2221, allocations: 0 / 412.2 MB, free: 23.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001235/0.2223, allocations: 109.5 kB / 412.3 MB, free: 23.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.2223, allocations: 15.92 kB / 412.3 MB, free: 23.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2223, allocations: 0 / 412.3 MB, free: 23.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2223, allocations: 4 kB / 412.3 MB, free: 23.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.974e-05/0.2224, allocations: 23.94 kB / 412.3 MB, free: 23.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2224, allocations: 11.92 kB / 412.4 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.875e-05/0.2225, allocations: 0 / 412.4 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.2225, allocations: 12.03 kB / 412.4 MB, free: 23.04 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.673e-05/0.2225, allocations: 117.8 kB / 412.5 MB, free: 22.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.2226, allocations: 7.906 kB / 412.5 MB, free: 22.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.2226, allocations: 12.38 kB / 412.5 MB, free: 22.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2226, allocations: 0 / 412.5 MB, free: 22.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2226, allocations: 3.938 kB / 412.5 MB, free: 22.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2226, allocations: 3.938 kB / 412.5 MB, free: 22.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.223, allocations: 410.6 kB / 412.9 MB, free: 22.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.223, allocations: 0 / 412.9 MB, free: 22.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.025e-05/0.2231, allocations: 23.98 kB / 412.9 MB, free: 22.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2231, allocations: 0 / 412.9 MB, free: 22.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.2231, allocations: 7.938 kB / 412.9 MB, free: 22.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.2231, allocations: 4 kB / 412.9 MB, free: 22.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.2231, allocations: 4.156 kB / 413 MB, free: 22.37 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.2233, allocations: 227.6 kB / 413.2 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.2233, allocations: 81.11 kB / 413.3 MB, free: 22.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.2233, allocations: 12.23 kB / 413.3 MB, free: 22.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.391e-05/0.2234, allocations: 8 kB / 413.3 MB, free: 22 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.2234, allocations: 7.984 kB / 413.3 MB, free: 21.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.2234, allocations: 4 kB / 413.3 MB, free: 21.99 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.021e-05/0.2235, allocations: 99.2 kB / 413.4 MB, free: 21.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2235, allocations: 384 / 413.4 MB, free: 21.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000245/0.2237, allocations: 12 kB / 413.4 MB, free: 21.88 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 8.346e-05/0.2238, allocations: 107.2 kB / 413.5 MB, free: 21.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.2239, allocations: 67.72 kB / 413.6 MB, free: 21.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.224, allocations: 0 / 413.6 MB, free: 21.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.952e-05/0.224, allocations: 23.94 kB / 413.6 MB, free: 21.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.2244, allocations: 21.77 kB / 413.6 MB, free: 21.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004666/0.2248, allocations: 427.6 kB / 414 MB, free: 21.19 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.539e-05/0.2249, allocations: 0.6926 MB / 414.7 MB, free: 20.47 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.225, allocations: 15.44 kB / 414.7 MB, free: 20.46 MB / 298.7 MB Notification: Performance of SimCode: time 3e-07/0.225, allocations: 0 / 414.7 MB, free: 20.46 MB / 298.7 MB Notification: Performance of Templates: time 0.001878/0.2269, allocations: 0.9661 MB / 415.7 MB, free: 19.49 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Accelerate --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches