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.0008032/0.0008032, allocations: 97.8 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009857/0.0009858, allocations: 203.6 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002094/0.0002095, allocations: 4.281 kB / 307.7 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09299/0.09321, allocations: 51.53 MB / 359.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001636/0.09488, allocations: 1.359 MB / 360.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000194/0.09509, allocations: 67.7 kB / 360.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.75e-05/0.09516, allocations: 4 kB / 360.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.382e-05/0.09524, allocations: 11.92 kB / 360.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.111e-05/0.09529, allocations: 7.922 kB / 360.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001039/0.0954, allocations: 23.92 kB / 360.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.09551, allocations: 63.73 kB / 360.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.09563, allocations: 27.89 kB / 360.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.285e-05/0.09567, allocations: 19.88 kB / 360.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.046e-05/0.09573, allocations: 19.92 kB / 360.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.09576, allocations: 11.94 kB / 360.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.09578, allocations: 4 kB / 360.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.0958, allocations: 0 / 360.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.408e-05/0.09586, allocations: 57.56 kB / 360.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.445e-05/0.09596, allocations: 63.98 kB / 361 MB, free: 11.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.09597, allocations: 0 / 361 MB, free: 11.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.09598, allocations: 0 / 361 MB, free: 11.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.09599, allocations: 0 / 361 MB, free: 11.55 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.0003989/0.09639, allocations: 351.3 kB / 361.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.09644, allocations: 16.03 kB / 361.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.09647, allocations: 4.938 kB / 361.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.09665, allocations: 180.2 kB / 361.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.09667, allocations: 4.375 kB / 361.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.0967, allocations: 8.375 kB / 361.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.09685, allocations: 72.28 kB / 361.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.09687, allocations: 4.172 kB / 361.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.09689, allocations: 7.938 kB / 361.6 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.0969, allocations: 0 / 361.6 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.795e-05/0.09698, allocations: 35.97 kB / 361.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005883/0.09758, allocations: 383.5 kB / 362 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.949e-05/0.09769, allocations: 58.5 kB / 362.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.493e-05/0.09774, allocations: 20.84 kB / 362.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.09775, allocations: 4 kB / 362.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.09779, allocations: 34.56 kB / 362.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.09779, allocations: 0 / 362.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006644/0.09846, allocations: 0.513 MB / 362.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.09852, allocations: 55.34 kB / 362.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.797e-05/0.0986, allocations: 117.8 kB / 362.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.09863, allocations: 33.7 kB / 362.9 MB, free: 9.387 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.09868, allocations: 92.05 kB / 363 MB, free: 9.293 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.09871, allocations: 31.55 kB / 363 MB, free: 9.262 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.09874, allocations: 21.7 kB / 363 MB, free: 9.234 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.961e-05/0.09884, allocations: 314.8 kB / 363.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.539e-05/0.09888, allocations: 19.98 kB / 363.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.565e-05/0.09895, allocations: 64.14 kB / 363.4 MB, free: 8.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.98e-05/0.09905, allocations: 77.09 kB / 363.5 MB, free: 8.727 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.09906, allocations: 0 / 363.5 MB, free: 8.727 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001542/0.09922, allocations: 113.4 kB / 363.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.09925, allocations: 12.09 kB / 363.6 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.09926, allocations: 0 / 363.6 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.09927, allocations: 4 kB / 363.6 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.294e-05/0.09936, allocations: 23.92 kB / 363.6 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.557e-06/0.09938, allocations: 7.938 kB / 363.6 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.156e-05/0.09943, allocations: 4 kB / 363.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-06/0.09944, allocations: 4.141 kB / 363.6 MB, free: 8.555 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 7.138e-05/0.09952, allocations: 121.7 kB / 363.8 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.09955, allocations: 11.89 kB / 363.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/0.09959, allocations: 20.38 kB / 363.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.0996, allocations: 0 / 363.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.09961, allocations: 3.938 kB / 363.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.09962, allocations: 3.984 kB / 363.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004481/0.1001, allocations: 410.6 kB / 364.2 MB, free: 7.914 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1001, allocations: 0 / 364.2 MB, free: 7.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.893e-05/0.1002, allocations: 23.92 kB / 364.2 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1002, allocations: 4 kB / 364.2 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1002, allocations: 11.94 kB / 364.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1002, allocations: 4 kB / 364.2 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1002, allocations: 0 / 364.2 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.1005, allocations: 232 kB / 364.5 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/0.1005, allocations: 89.03 kB / 364.6 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.1005, allocations: 8 kB / 364.6 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.969e-05/0.1006, allocations: 96 / 364.6 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.1006, allocations: 11.88 kB / 364.6 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.1006, allocations: 8.062 kB / 364.6 MB, free: 7.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.349e-05/0.1007, allocations: 95.27 kB / 364.7 MB, free: 7.387 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1007, allocations: 0 / 364.7 MB, free: 7.387 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.101, allocations: 16 kB / 364.7 MB, free: 7.371 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 9.095e-05/0.1011, allocations: 95.25 kB / 364.8 MB, free: 7.266 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.1012, allocations: 67.78 kB / 364.9 MB, free: 7.199 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1012, allocations: 192 / 364.9 MB, free: 7.199 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.748e-05/0.1013, allocations: 27.94 kB / 364.9 MB, free: 7.172 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.1016, allocations: 18.39 kB / 364.9 MB, free: 7.156 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005454/0.1022, allocations: 397.9 kB / 365.3 MB, free: 6.727 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.1024, allocations: 0.6965 MB / 366 MB, free: 6.004 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.552e-05/0.1025, allocations: 8.438 kB / 366 MB, free: 5.996 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.1025, allocations: 11.44 kB / 366 MB, free: 5.984 MB / 302.1 MB Notification: Performance of SimCode: time 1.913e-06/0.1025, allocations: 4 kB / 366 MB, free: 5.98 MB / 302.1 MB Notification: Performance of Templates: time 0.00267/0.1052, allocations: 0.6184 MB / 366.6 MB, free: 5.363 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.0.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