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.001099/0.001099, allocations: 110.5 kB / 17.73 MB, free: 5.301 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.00126/0.00126, allocations: 187 kB / 18.66 MB, free: 4.375 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.539/1.539, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001151/0.001151, allocations: 47.92 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1068, allocations: 46.61 MB / 375.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003013/0.1098, allocations: 1.628 MB / 376.7 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002958/0.1102, allocations: 71.77 kB / 376.8 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.314e-05/0.1103, allocations: 0 / 376.8 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.1104, allocations: 19.8 kB / 376.8 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.386e-05/0.1105, allocations: 11.88 kB / 376.8 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.1107, allocations: 23.97 kB / 376.9 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.1108, allocations: 63.72 kB / 376.9 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.111, allocations: 19.98 kB / 377 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.545e-05/0.111, allocations: 19.94 kB / 377 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.053e-05/0.1111, allocations: 31.84 kB / 377 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.1111, allocations: 8 kB / 377 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.611e-05/0.1112, allocations: 4 kB / 377 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.617e-05/0.1112, allocations: 15.92 kB / 377 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.841e-05/0.1113, allocations: 27.88 kB / 377.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.1114, allocations: 67.72 kB / 377.1 MB, free: 2.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1114, allocations: 0 / 377.1 MB, free: 2.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1114, allocations: 0 / 377.1 MB, free: 2.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1115, allocations: 0 / 377.1 MB, free: 2.574 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.0006742/0.1121, allocations: 359.3 kB / 377.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1122, allocations: 16.03 kB / 377.5 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.1122, allocations: 12.83 kB / 377.5 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.1124, allocations: 176.3 kB / 377.7 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1125, allocations: 8.375 kB / 377.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.1125, allocations: 4.375 kB / 377.7 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.1127, allocations: 70.23 kB / 377.8 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1127, allocations: 4.094 kB / 377.8 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.1127, allocations: 3.938 kB / 377.8 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1127, allocations: 11.88 kB / 377.8 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.201e-05/0.1128, allocations: 43.84 kB / 377.8 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006821/0.1135, allocations: 371.7 kB / 378.2 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.1136, allocations: 58.5 kB / 378.2 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.573e-05/0.1137, allocations: 20.84 kB / 378.3 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.1137, allocations: 4 kB / 378.3 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.477e-05/0.1137, allocations: 38.56 kB / 378.3 MB, free: 1.227 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.1138, allocations: 0 / 378.3 MB, free: 1.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008207/0.1146, allocations: 0.5052 MB / 378.8 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.1146, allocations: 55.41 kB / 378.9 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.1148, allocations: 117.8 kB / 379 MB, free: 448 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.1148, allocations: 25.7 kB / 379 MB, free: 416 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.607e-05/0.1149, allocations: 103.9 kB / 379.1 MB, free: 308 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.1149, allocations: 31.55 kB / 379.1 MB, free: 276 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.115, allocations: 29.7 kB / 379.2 MB, free: 240 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.1945/0.3095, allocations: 318.8 kB / 379.5 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.3096, allocations: 19.47 kB / 379.5 MB, free: 12.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.965e-05/0.3097, allocations: 58.86 kB / 379.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.3098, allocations: 86.73 kB / 379.6 MB, free: 12.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.3098, allocations: 0.7031 kB / 379.6 MB, free: 12.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002105/0.31, allocations: 117.7 kB / 379.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.3101, allocations: 5.5 kB / 379.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3101, allocations: 1.375 kB / 379.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.3101, allocations: 4.344 kB / 379.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.3102, allocations: 23.61 kB / 379.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.3103, allocations: 11.69 kB / 379.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.243e-05/0.3103, allocations: 6.328 kB / 379.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.3103, allocations: 7.938 kB / 379.8 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 7.468e-05/0.3104, allocations: 117.6 kB / 379.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.3105, allocations: 9.297 kB / 379.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.3105, allocations: 9.875 kB / 379.9 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3105, allocations: 1.438 kB / 379.9 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3105, allocations: 3.75 kB / 379.9 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3105, allocations: 0.7031 kB / 379.9 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004727/0.311, allocations: 409 kB / 380.3 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.311, allocations: 1.531 kB / 380.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.67e-05/0.3111, allocations: 22.47 kB / 380.4 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3111, allocations: 1.375 kB / 380.4 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.3111, allocations: 6.75 kB / 380.4 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.3111, allocations: 4.969 kB / 380.4 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3112, allocations: 6.688 kB / 380.4 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.3113, allocations: 226.5 kB / 380.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.085e-05/0.3114, allocations: 91.34 kB / 380.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.851e-05/0.3114, allocations: 1.984 kB / 380.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.596e-05/0.3115, allocations: 2.75 kB / 380.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.3115, allocations: 14.7 kB / 380.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.3115, allocations: 2.75 kB / 380.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.525e-05/0.3116, allocations: 94.61 kB / 380.8 MB, free: 11.95 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.3116, allocations: 0 / 380.8 MB, free: 11.95 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.3118, allocations: 22.2 kB / 380.8 MB, free: 11.94 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.736e-05/0.3119, allocations: 104 kB / 380.9 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001523/0.3121, allocations: 64.16 kB / 381 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.3121, allocations: 0 / 381 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.039e-05/0.3121, allocations: 29.42 kB / 381 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.0003265/0.3125, allocations: 15.67 kB / 381 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000559/0.313, allocations: 335.5 kB / 381.4 MB, free: 11.6 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.3132, allocations: 0.6992 MB / 382.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.553e-05/0.3133, allocations: 6.891 kB / 382.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.3133, allocations: 13.41 kB / 382.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3133, allocations: 0.7656 kB / 382.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of Templates: time 0.003872/0.3172, allocations: 0.664 MB / 382.8 MB, free: 10.83 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins/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