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.001377/0.001377, allocations: 110.8 kB / 17.33 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, allocations: 213.8 kB / 18.27 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 246.5 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00266/0.00266, allocations: 65.33 kB / 306.5 MB, free: 0.8867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1109, allocations: 50.53 MB / 357 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00302/0.1139, allocations: 1.712 MB / 358.7 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002298/0.1142, allocations: 71.77 kB / 358.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.401e-05/0.1143, allocations: 0 / 358.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.1144, allocations: 7.938 kB / 358.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.092e-05/0.1144, allocations: 19.84 kB / 358.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/0.1146, allocations: 19.98 kB / 358.9 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.1147, allocations: 67.67 kB / 358.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1148, allocations: 19.97 kB / 358.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.385e-05/0.1149, allocations: 27.92 kB / 359 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.479e-05/0.115, allocations: 23.86 kB / 359 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.115, allocations: 4 kB / 359 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.587e-05/0.115, allocations: 8 kB / 359 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.115, allocations: 15.98 kB / 359 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.214e-05/0.1151, allocations: 27.88 kB / 359 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.1152, allocations: 64 kB / 359.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1152, allocations: 0 / 359.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1152, allocations: 0 / 359.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1152, allocations: 0 / 359.1 MB, free: 12.26 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.0005404/0.1158, allocations: 363.3 kB / 359.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1158, allocations: 8.031 kB / 359.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.1158, allocations: 8.844 kB / 359.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.116, allocations: 184.2 kB / 359.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.1161, allocations: 8.375 kB / 359.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.1161, allocations: 8.359 kB / 359.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.1163, allocations: 70.23 kB / 359.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1163, allocations: 4.125 kB / 359.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1163, allocations: 3.938 kB / 359.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1163, allocations: 4 kB / 359.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.347e-05/0.1164, allocations: 31.98 kB / 359.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006659/0.1171, allocations: 383.5 kB / 360.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.9e-05/0.1172, allocations: 58.5 kB / 360.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.1172, allocations: 20.86 kB / 360.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.1172, allocations: 4 kB / 360.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.1173, allocations: 34.5 kB / 360.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.1173, allocations: 4 kB / 360.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007428/0.118, allocations: 0.5137 MB / 360.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.1181, allocations: 51.41 kB / 360.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.1182, allocations: 121.8 kB / 361 MB, free: 10.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.1182, allocations: 29.7 kB / 361 MB, free: 10.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.53e-05/0.1183, allocations: 92.05 kB / 361.1 MB, free: 9.984 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.1183, allocations: 39.45 kB / 361.1 MB, free: 9.945 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.1184, allocations: 21.72 kB / 361.1 MB, free: 9.918 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1186, allocations: 322.8 kB / 361.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.053e-05/0.1186, allocations: 16 kB / 361.5 MB, free: 9.578 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-05/0.1187, allocations: 57.14 kB / 361.5 MB, free: 9.504 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.1188, allocations: 97 kB / 361.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.1188, allocations: 0 / 361.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001668/0.119, allocations: 109.5 kB / 361.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.119, allocations: 4 kB / 361.7 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.119, allocations: 4.094 kB / 361.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1191, allocations: 7.984 kB / 361.7 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.488e-05/0.1191, allocations: 20 kB / 361.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1192, allocations: 3.938 kB / 361.8 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.122e-05/0.1192, allocations: 4.469 kB / 361.8 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.1192, allocations: 11.98 kB / 361.8 MB, free: 9.223 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.0001006/0.1193, allocations: 125.7 kB / 361.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.1194, allocations: 4 kB / 361.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.1194, allocations: 12.38 kB / 361.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1194, allocations: 3.938 kB / 361.9 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1194, allocations: 3.938 kB / 361.9 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1194, allocations: 7.938 kB / 361.9 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005376/0.12, allocations: 410.5 kB / 362.3 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.12, allocations: 8.156 kB / 362.3 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.179e-05/0.1201, allocations: 15.98 kB / 362.4 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1201, allocations: 4 kB / 362.4 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1201, allocations: 4 kB / 362.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1201, allocations: 0 / 362.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1201, allocations: 4 kB / 362.4 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.1204, allocations: 235.5 kB / 362.6 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.1205, allocations: 85.05 kB / 362.7 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1205, allocations: 4 kB / 362.7 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.1206, allocations: 3.984 kB / 362.7 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.1206, allocations: 8 kB / 362.7 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.1206, allocations: 8.062 kB / 362.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.899e-05/0.1207, allocations: 91.27 kB / 362.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1207, allocations: 0 / 362.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.1209, allocations: 20 kB / 362.8 MB, free: 8.055 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.000113/0.1211, allocations: 99.12 kB / 362.9 MB, free: 7.949 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.1212, allocations: 72.06 kB / 363 MB, free: 7.879 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.1212, allocations: 4.188 kB / 363 MB, free: 7.875 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.378e-05/0.1213, allocations: 32.06 kB / 363 MB, free: 7.844 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.1216, allocations: 12.45 kB / 363 MB, free: 7.832 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006226/0.1222, allocations: 362.9 kB / 363.4 MB, free: 7.434 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.1226, allocations: 0.6924 MB / 364.1 MB, free: 6.715 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.724e-05/0.1226, allocations: 8.438 kB / 364.1 MB, free: 6.707 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/0.1227, allocations: 11.44 kB / 364.1 MB, free: 6.695 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1227, allocations: 0 / 364.1 MB, free: 6.695 MB / 302.1 MB Notification: Performance of Templates: time 0.002968/0.1257, allocations: 0.6448 MB / 364.7 MB, free: 6.051 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches