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.001249/0.001249, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001297/0.001297, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002606/0.002607, allocations: 59.42 kB / 307 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1241, allocations: 50.54 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002799/0.1269, allocations: 1.651 MB / 359.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002293/0.1272, allocations: 71.72 kB / 359.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.987e-05/0.1272, allocations: 0 / 359.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.1273, allocations: 7.875 kB / 359.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.999e-05/0.1274, allocations: 23.84 kB / 359.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001063/0.1275, allocations: 15.98 kB / 359.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.1276, allocations: 63.67 kB / 359.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1278, allocations: 27.95 kB / 359.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.003e-05/0.1278, allocations: 23.94 kB / 359.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.057e-05/0.1279, allocations: 27.84 kB / 359.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.1279, allocations: 4 kB / 359.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.66e-05/0.1279, allocations: 4 kB / 359.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.1279, allocations: 16 kB / 359.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.82e-05/0.128, allocations: 27.86 kB / 359.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.1281, allocations: 64.02 kB / 359.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1281, allocations: 0 / 359.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1281, allocations: 0 / 359.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1281, allocations: 0 / 359.5 MB, free: 12.04 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.0005064/0.1287, allocations: 367.3 kB / 359.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1287, allocations: 12.03 kB / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.1287, allocations: 4.844 kB / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.129, allocations: 184.2 kB / 360.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.129, allocations: 4.375 kB / 360.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.129, allocations: 12.38 kB / 360.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.1292, allocations: 62.23 kB / 360.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1292, allocations: 8.125 kB / 360.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.1292, allocations: 7.938 kB / 360.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-06/0.1292, allocations: 3.938 kB / 360.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.638e-05/0.1293, allocations: 35.97 kB / 360.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006666/0.13, allocations: 379.5 kB / 360.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.1301, allocations: 58.56 kB / 360.7 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/0.1301, allocations: 24.83 kB / 360.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.1302, allocations: 0 / 360.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.1302, allocations: 38.5 kB / 360.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.1302, allocations: 4 kB / 360.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007828/0.131, allocations: 0.5052 MB / 361.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.131, allocations: 55.41 kB / 361.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1311, allocations: 117.8 kB / 361.4 MB, free: 9.891 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.1312, allocations: 29.7 kB / 361.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/0.1312, allocations: 96.05 kB / 361.5 MB, free: 9.758 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.1313, allocations: 35.45 kB / 361.6 MB, free: 9.723 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.1313, allocations: 29.7 kB / 361.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1315, allocations: 310.8 kB / 361.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.828e-05/0.1315, allocations: 23.98 kB / 361.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-05/0.1316, allocations: 53.14 kB / 362 MB, free: 9.281 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.1317, allocations: 93.02 kB / 362.1 MB, free: 9.172 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1317, allocations: 0 / 362.1 MB, free: 9.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001582/0.1319, allocations: 109.5 kB / 362.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1319, allocations: 11.44 kB / 362.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1319, allocations: 4.094 kB / 362.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1319, allocations: 4 kB / 362.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.266e-05/0.132, allocations: 23.98 kB / 362.2 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.132, allocations: 7.938 kB / 362.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.838e-05/0.1321, allocations: 7.938 kB / 362.2 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1321, allocations: 4 kB / 362.2 MB, free: 9 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.317e-05/0.1322, allocations: 121.7 kB / 362.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.1322, allocations: 4 kB / 362.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.1322, allocations: 12.38 kB / 362.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1322, allocations: 4 kB / 362.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1322, allocations: 3.938 kB / 362.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1322, allocations: 3.984 kB / 362.4 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004793/0.1327, allocations: 410.7 kB / 362.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1327, allocations: 8.094 kB / 362.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.844e-05/0.1328, allocations: 19.98 kB / 362.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/0.1329, allocations: 8.031 kB / 362.8 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.1329, allocations: 0 / 362.8 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.1329, allocations: 4 kB / 362.8 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1329, allocations: 0 / 362.8 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.1331, allocations: 239.5 kB / 363 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.1332, allocations: 89.03 kB / 363.1 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.1332, allocations: 0 / 363.1 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.531e-05/0.1333, allocations: 8 kB / 363.1 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.1333, allocations: 4 kB / 363.1 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.1333, allocations: 8.047 kB / 363.2 MB, free: 7.941 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.59e-05/0.1334, allocations: 91.28 kB / 363.2 MB, free: 7.852 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1334, allocations: 0 / 363.2 MB, free: 7.852 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.1336, allocations: 16 kB / 363.3 MB, free: 7.836 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.0001094/0.1338, allocations: 103.2 kB / 363.4 MB, free: 7.723 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.1339, allocations: 72.23 kB / 363.4 MB, free: 7.652 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.1339, allocations: 0 / 363.4 MB, free: 7.652 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.134, allocations: 36.05 kB / 363.5 MB, free: 7.617 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.1343, allocations: 15.94 kB / 363.5 MB, free: 7.602 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005903/0.1349, allocations: 335.3 kB / 363.8 MB, free: 7.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.1353, allocations: 0.6963 MB / 364.5 MB, free: 6.508 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.963e-05/0.1353, allocations: 12.41 kB / 364.5 MB, free: 6.496 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.1354, allocations: 15.44 kB / 364.5 MB, free: 6.48 MB / 302.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1354, allocations: 0 / 364.5 MB, free: 6.48 MB / 302.1 MB Notification: Performance of Templates: time 0.002978/0.1383, allocations: 0.6494 MB / 365.2 MB, free: 5.84 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