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.0009505/0.0009505, allocations: 88.73 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.0008975/0.0008975, allocations: 160.2 kB / 24.91 MB, free: 8.77 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 0.9882/0.9882, allocations: 177 MB / 205.2 MB, free: 5.059 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.343e-06/1.343e-06, allocations: 0 / 273.4 MB, free: 1.125 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.351e-05, allocations: 6.312 kB / 273.4 MB, free: 1.117 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002891/0.002915, allocations: 1.684 MB / 275 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002523/0.003167, allocations: 67.72 kB / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.349e-05/0.00323, allocations: 8 kB / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.003334, allocations: 7.922 kB / 275.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.876e-05/0.003403, allocations: 23.8 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.003518, allocations: 11.92 kB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.003639, allocations: 75.64 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.003739, allocations: 15.98 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.104e-05/0.00381, allocations: 35.95 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.95e-05/0.00389, allocations: 19.92 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.003912, allocations: 4 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.368e-05/0.003925, allocations: 8 kB / 275.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.003949, allocations: 15.92 kB / 275.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.003977, allocations: 19.92 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.004098, allocations: 47.83 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.0041, allocations: 0 / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004101, allocations: 0 / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.277e-06/0.004104, allocations: 0 / 275.4 MB, free: 15.07 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.0003711/0.004475, allocations: 264.8 kB / 275.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.004513, allocations: 11.98 kB / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.004551, allocations: 12.92 kB / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.004688, allocations: 121.8 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.004699, allocations: 4.375 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.004723, allocations: 12.31 kB / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.846e-05/0.004822, allocations: 62.16 kB / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.004835, allocations: 4.172 kB / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.004842, allocations: 384 / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.004848, allocations: 4.375 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.457e-05/0.004892, allocations: 19.92 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.005331, allocations: 243.3 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.72e-05/0.005408, allocations: 46.55 kB / 276.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.107e-05/0.005429, allocations: 12.86 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.005437, allocations: 3.938 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.005462, allocations: 34.56 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.133e-06/0.005463, allocations: 0 / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005621/0.006025, allocations: 343.2 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.006057, allocations: 55.41 kB / 276.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.842e-05/0.006135, allocations: 119.5 kB / 276.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.006146, allocations: 29.7 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.006187, allocations: 95.92 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.006215, allocations: 35.72 kB / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.006251, allocations: 25.72 kB / 276.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.868e-05/0.00634, allocations: 322.8 kB / 277.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.006356, allocations: 8 kB / 277.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.328e-05/0.006399, allocations: 57 kB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.143e-05/0.00647, allocations: 65.06 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.006471, allocations: 0 / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001231/0.006595, allocations: 93.39 kB / 277.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.006606, allocations: 8 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.006611, allocations: 0 / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.006625, allocations: 4 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.174e-05/0.006697, allocations: 23.98 kB / 277.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.006701, allocations: 0 / 277.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.561e-05/0.006736, allocations: 8 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.006742, allocations: 4.406 kB / 277.5 MB, free: 12.71 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 6.339e-05/0.006805, allocations: 117.8 kB / 277.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.006832, allocations: 7.938 kB / 277.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.006859, allocations: 16.42 kB / 277.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.00686, allocations: 0 / 277.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.006862, allocations: 0 / 277.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.006864, allocations: 0 / 277.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.007206, allocations: 290.8 kB / 277.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.007207, allocations: 4.031 kB / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.294e-05/0.00728, allocations: 19.98 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.007282, allocations: 0 / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.00729, allocations: 4 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.007292, allocations: 0 / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.007295, allocations: 4 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.007452, allocations: 203.7 kB / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-06/0.007461, allocations: 4 kB / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.007474, allocations: 4 kB / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.422e-05/0.007538, allocations: 11.91 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.007555, allocations: 11.92 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.007562, allocations: 12 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.685e-05/0.007599, allocations: 16.83 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007599, allocations: 4 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002605/0.007859, allocations: 12 kB / 278.2 MB, free: 11.9 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 8.418e-05/0.007943, allocations: 84.41 kB / 278.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.978e-05/0.008033, allocations: 48.72 kB / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.008037, allocations: 4.188 kB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.17e-05/0.008068, allocations: 24.78 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.008305, allocations: 15.94 kB / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.008721, allocations: 277.4 kB / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.461e-05/0.008766, allocations: 63.34 kB / 278.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.183e-05/0.008798, allocations: 8.484 kB / 278.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.00885, allocations: 59.38 kB / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.00885, allocations: 0 / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of Templates: time 0.002668/0.01152, allocations: 0.6964 MB / 279.5 MB, free: 10.56 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 -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.603748213034123]