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.001506/0.001506, allocations: 111 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001806/0.001806, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001178, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2007, allocations: 50.54 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002597/0.2033, allocations: 1.648 MB / 411.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002225/0.2035, allocations: 67.61 kB / 411.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.187e-05/0.2036, allocations: 4 kB / 411.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.457e-05/0.2037, allocations: 11.92 kB / 411.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.592e-05/0.2038, allocations: 23.8 kB / 411.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001123/0.2039, allocations: 15.97 kB / 411.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.204, allocations: 63.67 kB / 411.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2041, allocations: 19.98 kB / 411.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.665e-05/0.2042, allocations: 19.94 kB / 411.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.185e-05/0.2042, allocations: 31.89 kB / 411.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.2043, allocations: 8 kB / 411.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.474e-05/0.2043, allocations: 11.94 kB / 411.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.2043, allocations: 4 kB / 411.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.878e-05/0.2044, allocations: 27.88 kB / 411.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.2045, allocations: 63.58 kB / 411.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2045, allocations: 4 kB / 411.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2045, allocations: 0 / 411.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.2045, allocations: 4 kB / 411.9 MB, free: 15.54 MB / 334.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.0004132/0.2049, allocations: 360.7 kB / 412.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.205, allocations: 8.031 kB / 412.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.205, allocations: 12.84 kB / 412.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.2052, allocations: 184.2 kB / 412.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.901e-06/0.2052, allocations: 384 / 412.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.2053, allocations: 12.36 kB / 412.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.2054, allocations: 70.17 kB / 412.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.2054, allocations: 4.188 kB / 412.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.2054, allocations: 7.938 kB / 412.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.2055, allocations: 3.938 kB / 412.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.729e-05/0.2055, allocations: 39.91 kB / 412.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000602/0.2061, allocations: 387.5 kB / 413 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.454e-05/0.2063, allocations: 54.56 kB / 413.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.394e-05/0.2063, allocations: 20.84 kB / 413.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.2063, allocations: 0 / 413.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.2063, allocations: 38.5 kB / 413.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.2063, allocations: 4 kB / 413.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000692/0.207, allocations: 0.509 MB / 413.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.2071, allocations: 51.41 kB / 413.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.452e-05/0.2072, allocations: 125.9 kB / 413.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.2072, allocations: 25.7 kB / 413.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.2073, allocations: 96.03 kB / 413.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.2073, allocations: 27.56 kB / 414 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.2073, allocations: 29.7 kB / 414 MB, free: 13.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.649e-05/0.2074, allocations: 318.8 kB / 414.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.635e-05/0.2075, allocations: 15.98 kB / 414.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.804e-05/0.2075, allocations: 64.52 kB / 414.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.2077, allocations: 93.02 kB / 414.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2077, allocations: 0 / 414.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001573/0.2078, allocations: 109.6 kB / 414.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.2078, allocations: 4 kB / 414.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2079, allocations: 4.094 kB / 414.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.2079, allocations: 8.453 kB / 414.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.403e-05/0.208, allocations: 27.98 kB / 414.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.208, allocations: 0 / 414.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.383e-05/0.208, allocations: 7.938 kB / 414.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.208, allocations: 4 kB / 414.6 MB, free: 12.51 MB / 334.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.443e-05/0.2081, allocations: 129.7 kB / 414.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.2082, allocations: 7.906 kB / 414.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.2082, allocations: 8.375 kB / 414.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2082, allocations: 7.984 kB / 414.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2082, allocations: 0 / 414.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.2083, allocations: 88.95 kB / 414.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.2083, allocations: 0 / 414.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.392e-05/0.2084, allocations: 4 kB / 414.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/0.2084, allocations: 11.92 kB / 414.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002084/0.2086, allocations: 160.9 kB / 415 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002257/0.2088, allocations: 278.6 kB / 415.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.704e-05/0.2089, allocations: 24.02 kB / 415.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.494e-05/0.2089, allocations: 91.27 kB / 415.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of Backend: time 2.91e-07/0.2089, allocations: 0 / 415.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003432/0.2093, allocations: 122 kB / 415.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006933/0.21, allocations: 0.7456 MB / 416.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of Templates: time 0.002785/0.2128, allocations: 0.7586 MB / 417 MB, free: 9.984 MB / 334.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 -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