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.001671/0.001671, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002064/0.002064, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2722, allocations: 50.53 MB / 409.2 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002808/0.275, allocations: 1.654 MB / 410.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002364/0.2753, allocations: 67.72 kB / 410.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.292e-05/0.2754, allocations: 4 kB / 410.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.201e-05/0.2755, allocations: 15.92 kB / 411 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.159e-05/0.2755, allocations: 15.8 kB / 411 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.2757, allocations: 15.98 kB / 411 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.2758, allocations: 63.72 kB / 411.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.2759, allocations: 23.97 kB / 411.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.837e-05/0.276, allocations: 23.88 kB / 411.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.233e-05/0.276, allocations: 27.92 kB / 411.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.276, allocations: 4 kB / 411.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.336e-05/0.2761, allocations: 4 kB / 411.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.2761, allocations: 15.92 kB / 411.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.2761, allocations: 31.86 kB / 411.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.2763, allocations: 59.59 kB / 411.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2763, allocations: 4 kB / 411.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.2763, allocations: 0 / 411.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.2763, allocations: 0 / 411.2 MB, free: 15.57 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.0004109/0.2767, allocations: 364.7 kB / 411.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.2767, allocations: 8.031 kB / 411.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.2768, allocations: 8.844 kB / 411.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.277, allocations: 184.2 kB / 411.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.277, allocations: 4.375 kB / 411.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.277, allocations: 8.375 kB / 411.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.2772, allocations: 70.17 kB / 411.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2772, allocations: 192 / 411.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.2772, allocations: 7.938 kB / 411.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2772, allocations: 11.94 kB / 411.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.132e-05/0.2773, allocations: 31.98 kB / 411.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005826/0.2779, allocations: 391.4 kB / 412.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.278, allocations: 58.55 kB / 412.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.1e-05/0.2781, allocations: 16.86 kB / 412.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.2781, allocations: 3.984 kB / 412.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.2781, allocations: 34.56 kB / 412.4 MB, free: 14.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.2781, allocations: 0 / 412.4 MB, free: 14.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006681/0.2788, allocations: 0.5129 MB / 412.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.2788, allocations: 51.41 kB / 413 MB, free: 13.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.503e-05/0.2789, allocations: 125.9 kB / 413.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.2789, allocations: 29.7 kB / 413.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.398e-05/0.279, allocations: 88.05 kB / 413.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.279, allocations: 31.55 kB / 413.3 MB, free: 13.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.279, allocations: 29.7 kB / 413.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.2792, allocations: 318.8 kB / 413.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.395e-05/0.2792, allocations: 15.98 kB / 413.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-05/0.2793, allocations: 69.14 kB / 413.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.2794, allocations: 89.02 kB / 413.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2794, allocations: 0 / 413.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002228/0.2796, allocations: 117.4 kB / 413.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2796, allocations: 6.656 kB / 413.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.2796, allocations: 4 kB / 413.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2797, allocations: 480 / 413.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.588e-05/0.2798, allocations: 27.98 kB / 413.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.2798, allocations: 3.938 kB / 413.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.905e-05/0.2798, allocations: 4 kB / 413.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.2798, allocations: 4 kB / 413.9 MB, free: 12.53 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.359e-05/0.2799, allocations: 129.8 kB / 414.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.2799, allocations: 11.91 kB / 414.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.28, allocations: 8.375 kB / 414.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.28, allocations: 0 / 414.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.28, allocations: 7.938 kB / 414.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.28, allocations: 3.984 kB / 414.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004534/0.2805, allocations: 406.5 kB / 414.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.2805, allocations: 4 kB / 414.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.003e-05/0.2806, allocations: 27.92 kB / 414.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2806, allocations: 3.938 kB / 414.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.2806, allocations: 4 kB / 414.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2806, allocations: 0 / 414.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.2806, allocations: 4 kB / 414.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.2808, allocations: 228 kB / 414.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.2809, allocations: 89.11 kB / 414.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.2809, allocations: 8 kB / 414.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.538e-05/0.281, allocations: 3.938 kB / 414.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.281, allocations: 8.062 kB / 414.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.281, allocations: 8 kB / 414.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.617e-05/0.2811, allocations: 91.27 kB / 415 MB, free: 11.37 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2811, allocations: 0 / 415 MB, free: 11.37 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.2813, allocations: 16 kB / 415 MB, free: 11.36 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.209e-05/0.2814, allocations: 102.8 kB / 415.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001274/0.2816, allocations: 63.91 kB / 415.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.2816, allocations: 8.062 kB / 415.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.628e-05/0.2816, allocations: 24.31 kB / 415.2 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.0002922/0.2819, allocations: 11.98 kB / 415.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/0.2824, allocations: 339.4 kB / 415.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.2827, allocations: 0.6929 MB / 416.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.431e-05/0.2827, allocations: 8.422 kB / 416.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.323e-05/0.2828, allocations: 11.44 kB / 416.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2828, allocations: 4 kB / 416.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of Templates: time 0.002583/0.2854, allocations: 0.6611 MB / 416.9 MB, free: 9.367 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