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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001043/0.001043, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001721/0.001721, allocations: 159.8 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.048/1.048, allocations: 177 MB / 205.2 MB, free: 5.035 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.154e-05, allocations: 9.203 kB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002261/0.002283, allocations: 1.724 MB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002444/0.002527, allocations: 71.72 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.891e-05/0.002586, allocations: 3.938 kB / 275.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.249e-05/0.002678, allocations: 3.938 kB / 275.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.939e-05/0.002728, allocations: 23.78 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001093/0.002837, allocations: 19.92 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.661e-05/0.002934, allocations: 67.66 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.963e-05/0.003023, allocations: 15.98 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.156e-05/0.003085, allocations: 39.91 kB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.729e-05/0.003152, allocations: 19.97 kB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.003169, allocations: 4 kB / 275.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.003179, allocations: 4 kB / 275.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.003197, allocations: 15.92 kB / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.00322, allocations: 19.98 kB / 275.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.952e-05/0.00332, allocations: 43.81 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.003323, allocations: 4 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.003323, allocations: 0 / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.003328, allocations: 4 kB / 275.5 MB, free: 14.94 MB / 266.7 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.0002772/0.003605, allocations: 264.7 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.003637, allocations: 15.98 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.003664, allocations: 8.938 kB / 275.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.003798, allocations: 121.7 kB / 275.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-06/0.003806, allocations: 4.375 kB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.003825, allocations: 12.36 kB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.4e-05/0.003899, allocations: 54.17 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.00391, allocations: 8.125 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.003917, allocations: 4.375 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.003922, allocations: 8.297 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.212e-05/0.003954, allocations: 27.92 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.004299, allocations: 239.4 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.677e-05/0.004356, allocations: 46.5 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.753e-05/0.004373, allocations: 8.859 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.505e-06/0.004381, allocations: 3.938 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.0044, allocations: 34.56 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.004402, allocations: 0 / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004405/0.004842, allocations: 344 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.004867, allocations: 55.41 kB / 276.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.448e-05/0.004921, allocations: 111 kB / 276.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.00493, allocations: 29.7 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.004971, allocations: 99.92 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.00499, allocations: 35.72 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.00502, allocations: 29.64 kB / 277 MB, free: 13.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.921e-05/0.005089, allocations: 318.8 kB / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.005101, allocations: 12 kB / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.442e-05/0.005136, allocations: 57.02 kB / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.46e-05/0.00519, allocations: 69.05 kB / 277.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.005192, allocations: 0 / 277.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.502e-05/0.005277, allocations: 81.62 kB / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.005289, allocations: 7.984 kB / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.005295, allocations: 4 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.005306, allocations: 8.078 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.833e-05/0.005404, allocations: 27.92 kB / 277.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.005409, allocations: 4.078 kB / 277.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.005431, allocations: 0 / 277.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.005437, allocations: 7.984 kB / 277.6 MB, free: 12.58 MB / 266.7 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 5.302e-05/0.00549, allocations: 117.8 kB / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.005509, allocations: 11.94 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.425e-05/0.005533, allocations: 12.42 kB / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.005536, allocations: 4 kB / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.005538, allocations: 0 / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.00554, allocations: 4 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.005802, allocations: 282.8 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.005805, allocations: 4 kB / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-05/0.005857, allocations: 27.86 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.00586, allocations: 0 / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/0.005867, allocations: 4 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.005869, allocations: 0 / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.005871, allocations: 4 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.006045, allocations: 203.8 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.235e-06/0.006053, allocations: 4 kB / 278.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.006066, allocations: 8 kB / 278.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.678e-05/0.006103, allocations: 4 kB / 278.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.006121, allocations: 15.86 kB / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.006124, allocations: 4 kB / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.148e-05/0.006136, allocations: 8.859 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006136, allocations: 4 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001462/0.006282, allocations: 16 kB / 278.3 MB, free: 11.77 MB / 266.7 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 7.516e-05/0.006357, allocations: 88.44 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.676e-05/0.006434, allocations: 44.7 kB / 278.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.006438, allocations: 4 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.041e-05/0.006458, allocations: 28.78 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.006631, allocations: 12 kB / 278.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.006982, allocations: 269.6 kB / 278.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.421e-05/0.007016, allocations: 67.34 kB / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.837e-05/0.007045, allocations: 12.42 kB / 278.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.007085, allocations: 55.38 kB / 278.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of SimCode: time 6.72e-07/0.007086, allocations: 0 / 278.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of Templates: time 0.002112/0.009198, allocations: 0.7006 MB / 279.6 MB, free: 10.43 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.514858604874462]