Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001151/0.001151, allocations: 116.9 kB / 18.4 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001246/0.001246, allocations: 200.6 kB / 19.34 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 60.34 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08648/0.08764, allocations: 50.54 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002588/0.09026, allocations: 1.64 MB / 360.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001995/0.09048, allocations: 67.72 kB / 360.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.601e-05/0.09054, allocations: 0 / 360.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.804e-05/0.09065, allocations: 11.92 kB / 360.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.552e-05/0.0907, allocations: 19.84 kB / 360.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001056/0.09081, allocations: 19.92 kB / 360.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.09093, allocations: 63.73 kB / 360.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.09103, allocations: 27.95 kB / 360.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.526e-05/0.09108, allocations: 19.94 kB / 360.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.585e-05/0.09115, allocations: 27.91 kB / 360.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.09117, allocations: 7.938 kB / 360.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.275e-05/0.09119, allocations: 7.938 kB / 360.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.09121, allocations: 8 kB / 360.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.851e-05/0.09125, allocations: 31.86 kB / 360.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.09136, allocations: 67.73 kB / 360.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.09137, allocations: 7.922 kB / 360.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09138, allocations: 0 / 360.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.09139, allocations: 0 / 360.9 MB, free: 11.28 MB / 302.1 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.0004055/0.0918, allocations: 363.3 kB / 361.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.09184, allocations: 12.03 kB / 361.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.09187, allocations: 8.844 kB / 361.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.09205, allocations: 176.3 kB / 361.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.09207, allocations: 8.375 kB / 361.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.0921, allocations: 8.375 kB / 361.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.09223, allocations: 70.17 kB / 361.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.09225, allocations: 192 / 361.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.09227, allocations: 7.938 kB / 361.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.09228, allocations: 7.938 kB / 361.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.651e-05/0.09236, allocations: 31.97 kB / 361.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005904/0.09296, allocations: 387.5 kB / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.235e-05/0.09306, allocations: 54.56 kB / 362 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.394e-05/0.0931, allocations: 20.84 kB / 362 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.09312, allocations: 7.984 kB / 362.1 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.09315, allocations: 30.56 kB / 362.1 MB, free: 9.938 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.09315, allocations: 0 / 362.1 MB, free: 9.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006431/0.0938, allocations: 0.5172 MB / 362.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.09384, allocations: 55.41 kB / 362.7 MB, free: 9.262 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.256e-05/0.09393, allocations: 121.7 kB / 362.8 MB, free: 9.133 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.09395, allocations: 26.17 kB / 362.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.09401, allocations: 96.03 kB / 362.9 MB, free: 9.004 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.09404, allocations: 31.47 kB / 362.9 MB, free: 8.973 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.09408, allocations: 33.7 kB / 363 MB, free: 8.934 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.0942, allocations: 318.8 kB / 363.3 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.355e-05/0.09424, allocations: 19.92 kB / 363.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-05/0.0943, allocations: 57.14 kB / 363.3 MB, free: 8.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.767e-05/0.0944, allocations: 85.08 kB / 363.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.09441, allocations: 4 kB / 363.4 MB, free: 8.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001491/0.09457, allocations: 109.5 kB / 363.5 MB, free: 8.301 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.09458, allocations: 4 kB / 363.5 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.09459, allocations: 0 / 363.5 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.09461, allocations: 4 kB / 363.5 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.726e-05/0.0947, allocations: 28.02 kB / 363.6 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.09472, allocations: 7.938 kB / 363.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.195e-05/0.09476, allocations: 8 kB / 363.6 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.09478, allocations: 4 kB / 363.6 MB, free: 8.246 MB / 302.1 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 7.558e-05/0.09486, allocations: 125.7 kB / 363.7 MB, free: 8.113 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.09489, allocations: 4 kB / 363.7 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.09493, allocations: 16.36 kB / 363.7 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.09493, allocations: 0 / 363.7 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.09494, allocations: 3.938 kB / 363.7 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.09495, allocations: 4 kB / 363.7 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005017/0.09546, allocations: 406.6 kB / 364.1 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.09547, allocations: 3.938 kB / 364.1 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.095e-05/0.09557, allocations: 19.94 kB / 364.2 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.09558, allocations: 4.188 kB / 364.2 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.09559, allocations: 8.156 kB / 364.2 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.0956, allocations: 7.984 kB / 364.2 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.09561, allocations: 0 / 364.2 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.09582, allocations: 235.6 kB / 364.4 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/0.09587, allocations: 85.05 kB / 364.5 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.09589, allocations: 8 kB / 364.5 MB, free: 7.203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.09597, allocations: 4 kB / 364.5 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.09599, allocations: 11.92 kB / 364.5 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.096, allocations: 4 kB / 364.5 MB, free: 7.184 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.753e-05/0.09606, allocations: 95.31 kB / 364.6 MB, free: 7.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09606, allocations: 0 / 364.6 MB, free: 7.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000251/0.09632, allocations: 20.06 kB / 364.6 MB, free: 7.07 MB / 302.1 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 8.936e-05/0.09641, allocations: 103.2 kB / 364.7 MB, free: 6.957 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.09654, allocations: 59.8 kB / 364.8 MB, free: 6.898 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.09655, allocations: 0 / 364.8 MB, free: 6.898 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.735e-05/0.0966, allocations: 27.92 kB / 364.8 MB, free: 6.871 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.09691, allocations: 12.5 kB / 364.8 MB, free: 6.859 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005445/0.09746, allocations: 343 kB / 365.2 MB, free: 6.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.09771, allocations: 0.7002 MB / 365.9 MB, free: 5.754 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.361e-05/0.09776, allocations: 8.422 kB / 365.9 MB, free: 5.746 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.09779, allocations: 11.44 kB / 365.9 MB, free: 5.734 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09779, allocations: 0 / 365.9 MB, free: 5.734 MB / 302.1 MB Notification: Performance of Templates: time 0.002671/0.1005, allocations: 0.6611 MB / 366.6 MB, free: 5.078 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches