Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.00172, allocations: 102 kB / 18.4 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 190.5 kB / 19.33 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 47.94 kB / 329.2 MB, free: 3.332 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08643/0.0878, allocations: 46.62 MB / 375.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003109/0.09095, allocations: 1.622 MB / 377.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000287/0.09127, allocations: 71.72 kB / 377.5 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.09135, allocations: 3.938 kB / 377.5 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.0915, allocations: 11.92 kB / 377.5 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.563e-05/0.09156, allocations: 15.84 kB / 377.5 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.0917, allocations: 19.92 kB / 377.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.09186, allocations: 63.8 kB / 377.6 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.09199, allocations: 19.97 kB / 377.6 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.908e-05/0.09205, allocations: 31.88 kB / 377.7 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.579e-05/0.09212, allocations: 27.84 kB / 377.7 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.09214, allocations: 4 kB / 377.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.629e-05/0.09217, allocations: 4 kB / 377.7 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.254e-05/0.09219, allocations: 15.94 kB / 377.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.913e-05/0.09224, allocations: 27.86 kB / 377.7 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.09237, allocations: 67.72 kB / 377.8 MB, free: 2.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.09238, allocations: 0 / 377.8 MB, free: 2.586 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.09239, allocations: 0 / 377.8 MB, free: 2.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.0924, allocations: 0 / 377.8 MB, free: 2.586 MB / 318.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.0004424/0.09285, allocations: 363.4 kB / 378.2 MB, free: 2.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.09289, allocations: 12.03 kB / 378.2 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.09294, allocations: 8.844 kB / 378.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.09317, allocations: 176.3 kB / 378.3 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.09319, allocations: 8.312 kB / 378.4 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.09323, allocations: 8.375 kB / 378.4 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.0934, allocations: 66.23 kB / 378.4 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.09342, allocations: 4.094 kB / 378.4 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.09345, allocations: 15.92 kB / 378.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.09346, allocations: 4 kB / 378.5 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.469e-05/0.09355, allocations: 39.84 kB / 378.5 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006581/0.09421, allocations: 379.6 kB / 378.9 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.09433, allocations: 54.56 kB / 378.9 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/0.09437, allocations: 20.84 kB / 378.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.09439, allocations: 8 kB / 378.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.09442, allocations: 30.56 kB / 379 MB, free: 1.242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.09442, allocations: 0 / 379 MB, free: 1.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.000767/0.0952, allocations: 0.5091 MB / 379.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.09525, allocations: 55.34 kB / 379.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.985e-05/0.09535, allocations: 121.8 kB / 379.7 MB, free: 456 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.09538, allocations: 33.7 kB / 379.7 MB, free: 416 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.09543, allocations: 99.88 kB / 379.8 MB, free: 312 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.09546, allocations: 27.56 kB / 379.8 MB, free: 284 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.09551, allocations: 33.64 kB / 379.8 MB, free: 244 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.1689/0.2644, allocations: 314.8 kB / 380.2 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.803e-05/0.2645, allocations: 19.39 kB / 380.2 MB, free: 12.85 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.529e-05/0.2646, allocations: 53.56 kB / 380.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.2647, allocations: 90.89 kB / 380.3 MB, free: 12.76 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2647, allocations: 2.281 kB / 380.3 MB, free: 12.76 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002034/0.2649, allocations: 110 kB / 380.4 MB, free: 12.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2649, allocations: 6.391 kB / 380.4 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.265, allocations: 1.375 kB / 380.4 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.265, allocations: 2.75 kB / 380.4 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.2651, allocations: 23.92 kB / 380.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2651, allocations: 9.125 kB / 380.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.026e-05/0.2652, allocations: 8.625 kB / 380.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.2652, allocations: 6.938 kB / 380.5 MB, free: 12.73 MB / 318.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 0.0001058/0.2653, allocations: 120.8 kB / 380.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.2653, allocations: 6 kB / 380.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.2654, allocations: 12.03 kB / 380.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2654, allocations: 1.375 kB / 380.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.2654, allocations: 4.406 kB / 380.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2654, allocations: 0.5625 kB / 380.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004674/0.2659, allocations: 408.8 kB / 381 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2659, allocations: 2.828 kB / 381 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.853e-05/0.266, allocations: 21.28 kB / 381 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.266, allocations: 2.406 kB / 381 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.266, allocations: 2.594 kB / 381 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.266, allocations: 9.078 kB / 381.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.266, allocations: 5.094 kB / 381.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.2662, allocations: 237.4 kB / 381.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.2663, allocations: 86.19 kB / 381.4 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.2663, allocations: 2.703 kB / 381.4 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.439e-05/0.2664, allocations: 5.656 kB / 381.4 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.672e-05/0.2664, allocations: 6.141 kB / 381.4 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.2664, allocations: 5.281 kB / 381.4 MB, free: 12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.827e-05/0.2665, allocations: 93.36 kB / 381.5 MB, free: 11.92 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2665, allocations: 1.203 kB / 381.5 MB, free: 11.92 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.2668, allocations: 20.81 kB / 381.5 MB, free: 11.92 MB / 318.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.934e-05/0.2669, allocations: 106.6 kB / 381.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001484/0.267, allocations: 63.3 kB / 381.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.267, allocations: 0 / 381.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.23e-05/0.2671, allocations: 30.27 kB / 381.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.2674, allocations: 12.02 kB / 381.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005415/0.268, allocations: 362.8 kB / 382.1 MB, free: 11.55 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.2681, allocations: 0.7007 MB / 382.8 MB, free: 10.85 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.2681, allocations: 12.94 kB / 382.8 MB, free: 10.84 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2681, allocations: 0.7656 kB / 382.8 MB, free: 10.84 MB / 318.1 MB Notification: Performance of Templates: time 0.002856/0.271, allocations: 0.996 MB / 383.8 MB, free: 10.79 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches