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.001342/0.001342, allocations: 113 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2737, allocations: 50.54 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002489/0.2762, allocations: 1.647 MB / 411.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002288/0.2765, allocations: 75.7 kB / 411.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.85e-05/0.2765, allocations: 0 / 411.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.834e-05/0.2767, allocations: 15.92 kB / 411.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.225e-05/0.2767, allocations: 11.86 kB / 411.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.2768, allocations: 19.92 kB / 411.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.277, allocations: 67.72 kB / 411.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.2771, allocations: 15.98 kB / 411.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.326e-05/0.2771, allocations: 27.86 kB / 411.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.827e-05/0.2772, allocations: 23.92 kB / 411.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.2772, allocations: 8 kB / 411.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.715e-05/0.2773, allocations: 4 kB / 411.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.2773, allocations: 15.92 kB / 411.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/0.2773, allocations: 31.88 kB / 411.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.2775, allocations: 63.58 kB / 411.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2775, allocations: 0 / 411.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2775, allocations: 0 / 411.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.2775, allocations: 0 / 411.9 MB, free: 15.58 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.0004403/0.2779, allocations: 360.7 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.278, allocations: 12.03 kB / 412.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.278, allocations: 8.844 kB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.2782, allocations: 180.3 kB / 412.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2782, allocations: 8.375 kB / 412.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.2783, allocations: 12.31 kB / 412.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.2784, allocations: 78.11 kB / 412.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2784, allocations: 192 / 412.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.2784, allocations: 3.938 kB / 412.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.2785, allocations: 4 kB / 412.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.005e-05/0.2785, allocations: 35.98 kB / 412.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006105/0.2792, allocations: 391.4 kB / 413 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.443e-05/0.2793, allocations: 54.56 kB / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.2793, allocations: 16.86 kB / 413.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.2793, allocations: 0 / 413.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.2794, allocations: 38.56 kB / 413.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.2794, allocations: 0 / 413.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006894/0.28, allocations: 0.5058 MB / 413.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.2801, allocations: 55.34 kB / 413.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.806e-05/0.2802, allocations: 125.8 kB / 413.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.2802, allocations: 29.7 kB / 413.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.2803, allocations: 92.05 kB / 413.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.2803, allocations: 31.55 kB / 413.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.2804, allocations: 25.72 kB / 414 MB, free: 13.24 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2805, allocations: 322.8 kB / 414.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.591e-05/0.2805, allocations: 15.98 kB / 414.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.491e-05/0.2806, allocations: 61.16 kB / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.2807, allocations: 93.06 kB / 414.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2807, allocations: 0 / 414.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001495/0.2809, allocations: 105.9 kB / 414.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2809, allocations: 12.08 kB / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.2809, allocations: 7.938 kB / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.281, allocations: 0 / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.165e-05/0.281, allocations: 24 kB / 414.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.2811, allocations: 12.09 kB / 414.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.938e-05/0.2811, allocations: 4 kB / 414.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.2811, allocations: 4 kB / 414.6 MB, free: 12.54 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 9.193e-05/0.2812, allocations: 125.7 kB / 414.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.2812, allocations: 7.906 kB / 414.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.2813, allocations: 12.38 kB / 414.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.2813, allocations: 0 / 414.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.2813, allocations: 7.938 kB / 414.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2813, allocations: 0 / 414.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/0.2818, allocations: 406.5 kB / 415.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.2818, allocations: 8.156 kB / 415.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.219e-05/0.2819, allocations: 27.92 kB / 415.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2819, allocations: 3.938 kB / 415.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.2819, allocations: 4 kB / 415.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.2819, allocations: 3.984 kB / 415.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.2819, allocations: 8 kB / 415.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.2821, allocations: 227.6 kB / 415.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.2822, allocations: 85.14 kB / 415.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.2822, allocations: 7.984 kB / 415.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/0.2823, allocations: 0 / 415.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.2823, allocations: 7.938 kB / 415.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.2823, allocations: 12.06 kB / 415.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.069e-05/0.2824, allocations: 91.27 kB / 415.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2824, allocations: 0 / 415.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.2827, allocations: 16 kB / 415.7 MB, free: 11.37 MB / 334.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 0.0001001/0.2828, allocations: 99.25 kB / 415.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.2829, allocations: 64.53 kB / 415.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.2829, allocations: 4 kB / 415.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.609e-05/0.2829, allocations: 32.12 kB / 415.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.2833, allocations: 16.11 kB / 415.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006061/0.2839, allocations: 356.8 kB / 416.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.2842, allocations: 0.6929 MB / 416.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.2842, allocations: 11.44 kB / 416.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2842, allocations: 0 / 416.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of Templates: time 0.00235/0.2866, allocations: 0.9945 MB / 417.9 MB, free: 9.023 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