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.0009226/0.0009227, allocations: 95.61 kB / 17.3 MB, free: 6.391 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.00151/0.00151, allocations: 175.6 kB / 18.21 MB, free: 5.551 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.521/1.521, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0005224/0.0005227, allocations: 12 kB / 281.4 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1123, allocations: 47.59 MB / 329 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001841/0.1142, allocations: 1.339 MB / 330.3 MB, free: 2.41 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002492/0.1145, allocations: 75.72 kB / 330.4 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.226e-05/0.1146, allocations: 0 / 330.4 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.1147, allocations: 7.938 kB / 330.4 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.966e-05/0.1147, allocations: 15.84 kB / 330.4 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.1149, allocations: 15.98 kB / 330.4 MB, free: 2.297 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.115, allocations: 55.8 kB / 330.5 MB, free: 2.242 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1152, allocations: 19.97 kB / 330.5 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.31e-05/0.1152, allocations: 27.88 kB / 330.5 MB, free: 2.195 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.23e-05/0.1153, allocations: 23.86 kB / 330.5 MB, free: 2.172 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.1153, allocations: 4 kB / 330.5 MB, free: 2.168 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.412e-05/0.1154, allocations: 0 / 330.5 MB, free: 2.168 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.1154, allocations: 7.938 kB / 330.5 MB, free: 2.16 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.15e-05/0.1154, allocations: 53.56 kB / 330.6 MB, free: 2.102 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.1156, allocations: 71.98 kB / 330.7 MB, free: 2.031 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1156, allocations: 0 / 330.7 MB, free: 2.031 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1156, allocations: 0 / 330.7 MB, free: 2.031 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1156, allocations: 0 / 330.7 MB, free: 2.031 MB / 270.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.0005404/0.1162, allocations: 351.4 kB / 331 MB, free: 1.637 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.1162, allocations: 8.031 kB / 331 MB, free: 1.629 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.1163, allocations: 8.844 kB / 331 MB, free: 1.621 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.1165, allocations: 184.2 kB / 331.2 MB, free: 1.402 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1165, allocations: 384 / 331.2 MB, free: 1.402 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.1166, allocations: 16.28 kB / 331.2 MB, free: 1.387 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.1167, allocations: 65.61 kB / 331.3 MB, free: 1.32 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.1167, allocations: 4.188 kB / 331.3 MB, free: 1.316 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.1168, allocations: 15.92 kB / 331.3 MB, free: 1.301 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1168, allocations: 0 / 331.3 MB, free: 1.301 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.173e-05/0.1169, allocations: 39.91 kB / 331.3 MB, free: 1.262 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000678/0.1176, allocations: 379.6 kB / 331.7 MB, free: 0.832 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.1177, allocations: 54.56 kB / 331.8 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.698e-05/0.1177, allocations: 20.84 kB / 331.8 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.1177, allocations: 4 kB / 331.8 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.1178, allocations: 34.56 kB / 331.8 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.1178, allocations: 0 / 331.8 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007596/0.1185, allocations: 0.5137 MB / 332.3 MB, free: 96 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.1186, allocations: 59.41 kB / 332.4 MB, free: 24 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.747e-05/0.1187, allocations: 113.8 kB / 332.5 MB, free: 15.9 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.1187, allocations: 29.7 kB / 332.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/0.1188, allocations: 95.95 kB / 332.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.1188, allocations: 35.48 kB / 332.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.1189, allocations: 25.64 kB / 332.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.641e-05/0.119, allocations: 314.8 kB / 333 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.116e-05/0.119, allocations: 19.98 kB / 333 MB, free: 15.37 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.497e-05/0.1191, allocations: 57.14 kB / 333.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.1192, allocations: 85.03 kB / 333.2 MB, free: 15.19 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1192, allocations: 0 / 333.2 MB, free: 15.19 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001568/0.1194, allocations: 117.4 kB / 333.3 MB, free: 15.07 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1194, allocations: 8 kB / 333.3 MB, free: 15.06 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1194, allocations: 0 / 333.3 MB, free: 15.06 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1194, allocations: 0 / 333.3 MB, free: 15.06 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.357e-05/0.1195, allocations: 24.45 kB / 333.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1195, allocations: 7.938 kB / 333.3 MB, free: 15.03 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/0.1196, allocations: 4 kB / 333.3 MB, free: 15.03 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.1196, allocations: 4.156 kB / 333.3 MB, free: 15.02 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.238e-05/0.1197, allocations: 121.9 kB / 333.4 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.1197, allocations: 11.98 kB / 333.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.491e-05/0.1197, allocations: 16.36 kB / 333.5 MB, free: 14.87 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1198, allocations: 4 kB / 333.5 MB, free: 14.86 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1198, allocations: 3.938 kB / 333.5 MB, free: 14.86 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1198, allocations: 3.984 kB / 333.5 MB, free: 14.86 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004463/0.1202, allocations: 402.7 kB / 333.9 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.1202, allocations: 0 / 333.9 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.583e-05/0.1203, allocations: 23.92 kB / 333.9 MB, free: 14.37 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1203, allocations: 0 / 333.9 MB, free: 14.37 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.1204, allocations: 8 kB / 333.9 MB, free: 14.36 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1204, allocations: 4 kB / 333.9 MB, free: 14.36 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1204, allocations: 3.984 kB / 333.9 MB, free: 14.35 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.1206, allocations: 231.8 kB / 334.1 MB, free: 14.09 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.808e-05/0.1207, allocations: 89.03 kB / 334.2 MB, free: 13.99 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.1207, allocations: 4 kB / 334.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.584e-05/0.1208, allocations: 7.938 kB / 334.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.1208, allocations: 8.062 kB / 334.2 MB, free: 13.97 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.1209, allocations: 4 kB / 334.3 MB, free: 13.96 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.171e-05/0.1209, allocations: 95.27 kB / 334.3 MB, free: 13.87 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1209, allocations: 3.938 kB / 334.3 MB, free: 13.87 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.1212, allocations: 12 kB / 334.4 MB, free: 13.86 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001164/0.1213, allocations: 99.25 kB / 334.5 MB, free: 13.75 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.1214, allocations: 67.78 kB / 334.5 MB, free: 13.68 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1214, allocations: 0 / 334.5 MB, free: 13.68 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.745e-05/0.1215, allocations: 27.94 kB / 334.6 MB, free: 13.65 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.1218, allocations: 12.36 kB / 334.6 MB, free: 13.64 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005751/0.1224, allocations: 417.8 kB / 335 MB, free: 13.19 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.1227, allocations: 0.6926 MB / 335.7 MB, free: 12.47 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.376e-05/0.1227, allocations: 8.438 kB / 335.7 MB, free: 12.46 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/0.1228, allocations: 11.44 kB / 335.7 MB, free: 12.45 MB / 286.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1228, allocations: 0 / 335.7 MB, free: 12.45 MB / 286.1 MB Notification: Performance of Templates: time 0.00276/0.1255, allocations: 0.6134 MB / 336.3 MB, free: 11.84 MB / 286.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","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches