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.001106/0.001112, allocations: 96.3 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001078/0.001079, allocations: 207.8 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.2 MB / 245.9 MB, free: 12.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002486/0.0002487, allocations: 4 kB / 306.6 MB, free: 1.684 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0883/0.08857, allocations: 51.48 MB / 358.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00152/0.09013, allocations: 1.32 MB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001714/0.09032, allocations: 75.75 kB / 359.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.784e-05/0.09037, allocations: 4 kB / 359.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.279e-05/0.0904, allocations: 7.922 kB / 359.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.564e-05/0.09047, allocations: 15.97 kB / 359.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.524e-05/0.09057, allocations: 15.98 kB / 359.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.033e-05/0.09066, allocations: 43.88 kB / 359.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.277e-05/0.09075, allocations: 27.95 kB / 359.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.687e-05/0.09079, allocations: 15.94 kB / 359.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.967e-05/0.09084, allocations: 19.92 kB / 359.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.09086, allocations: 4 kB / 359.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.09088, allocations: 4 kB / 359.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.312e-05/0.09091, allocations: 7.938 kB / 359.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.09093, allocations: 37.64 kB / 359.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.873e-05/0.09101, allocations: 52.11 kB / 359.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.09102, allocations: 0 / 359.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.09102, allocations: 7.938 kB / 359.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.09103, allocations: 4 kB / 359.7 MB, free: 12.52 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.0003533/0.09139, allocations: 351.2 kB / 360.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.09143, allocations: 8.031 kB / 360.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/0.09146, allocations: 4 kB / 360.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.09161, allocations: 182.9 kB / 360.2 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.09163, allocations: 0 / 360.2 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.09165, allocations: 11.95 kB / 360.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.09178, allocations: 75.72 kB / 360.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.09179, allocations: 0 / 360.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.09181, allocations: 4 kB / 360.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.09182, allocations: 4 kB / 360.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.121e-05/0.0919, allocations: 35.97 kB / 360.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.09246, allocations: 375.6 kB / 360.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.683e-05/0.09256, allocations: 62.5 kB / 360.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-06/0.09257, allocations: 3.984 kB / 360.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.0926, allocations: 30.56 kB / 360.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.0926, allocations: 0 / 360.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006122/0.09322, allocations: 0.5091 MB / 361.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.09326, allocations: 59.41 kB / 361.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.309e-05/0.09336, allocations: 118 kB / 361.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.09338, allocations: 29.7 kB / 361.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.09343, allocations: 92.05 kB / 361.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.09347, allocations: 31.55 kB / 361.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.09347, allocations: 0 / 361.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.862e-05/0.09358, allocations: 322.8 kB / 362 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.309e-05/0.09362, allocations: 15.94 kB / 362 MB, free: 9.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.344e-05/0.09368, allocations: 61.14 kB / 362.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.43e-05/0.09373, allocations: 31.97 kB / 362.1 MB, free: 9.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.09374, allocations: 0 / 362.1 MB, free: 9.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001472/0.09389, allocations: 113.5 kB / 362.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.09391, allocations: 4 kB / 362.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.09392, allocations: 7.938 kB / 362.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.09393, allocations: 0 / 362.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.991e-05/0.09401, allocations: 27.92 kB / 362.2 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.09402, allocations: 0 / 362.2 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.2e-05/0.09407, allocations: 15.95 kB / 362.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.09408, allocations: 4 kB / 362.3 MB, free: 9.645 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.522e-05/0.09416, allocations: 113.8 kB / 362.4 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.0942, allocations: 11.94 kB / 362.4 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.09424, allocations: 12.38 kB / 362.4 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.09424, allocations: 3.984 kB / 362.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.09425, allocations: 4 kB / 362.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.09426, allocations: 0 / 362.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004403/0.09471, allocations: 414.5 kB / 362.8 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.09472, allocations: 4 kB / 362.8 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-05/0.09481, allocations: 12 kB / 362.8 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.09482, allocations: 4 kB / 362.8 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.09483, allocations: 11.95 kB / 362.8 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.09484, allocations: 3.938 kB / 362.8 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.09485, allocations: 8.453 kB / 362.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.09508, allocations: 288.3 kB / 363.1 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.09513, allocations: 81.14 kB / 363.2 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.09515, allocations: 8 kB / 363.2 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.349e-05/0.09522, allocations: 0 / 363.2 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.927e-05/0.09525, allocations: 11.94 kB / 363.2 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.09526, allocations: 4 kB / 363.2 MB, free: 8.504 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.52e-05/0.09531, allocations: 95.22 kB / 363.3 MB, free: 8.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09531, allocations: 0 / 363.3 MB, free: 8.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.09556, allocations: 16 kB / 363.3 MB, free: 8.395 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.16e-05/0.09566, allocations: 107.3 kB / 363.4 MB, free: 8.277 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.09577, allocations: 56.23 kB / 363.5 MB, free: 8.223 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.09578, allocations: 0 / 363.5 MB, free: 8.223 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.678e-05/0.09582, allocations: 28.02 kB / 363.5 MB, free: 8.195 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.09604, allocations: 17.27 kB / 363.5 MB, free: 8.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005225/0.09659, allocations: 404.6 kB / 363.9 MB, free: 7.746 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.09684, allocations: 0.6926 MB / 364.6 MB, free: 7.027 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.234e-05/0.09688, allocations: 8.422 kB / 364.6 MB, free: 7.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.09691, allocations: 11.44 kB / 364.7 MB, free: 7.008 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09691, allocations: 0 / 364.7 MB, free: 7.008 MB / 302.1 MB Notification: Performance of Templates: time 0.002197/0.09911, allocations: 0.5946 MB / 365.2 MB, free: 6.414 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","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches