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.001359/0.001359, allocations: 110.5 kB / 17.16 MB, free: 6.082 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.001534/0.001534, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.447/1.447, allocations: 222.9 MB / 241.7 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 43.22 kB / 300.6 MB, free: 6.324 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1063, allocations: 49.44 MB / 350 MB, free: 4.871 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003082/0.1094, allocations: 1.697 MB / 351.7 MB, free: 3.156 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002811/0.1097, allocations: 67.78 kB / 351.8 MB, free: 3.09 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.488e-05/0.1098, allocations: 0 / 351.8 MB, free: 3.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.11, allocations: 7.922 kB / 351.8 MB, free: 3.082 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.815e-05/0.1101, allocations: 15.86 kB / 351.8 MB, free: 3.066 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001364/0.1102, allocations: 19.98 kB / 351.8 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.1103, allocations: 63.73 kB / 351.9 MB, free: 2.984 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1104, allocations: 23.91 kB / 351.9 MB, free: 2.961 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.439e-05/0.1105, allocations: 19.94 kB / 352 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.796e-05/0.1106, allocations: 23.86 kB / 352 MB, free: 2.918 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.1106, allocations: 4 kB / 352 MB, free: 2.914 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.638e-05/0.1106, allocations: 4 kB / 352 MB, free: 2.91 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.1107, allocations: 7.984 kB / 352 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.1107, allocations: 31.81 kB / 352 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.158e-05/0.1108, allocations: 52.12 kB / 352.1 MB, free: 2.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1108, allocations: 0 / 352.1 MB, free: 2.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1108, allocations: 0 / 352.1 MB, free: 2.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1108, allocations: 0 / 352.1 MB, free: 2.82 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.000479/0.1113, allocations: 363.3 kB / 352.4 MB, free: 2.414 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1114, allocations: 12.03 kB / 352.4 MB, free: 2.402 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.1114, allocations: 4.938 kB / 352.4 MB, free: 2.398 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.1116, allocations: 184.2 kB / 352.6 MB, free: 2.18 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.1116, allocations: 8.375 kB / 352.6 MB, free: 2.172 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.1117, allocations: 12.38 kB / 352.6 MB, free: 2.16 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.1118, allocations: 66.23 kB / 352.7 MB, free: 2.09 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1118, allocations: 192 / 352.7 MB, free: 2.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.1119, allocations: 7.922 kB / 352.7 MB, free: 2.082 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1119, allocations: 4 kB / 352.7 MB, free: 2.078 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.234e-05/0.112, allocations: 31.98 kB / 352.8 MB, free: 2.047 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006793/0.1126, allocations: 383.5 kB / 353.1 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.1128, allocations: 58.56 kB / 353.2 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.41e-05/0.1128, allocations: 20.8 kB / 353.2 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.1128, allocations: 4 kB / 353.2 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1129, allocations: 30.56 kB / 353.2 MB, free: 1.484 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.1129, allocations: 0 / 353.2 MB, free: 1.484 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007791/0.1136, allocations: 0.5176 MB / 353.8 MB, free: 0.875 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.1137, allocations: 51.41 kB / 353.8 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.743e-05/0.1138, allocations: 117.8 kB / 353.9 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1138, allocations: 37.69 kB / 354 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/0.1139, allocations: 88.05 kB / 354 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.1139, allocations: 31.55 kB / 354.1 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.114, allocations: 29.72 kB / 354.1 MB, free: 500 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1141, allocations: 318.8 kB / 354.4 MB, free: 172 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.818e-05/0.1142, allocations: 16 kB / 354.4 MB, free: 156 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.414e-05/0.1142, allocations: 57.14 kB / 354.5 MB, free: 80 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.1144, allocations: 97.08 kB / 354.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.1144, allocations: 0 / 354.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001665/0.1145, allocations: 113.4 kB / 354.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1146, allocations: 4 kB / 354.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1146, allocations: 0 / 354.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1146, allocations: 4 kB / 354.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.711e-05/0.1147, allocations: 23.98 kB / 354.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.1147, allocations: 12.17 kB / 354.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.17e-05/0.1147, allocations: 4 kB / 354.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1148, allocations: 8.469 kB / 354.7 MB, free: 15.79 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 8.561e-05/0.1149, allocations: 125.7 kB / 354.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.1149, allocations: 7.906 kB / 354.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.1149, allocations: 8.375 kB / 354.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1149, allocations: 0 / 354.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.115, allocations: 7.875 kB / 354.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.115, allocations: 0 / 354.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004747/0.1154, allocations: 414.5 kB / 355.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.1155, allocations: 7.938 kB / 355.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.806e-05/0.1156, allocations: 15.98 kB / 355.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1156, allocations: 4 kB / 355.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.1156, allocations: 12.16 kB / 355.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1156, allocations: 0 / 355.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1156, allocations: 0 / 355.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.1158, allocations: 235.6 kB / 355.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.1159, allocations: 85.05 kB / 355.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.1159, allocations: 7.938 kB / 355.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.935e-05/0.116, allocations: 4 kB / 355.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.927e-05/0.116, allocations: 7.984 kB / 355.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.116, allocations: 4 kB / 355.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.553e-05/0.1161, allocations: 91.27 kB / 355.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1161, allocations: 0 / 355.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.1164, allocations: 24.06 kB / 355.8 MB, free: 14.62 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 0.0001067/0.1165, allocations: 99.19 kB / 355.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.1166, allocations: 64.06 kB / 355.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.1166, allocations: 8 kB / 356 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.838e-05/0.1167, allocations: 27.92 kB / 356 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.1171, allocations: 19.05 kB / 356 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006413/0.1177, allocations: 386.9 kB / 356.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.118, allocations: 0.6926 MB / 357.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.118, allocations: 15.38 kB / 357.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.118, allocations: 0 / 357.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of Templates: time 0.002445/0.1205, allocations: 0.9801 MB / 358.1 MB, free: 12.26 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