Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001334/0.001334, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 247.5 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 71.39 kB / 307.6 MB, free: 0.6367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1045, allocations: 50.52 MB / 358.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003284/0.1078, allocations: 1.653 MB / 359.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002643/0.1081, allocations: 75.72 kB / 359.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.847e-05/0.1082, allocations: 0 / 359.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.796e-05/0.1083, allocations: 11.88 kB / 359.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.208e-05/0.1084, allocations: 19.84 kB / 359.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001258/0.1085, allocations: 15.98 kB / 359.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.1087, allocations: 67.66 kB / 360 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.1088, allocations: 23.97 kB / 360 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.078e-05/0.1089, allocations: 23.92 kB / 360.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.693e-05/0.109, allocations: 27.86 kB / 360.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.109, allocations: 8 kB / 360.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.617e-05/0.109, allocations: 4 kB / 360.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.109, allocations: 11.98 kB / 360.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.628e-05/0.1091, allocations: 31.86 kB / 360.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.1092, allocations: 64.02 kB / 360.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1092, allocations: 0 / 360.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1092, allocations: 0 / 360.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1092, allocations: 0 / 360.2 MB, free: 12.08 MB / 302.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.0005127/0.1098, allocations: 363.3 kB / 360.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.1098, allocations: 12.03 kB / 360.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.1098, allocations: 8.844 kB / 360.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.11, allocations: 184.2 kB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1101, allocations: 4.375 kB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.1101, allocations: 8.375 kB / 360.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.1102, allocations: 66.23 kB / 360.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.1103, allocations: 4.188 kB / 360.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.1103, allocations: 7.875 kB / 360.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1103, allocations: 0 / 360.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.034e-05/0.1104, allocations: 39.91 kB / 360.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006658/0.1111, allocations: 379.5 kB / 361.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.1112, allocations: 54.56 kB / 361.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.044e-05/0.1112, allocations: 20.84 kB / 361.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.1113, allocations: 160 / 361.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.1113, allocations: 46.5 kB / 361.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.1113, allocations: 0 / 361.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008116/0.1121, allocations: 0.5058 MB / 361.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.1122, allocations: 55.41 kB / 361.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.1123, allocations: 117.8 kB / 362 MB, free: 9.941 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.1123, allocations: 29.7 kB / 362.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.1124, allocations: 96.03 kB / 362.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.1124, allocations: 35.45 kB / 362.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.1125, allocations: 29.7 kB / 362.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1127, allocations: 314.8 kB / 362.5 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-05/0.1127, allocations: 19.98 kB / 362.6 MB, free: 9.402 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.168e-05/0.1128, allocations: 61.14 kB / 362.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.1129, allocations: 93 kB / 362.7 MB, free: 9.215 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1129, allocations: 0 / 362.7 MB, free: 9.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001729/0.1131, allocations: 105.5 kB / 362.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1131, allocations: 15.28 kB / 362.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1132, allocations: 0 / 362.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.1132, allocations: 8 kB / 362.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.696e-05/0.1133, allocations: 24.45 kB / 362.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.1133, allocations: 7.938 kB / 362.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.755e-05/0.1133, allocations: 0 / 362.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.1133, allocations: 4 kB / 362.9 MB, free: 9.051 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 0.0001038/0.1135, allocations: 125.7 kB / 363 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.1135, allocations: 7.938 kB / 363 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.474e-05/0.1135, allocations: 20.36 kB / 363 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.1135, allocations: 0 / 363 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1136, allocations: 3.938 kB / 363 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1136, allocations: 0 / 363 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005593/0.1141, allocations: 418.5 kB / 363.4 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1141, allocations: 0 / 363.4 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.033e-05/0.1142, allocations: 16 kB / 363.4 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.1143, allocations: 4 kB / 363.5 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.1143, allocations: 0 / 363.5 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.1143, allocations: 7.984 kB / 363.5 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1143, allocations: 160 / 363.5 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.1146, allocations: 235.8 kB / 363.7 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/0.1146, allocations: 89.05 kB / 363.8 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.1147, allocations: 3.984 kB / 363.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/0.1147, allocations: 4 kB / 363.8 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.82e-05/0.1148, allocations: 16.05 kB / 363.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1148, allocations: 4 kB / 363.8 MB, free: 7.984 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.743e-05/0.1149, allocations: 87.28 kB / 363.9 MB, free: 7.898 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1149, allocations: 0 / 363.9 MB, free: 7.898 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1151, allocations: 16 kB / 363.9 MB, free: 7.883 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.0001318/0.1153, allocations: 103.2 kB / 364 MB, free: 7.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.1154, allocations: 63.86 kB / 364.1 MB, free: 7.707 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1154, allocations: 4.188 kB / 364.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.586e-05/0.1155, allocations: 35.86 kB / 364.1 MB, free: 7.668 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.1159, allocations: 16.36 kB / 364.1 MB, free: 7.652 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006656/0.1165, allocations: 369 kB / 364.5 MB, free: 7.242 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.1169, allocations: 0.6963 MB / 365.2 MB, free: 6.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.117, allocations: 11.44 kB / 365.2 MB, free: 6.508 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.117, allocations: 0 / 365.2 MB, free: 6.508 MB / 302.1 MB Notification: Performance of Templates: time 0.002788/0.1198, allocations: 0.9949 MB / 366.2 MB, free: 5.512 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches