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.001609/0.001608, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002022/0.002022, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.9 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 59.89 kB / 358.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2562, allocations: 50.53 MB / 409.2 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003027/0.2593, allocations: 1.658 MB / 410.9 MB, free: 140 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002262/0.2595, allocations: 67.72 kB / 410.9 MB, free: 72 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.2596, allocations: 4 kB / 411 MB, free: 68 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.881e-05/0.2597, allocations: 7.938 kB / 411 MB, free: 60 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.655e-05/0.2598, allocations: 19.84 kB / 411 MB, free: 40 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001308/0.2599, allocations: 15.92 kB / 411 MB, free: 24 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.26, allocations: 67.7 kB / 411.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.2602, allocations: 20 kB / 411.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.501e-05/0.2602, allocations: 27.86 kB / 411.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.056e-05/0.2603, allocations: 23.92 kB / 411.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.2603, allocations: 4 kB / 411.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.563e-05/0.2604, allocations: 11.94 kB / 411.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.2604, allocations: 11.97 kB / 411.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.2604, allocations: 27.88 kB / 411.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.2606, allocations: 57.06 kB / 411.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2606, allocations: 0 / 411.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2606, allocations: 4 kB / 411.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.2606, allocations: 4 kB / 411.2 MB, free: 15.77 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.0004682/0.2611, allocations: 363.3 kB / 411.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2611, allocations: 8.031 kB / 411.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.2611, allocations: 8.844 kB / 411.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.2614, allocations: 184.3 kB / 411.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2614, allocations: 4.312 kB / 411.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.2614, allocations: 12.36 kB / 411.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.2616, allocations: 74.17 kB / 411.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.2616, allocations: 192 / 411.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.2616, allocations: 11.94 kB / 411.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2616, allocations: 7.922 kB / 411.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.976e-05/0.2617, allocations: 35.92 kB / 411.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000627/0.2624, allocations: 383.5 kB / 412.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.2625, allocations: 58.56 kB / 412.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.2625, allocations: 16.86 kB / 412.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.2625, allocations: 0 / 412.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.2625, allocations: 30.56 kB / 412.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.2626, allocations: 0 / 412.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007352/0.2633, allocations: 0.513 MB / 412.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.2633, allocations: 55.34 kB / 413 MB, free: 13.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.449e-05/0.2634, allocations: 125.9 kB / 413.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.2635, allocations: 25.7 kB / 413.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.2635, allocations: 95.98 kB / 413.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.2636, allocations: 31.55 kB / 413.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.2636, allocations: 25.72 kB / 413.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2637, allocations: 318.8 kB / 413.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.868e-05/0.2638, allocations: 20 kB / 413.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-05/0.2638, allocations: 57.14 kB / 413.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.2639, allocations: 89.08 kB / 413.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.264, allocations: 0 / 413.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001701/0.2641, allocations: 109.5 kB / 413.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.2642, allocations: 11.94 kB / 413.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2642, allocations: 0 / 413.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.2642, allocations: 4.453 kB / 413.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.148e-05/0.2643, allocations: 20 kB / 413.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.2643, allocations: 8.797 kB / 413.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.028e-05/0.2643, allocations: 4 kB / 413.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.2643, allocations: 12.08 kB / 413.9 MB, free: 12.73 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 8.973e-05/0.2644, allocations: 129.7 kB / 414.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.2645, allocations: 7.906 kB / 414.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.2645, allocations: 8.516 kB / 414.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.2645, allocations: 7.984 kB / 414.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.2645, allocations: 3.938 kB / 414.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2645, allocations: 4 kB / 414.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.265, allocations: 410.6 kB / 414.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.265, allocations: 0 / 414.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.205e-05/0.2651, allocations: 31.86 kB / 414.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2651, allocations: 0 / 414.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.2652, allocations: 4 kB / 414.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2652, allocations: 0 / 414.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2652, allocations: 4.156 kB / 414.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.2654, allocations: 231.6 kB / 414.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.2655, allocations: 81.11 kB / 414.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.2655, allocations: 8.062 kB / 414.8 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.2656, allocations: 7.984 kB / 414.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.2656, allocations: 7.938 kB / 414.9 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.2656, allocations: 4 kB / 414.9 MB, free: 11.67 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.538e-05/0.2657, allocations: 95.27 kB / 415 MB, free: 11.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2657, allocations: 0 / 415 MB, free: 11.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.2659, allocations: 12 kB / 415 MB, free: 11.56 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 9.569e-05/0.266, allocations: 107.2 kB / 415.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.2661, allocations: 67.78 kB / 415.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2662, allocations: 0 / 415.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.775e-05/0.2662, allocations: 24.31 kB / 415.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.2665, allocations: 15.98 kB / 415.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005359/0.2671, allocations: 339.6 kB / 415.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.2673, allocations: 0.689 MB / 416.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.465e-05/0.2673, allocations: 8.438 kB / 416.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.2674, allocations: 15.44 kB / 416.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2674, allocations: 0 / 416.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of Templates: time 0.002663/0.2701, allocations: 0.6711 MB / 416.9 MB, free: 9.566 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches