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.001167/0.001167, allocations: 105.5 kB / 18.4 MB, free: 4.68 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.001223/0.001223, allocations: 183.1 kB / 19.33 MB, free: 3.758 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.339/1.339, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001303/0.001303, allocations: 48.3 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08662/0.08793, allocations: 46.61 MB / 375.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002972/0.09095, allocations: 1.626 MB / 377.4 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002802/0.09126, allocations: 67.78 kB / 377.5 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.764e-05/0.09135, allocations: 3.938 kB / 377.5 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.09149, allocations: 11.86 kB / 377.5 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.292e-05/0.09155, allocations: 19.86 kB / 377.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001212/0.09168, allocations: 15.98 kB / 377.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.09181, allocations: 71.7 kB / 377.6 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.09192, allocations: 16 kB / 377.6 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.473e-05/0.09197, allocations: 23.92 kB / 377.7 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.09205, allocations: 27.86 kB / 377.7 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.09207, allocations: 4 kB / 377.7 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.434e-05/0.09209, allocations: 4 kB / 377.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.09212, allocations: 23.91 kB / 377.7 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.09217, allocations: 27.88 kB / 377.7 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.0923, allocations: 67.72 kB / 377.8 MB, free: 2.582 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.09231, allocations: 0 / 377.8 MB, free: 2.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.09232, allocations: 0 / 377.8 MB, free: 2.582 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.09232, allocations: 0 / 377.8 MB, free: 2.582 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.0004559/0.09279, allocations: 355.4 kB / 378.1 MB, free: 2.184 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.09283, allocations: 12.03 kB / 378.2 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.09287, allocations: 12.84 kB / 378.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.0931, allocations: 188.2 kB / 378.4 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.09312, allocations: 8.375 kB / 378.4 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.09315, allocations: 4.375 kB / 378.4 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.09329, allocations: 70.23 kB / 378.4 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.09331, allocations: 4.094 kB / 378.4 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.09333, allocations: 7.875 kB / 378.4 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.09334, allocations: 0 / 378.4 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.924e-05/0.09343, allocations: 43.8 kB / 378.5 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006188/0.09405, allocations: 375.7 kB / 378.9 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.09417, allocations: 58.5 kB / 378.9 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.322e-05/0.09421, allocations: 17.02 kB / 378.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.09423, allocations: 3.984 kB / 378.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.09425, allocations: 38.56 kB / 379 MB, free: 1.238 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.09426, allocations: 0 / 379 MB, free: 1.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.000746/0.09501, allocations: 0.5058 MB / 379.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.09507, allocations: 55.41 kB / 379.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.09e-05/0.09516, allocations: 121.8 kB / 379.7 MB, free: 456 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.09518, allocations: 25.7 kB / 379.7 MB, free: 424 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.09525, allocations: 99.89 kB / 379.8 MB, free: 320 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.09528, allocations: 39.53 kB / 379.8 MB, free: 280 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.09533, allocations: 29.66 kB / 379.8 MB, free: 244 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.1562/0.2515, allocations: 318.8 kB / 380.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.01e-05/0.2516, allocations: 15.05 kB / 380.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.46e-05/0.2517, allocations: 57.67 kB / 380.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.93e-05/0.2518, allocations: 91.06 kB / 380.3 MB, free: 12.79 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2518, allocations: 1.312 kB / 380.3 MB, free: 12.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001917/0.252, allocations: 113.6 kB / 380.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.252, allocations: 5.469 kB / 380.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.252, allocations: 7.203 kB / 380.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.2521, allocations: 1.188 kB / 380.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.2522, allocations: 26.17 kB / 380.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2522, allocations: 6.516 kB / 380.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.01e-05/0.2523, allocations: 4.469 kB / 380.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.2523, allocations: 5.188 kB / 380.5 MB, free: 12.75 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 6.506e-05/0.2523, allocations: 120.9 kB / 380.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.2524, allocations: 5.562 kB / 380.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.401e-05/0.2524, allocations: 14.48 kB / 380.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2524, allocations: 1.375 kB / 380.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2524, allocations: 5.125 kB / 380.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.2524, allocations: 0 / 380.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00046/0.2529, allocations: 414.1 kB / 381 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2529, allocations: 0.9062 kB / 381 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.375e-05/0.253, allocations: 19.34 kB / 381.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.253, allocations: 1.281 kB / 381.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.253, allocations: 6.125 kB / 381.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.253, allocations: 6.75 kB / 381.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2531, allocations: 1 kB / 381.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.2532, allocations: 231.2 kB / 381.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/0.2533, allocations: 90.66 kB / 381.4 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.2533, allocations: 2.906 kB / 381.4 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.2534, allocations: 5.531 kB / 381.4 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.49e-05/0.2534, allocations: 6.047 kB / 381.4 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.2534, allocations: 4.438 kB / 381.4 MB, free: 12.03 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.796e-05/0.2535, allocations: 97 kB / 381.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2535, allocations: 1.312 kB / 381.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.2537, allocations: 24.41 kB / 381.5 MB, free: 11.95 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.123e-05/0.2538, allocations: 99.75 kB / 381.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.254, allocations: 63.27 kB / 381.7 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.254, allocations: 0 / 381.7 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.661e-05/0.254, allocations: 33.59 kB / 381.7 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.2543, allocations: 11.25 kB / 381.7 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004949/0.2548, allocations: 367 kB / 382.1 MB, free: 11.58 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.255, allocations: 0.6918 MB / 382.8 MB, free: 10.88 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.255, allocations: 15.44 kB / 382.8 MB, free: 10.87 MB / 318.1 MB Notification: Performance of SimCode: time 7.01e-07/0.255, allocations: 1.312 kB / 382.8 MB, free: 10.87 MB / 318.1 MB Notification: Performance of Templates: time 0.002563/0.2576, allocations: 0.9949 MB / 383.8 MB, free: 10.82 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