Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0008119/0.0008119, allocations: 98.88 kB / 17.31 MB, free: 5.941 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.0008133/0.0008134, allocations: 178 kB / 18.21 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.116/1.116, allocations: 223.3 MB / 242.3 MB, free: 20 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001947/0.0001947, allocations: 4 kB / 302.1 MB, free: 6.102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0697/0.06991, allocations: 50.42 MB / 352.5 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00135/0.07128, allocations: 1.342 MB / 353.8 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001686/0.07146, allocations: 67.77 kB / 353.9 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.057e-05/0.07152, allocations: 3.938 kB / 353.9 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.301e-05/0.07159, allocations: 15.92 kB / 353.9 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.717e-05/0.07164, allocations: 11.88 kB / 353.9 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.021e-05/0.07173, allocations: 19.97 kB / 354 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.237e-05/0.07183, allocations: 59.73 kB / 354 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.841e-05/0.07192, allocations: 19.97 kB / 354 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.888e-05/0.07195, allocations: 23.88 kB / 354.1 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.722e-05/0.072, allocations: 23.91 kB / 354.1 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.07202, allocations: 8 kB / 354.1 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.07204, allocations: 0 / 354.1 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.07206, allocations: 15.92 kB / 354.1 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.0721, allocations: 45.58 kB / 354.1 MB, free: 2 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.391e-05/0.07217, allocations: 44.12 kB / 354.2 MB, free: 1.957 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.07218, allocations: 0 / 354.2 MB, free: 1.957 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.07218, allocations: 0 / 354.2 MB, free: 1.957 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.765e-06/0.07219, allocations: 4 kB / 354.2 MB, free: 1.953 MB / 286.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.0003083/0.07251, allocations: 355.4 kB / 354.5 MB, free: 1.555 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.07254, allocations: 12.03 kB / 354.6 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.07257, allocations: 12.78 kB / 354.6 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.0727, allocations: 184.2 kB / 354.7 MB, free: 1.312 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-06/0.07272, allocations: 4.312 kB / 354.8 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.07274, allocations: 8.375 kB / 354.8 MB, free: 1.301 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.07286, allocations: 66.23 kB / 354.8 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.07287, allocations: 192 / 354.8 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.07289, allocations: 11.94 kB / 354.8 MB, free: 1.219 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.0729, allocations: 0 / 354.8 MB, free: 1.219 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.328e-05/0.07298, allocations: 35.97 kB / 354.9 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.07347, allocations: 375.5 kB / 355.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.393e-05/0.07356, allocations: 58.56 kB / 355.3 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.0736, allocations: 20.84 kB / 355.3 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-06/0.07361, allocations: 0 / 355.3 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.07363, allocations: 34.56 kB / 355.3 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.07364, allocations: 0 / 355.3 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.000567/0.07421, allocations: 0.513 MB / 355.9 MB, free: 24 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.07425, allocations: 55.34 kB / 355.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.252e-05/0.07433, allocations: 121.8 kB / 356 MB, free: 15.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.07436, allocations: 33.7 kB / 356.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/0.0744, allocations: 92.05 kB / 356.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.07443, allocations: 35.53 kB / 356.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.07445, allocations: 17.7 kB / 356.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.108e-05/0.07454, allocations: 314.8 kB / 356.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.139e-05/0.07458, allocations: 19.98 kB / 356.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.029e-05/0.07463, allocations: 61.14 kB / 356.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.666e-05/0.07472, allocations: 85.08 kB / 356.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.07473, allocations: 0 / 356.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001387/0.07487, allocations: 117.4 kB / 356.8 MB, free: 15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.07489, allocations: 8.094 kB / 356.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.0749, allocations: 4 kB / 356.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.275e-06/0.07491, allocations: 0 / 356.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.34e-05/0.07499, allocations: 23.98 kB / 356.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.075, allocations: 3.938 kB / 356.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.727e-05/0.07505, allocations: 12 kB / 356.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.07506, allocations: 4 kB / 356.8 MB, free: 14.95 MB / 302.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.492e-05/0.07513, allocations: 129.6 kB / 357 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.07516, allocations: 7.906 kB / 357 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.07519, allocations: 12.38 kB / 357 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.0752, allocations: 4 kB / 357 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.07521, allocations: 3.938 kB / 357 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.07521, allocations: 3.984 kB / 357 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.07559, allocations: 402.7 kB / 357.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.0756, allocations: 4 kB / 357.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.888e-05/0.07568, allocations: 23.92 kB / 357.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.07569, allocations: 0 / 357.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.07571, allocations: 8 kB / 357.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.07571, allocations: 0 / 357.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.07572, allocations: 4.469 kB / 357.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.0759, allocations: 235.6 kB / 357.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.07594, allocations: 81.09 kB / 357.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.07596, allocations: 4 kB / 357.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.185e-05/0.07603, allocations: 8 kB / 357.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/0.07605, allocations: 7.938 kB / 357.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.07606, allocations: 4.062 kB / 357.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.924e-05/0.0761, allocations: 95.27 kB / 357.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0761, allocations: 0 / 357.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002222/0.07633, allocations: 16 kB / 357.9 MB, free: 13.78 MB / 302.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 6.081e-05/0.0764, allocations: 95.25 kB / 358 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.07651, allocations: 71.78 kB / 358 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.07651, allocations: 192 / 358 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.122e-05/0.07655, allocations: 28.41 kB / 358.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.07683, allocations: 15.98 kB / 358.1 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.07731, allocations: 439 kB / 358.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.07751, allocations: 0.6926 MB / 359.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.07754, allocations: 11.44 kB / 359.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.07754, allocations: 0 / 359.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of Templates: time 0.001819/0.07937, allocations: 0.9769 MB / 360.2 MB, free: 11.38 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches