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.0009018/0.0009018, allocations: 94.64 kB / 16.3 MB, free: 5.992 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.0009486/0.0009487, allocations: 181.7 kB / 17.2 MB, free: 5.906 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.43/1.43, allocations: 223.2 MB / 241.1 MB, free: 5.371 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003248, allocations: 8.125 kB / 300.7 MB, free: 6.012 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1035, allocations: 50.42 MB / 351.1 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00208/0.1056, allocations: 1.314 MB / 352.4 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003144/0.106, allocations: 71.81 kB / 352.5 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.117e-05/0.1061, allocations: 0 / 352.5 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.224e-05/0.1061, allocations: 3.938 kB / 352.5 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.1062, allocations: 27.94 kB / 352.5 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.1064, allocations: 15.98 kB / 352.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.1065, allocations: 43.88 kB / 352.6 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1067, allocations: 12 kB / 352.6 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.745e-05/0.1067, allocations: 19.92 kB / 352.6 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.55e-05/0.1068, allocations: 31.84 kB / 352.7 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1068, allocations: 0 / 352.7 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.861e-05/0.1069, allocations: 8 kB / 352.7 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.1069, allocations: 4 kB / 352.7 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.1069, allocations: 41.64 kB / 352.7 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.603e-05/0.107, allocations: 43.91 kB / 352.8 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.107, allocations: 0 / 352.8 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1071, allocations: 0 / 352.8 MB, free: 10.05 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.1071, allocations: 0 / 352.8 MB, free: 10.05 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.0005245/0.1076, allocations: 351.2 kB / 353.1 MB, free: 9.656 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1076, allocations: 12.03 kB / 353.1 MB, free: 9.645 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.1077, allocations: 15.86 kB / 353.1 MB, free: 9.629 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.1079, allocations: 179 kB / 353.3 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.1079, allocations: 4 kB / 353.3 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.108, allocations: 8 kB / 353.3 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.1082, allocations: 75.73 kB / 353.4 MB, free: 9.324 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.1082, allocations: 11.92 kB / 353.4 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.1082, allocations: 4 kB / 353.4 MB, free: 9.309 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1082, allocations: 3.953 kB / 353.4 MB, free: 9.305 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.658e-05/0.1083, allocations: 35.97 kB / 353.4 MB, free: 9.27 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007438/0.1091, allocations: 371.8 kB / 353.8 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.661e-05/0.1092, allocations: 54.56 kB / 353.9 MB, free: 8.789 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.1092, allocations: 0 / 353.9 MB, free: 8.789 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.1092, allocations: 38.55 kB / 353.9 MB, free: 8.742 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1092, allocations: 0 / 353.9 MB, free: 8.742 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.000787/0.11, allocations: 0.5129 MB / 354.4 MB, free: 8.137 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.1101, allocations: 55.39 kB / 354.5 MB, free: 8.07 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.435e-05/0.1102, allocations: 114 kB / 354.6 MB, free: 7.945 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.1102, allocations: 33.64 kB / 354.6 MB, free: 7.906 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.1103, allocations: 95.89 kB / 354.7 MB, free: 7.809 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.1103, allocations: 35.55 kB / 354.7 MB, free: 7.773 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.1103, allocations: 0 / 354.7 MB, free: 7.773 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.425e-05/0.1104, allocations: 322.8 kB / 355.1 MB, free: 7.449 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.22e-05/0.1104, allocations: 16 kB / 355.1 MB, free: 7.434 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.823e-05/0.1105, allocations: 57.14 kB / 355.1 MB, free: 7.359 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.937e-05/0.1106, allocations: 24 kB / 355.2 MB, free: 7.336 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1106, allocations: 3.953 kB / 355.2 MB, free: 7.332 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000157/0.1107, allocations: 113.4 kB / 355.3 MB, free: 7.215 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1107, allocations: 4.469 kB / 355.3 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1108, allocations: 4 kB / 355.3 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1108, allocations: 0 / 355.3 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.957e-05/0.1109, allocations: 31.92 kB / 355.3 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1109, allocations: 4 kB / 355.3 MB, free: 7.172 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.871e-05/0.1109, allocations: 8.031 kB / 355.3 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.111, allocations: 4 kB / 355.3 MB, free: 7.16 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.775e-05/0.111, allocations: 121.8 kB / 355.4 MB, free: 7.031 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.1111, allocations: 11.86 kB / 355.5 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.1111, allocations: 8.375 kB / 355.5 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1111, allocations: 4 kB / 355.5 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1111, allocations: 0 / 355.5 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.1111, allocations: 4.125 kB / 355.5 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/0.1116, allocations: 414.5 kB / 355.9 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1116, allocations: 0 / 355.9 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.197e-05/0.1117, allocations: 27.92 kB / 355.9 MB, free: 6.488 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1117, allocations: 0 / 355.9 MB, free: 6.488 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1117, allocations: 4 kB / 355.9 MB, free: 6.484 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.1117, allocations: 4.156 kB / 355.9 MB, free: 6.48 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1117, allocations: 4 kB / 355.9 MB, free: 6.477 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.112, allocations: 284.3 kB / 356.2 MB, free: 6.137 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/0.112, allocations: 93 kB / 356.3 MB, free: 6.027 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.1121, allocations: 0 / 356.3 MB, free: 6.027 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.965e-05/0.1121, allocations: 4 kB / 356.3 MB, free: 6.023 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.1122, allocations: 15.98 kB / 356.3 MB, free: 6.008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.1122, allocations: 8 kB / 356.3 MB, free: 6 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.643e-05/0.1122, allocations: 87.28 kB / 356.4 MB, free: 5.914 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1122, allocations: 0 / 356.4 MB, free: 5.914 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1125, allocations: 16 kB / 356.4 MB, free: 5.898 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.198e-05/0.1126, allocations: 103.2 kB / 356.5 MB, free: 5.789 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.1127, allocations: 56.23 kB / 356.6 MB, free: 5.734 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1127, allocations: 8.188 kB / 356.6 MB, free: 5.727 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.887e-05/0.1128, allocations: 27.92 kB / 356.6 MB, free: 5.699 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.113, allocations: 15.88 kB / 356.6 MB, free: 5.684 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005999/0.1137, allocations: 397.8 kB / 357 MB, free: 5.25 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.1139, allocations: 0.6965 MB / 357.7 MB, free: 4.527 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.159e-05/0.114, allocations: 12.42 kB / 357.7 MB, free: 4.516 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.114, allocations: 15.44 kB / 357.7 MB, free: 4.5 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.114, allocations: 0 / 357.7 MB, free: 4.5 MB / 286.1 MB Notification: Performance of Templates: time 0.00282/0.1168, allocations: 0.5863 MB / 358.3 MB, free: 3.914 MB / 286.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches