Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001622/0.002674, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001395/0.002417, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9171/0.9171, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.151/1.068, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 222 MB, free: 84 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.309e-05, allocations: 5.406 kB / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002361/0.002384, allocations: 1.712 MB / 223.7 MB, free: 14.34 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000122/0.002506, allocations: 71.72 kB / 223.8 MB, free: 14.27 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.383e-05/0.00256, allocations: 0 / 223.8 MB, free: 14.27 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.168e-05/0.002612, allocations: 7.875 kB / 223.8 MB, free: 14.27 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 4.395e-05/0.002656, allocations: 19.84 kB / 223.8 MB, free: 14.25 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.52e-05/0.002721, allocations: 27.91 kB / 223.8 MB, free: 14.22 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.002833, allocations: 63.67 kB / 223.9 MB, free: 14.16 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.002942, allocations: 15.92 kB / 223.9 MB, free: 14.14 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.762e-05/0.003019, allocations: 47.89 kB / 223.9 MB, free: 14.09 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.864e-05/0.003098, allocations: 15.92 kB / 224 MB, free: 14.08 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.00312, allocations: 4 kB / 224 MB, free: 14.07 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.003132, allocations: 4 kB / 224 MB, free: 14.07 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.868e-05/0.003151, allocations: 8 kB / 224 MB, free: 14.06 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.003176, allocations: 19.94 kB / 224 MB, free: 14.04 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.003285, allocations: 47.83 kB / 224 MB, free: 14 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.141e-05/0.003296, allocations: 0 / 224 MB, free: 14 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.003297, allocations: 4 kB / 224 MB, free: 13.99 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.003307, allocations: 0 / 224 MB, free: 13.99 MB / 234.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.0003823/0.003689, allocations: 268.5 kB / 224.3 MB, free: 13.7 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.003721, allocations: 8.031 kB / 224.3 MB, free: 13.7 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.003755, allocations: 16.92 kB / 224.3 MB, free: 13.68 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.003888, allocations: 121.6 kB / 224.4 MB, free: 13.54 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.003897, allocations: 4.359 kB / 224.4 MB, free: 13.53 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.003921, allocations: 12.38 kB / 224.5 MB, free: 13.52 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.783e-05/0.003999, allocations: 54.22 kB / 224.5 MB, free: 13.46 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.004007, allocations: 4.188 kB / 224.5 MB, free: 13.46 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.004016, allocations: 4.375 kB / 224.5 MB, free: 13.45 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.004022, allocations: 4.375 kB / 224.5 MB, free: 13.45 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.226e-05/0.004054, allocations: 23.86 kB / 224.5 MB, free: 13.43 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.0044, allocations: 247.3 kB / 224.8 MB, free: 13.16 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.477e-05/0.004454, allocations: 38.56 kB / 224.8 MB, free: 13.12 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/0.004474, allocations: 8.859 kB / 224.8 MB, free: 13.11 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.004482, allocations: 8.094 kB / 224.8 MB, free: 13.1 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.004506, allocations: 42.47 kB / 224.9 MB, free: 13.05 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.004507, allocations: 4 kB / 224.9 MB, free: 13.04 MB / 234.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004556/0.004963, allocations: 339.6 kB / 225.2 MB, free: 12.66 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.004986, allocations: 55.41 kB / 225.3 MB, free: 12.59 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.172e-05/0.005038, allocations: 110.7 kB / 225.4 MB, free: 12.47 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.005047, allocations: 25.7 kB / 225.4 MB, free: 12.44 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.005086, allocations: 112 kB / 225.5 MB, free: 12.32 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.005101, allocations: 31.69 kB / 225.5 MB, free: 12.29 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.005134, allocations: 33.69 kB / 225.6 MB, free: 12.25 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.837e-05/0.005212, allocations: 314.8 kB / 225.9 MB, free: 11.94 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.093e-05/0.005223, allocations: 11.98 kB / 225.9 MB, free: 11.93 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.279e-05/0.005256, allocations: 49.09 kB / 225.9 MB, free: 11.86 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.436e-05/0.00531, allocations: 69.05 kB / 226 MB, free: 11.77 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.005311, allocations: 0 / 226 MB, free: 11.77 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.481e-05/0.005386, allocations: 89.67 kB / 226.1 MB, free: 11.68 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.005398, allocations: 8 kB / 226.1 MB, free: 11.67 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.005402, allocations: 3.984 kB / 226.1 MB, free: 11.67 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.005417, allocations: 4 kB / 226.1 MB, free: 11.66 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.297e-05/0.00548, allocations: 27.92 kB / 226.1 MB, free: 11.64 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.005484, allocations: 4 kB / 226.1 MB, free: 11.63 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.148e-05/0.005505, allocations: 4 kB / 226.2 MB, free: 11.63 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.00551, allocations: 4 kB / 226.2 MB, free: 11.62 MB / 234.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.287e-05/0.005563, allocations: 117.8 kB / 226.3 MB, free: 11.5 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.005578, allocations: 7.938 kB / 226.3 MB, free: 11.49 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.005605, allocations: 12.47 kB / 226.3 MB, free: 11.48 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.005606, allocations: 0 / 226.3 MB, free: 11.48 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.005608, allocations: 0 / 226.3 MB, free: 11.48 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.005613, allocations: 4 kB / 226.3 MB, free: 11.48 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.005867, allocations: 282.7 kB / 226.6 MB, free: 11.16 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.005869, allocations: 3.984 kB / 226.6 MB, free: 11.16 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.928e-05/0.005918, allocations: 20 kB / 226.6 MB, free: 11.14 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.018e-05/0.005928, allocations: 11.94 kB / 226.6 MB, free: 11.12 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.00593, allocations: 4.156 kB / 226.6 MB, free: 11.12 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.005937, allocations: 8 kB / 226.6 MB, free: 11.11 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.00594, allocations: 3.938 kB / 226.6 MB, free: 11.11 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.005943, allocations: 4 kB / 226.6 MB, free: 11.11 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.006064, allocations: 199.7 kB / 226.8 MB, free: 10.88 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.006075, allocations: 4 kB / 226.8 MB, free: 10.88 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.42e-05/0.006109, allocations: 4 kB / 226.8 MB, free: 10.87 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.577e-05/0.006125, allocations: 15.92 kB / 226.8 MB, free: 10.86 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.006127, allocations: 4 kB / 226.8 MB, free: 10.85 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.165e-05/0.006139, allocations: 12.8 kB / 226.9 MB, free: 10.84 MB / 234.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.006139, allocations: 8.031 kB / 226.9 MB, free: 10.83 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001328/0.006272, allocations: 16 kB / 226.9 MB, free: 10.81 MB / 234.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.585e-05/0.006348, allocations: 76.36 kB / 227 MB, free: 10.73 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 7.85e-05/0.006426, allocations: 56.75 kB / 227 MB, free: 10.67 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.006433, allocations: 0 / 227 MB, free: 10.67 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.134e-05/0.006464, allocations: 37.28 kB / 227.1 MB, free: 10.63 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.006646, allocations: 75.78 kB / 227.1 MB, free: 10.55 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006564/0.007302, allocations: 240.6 kB / 227.4 MB, free: 10.27 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.891e-05/0.007341, allocations: 63.34 kB / 227.4 MB, free: 10.19 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.498e-05/0.007366, allocations: 9.094 kB / 227.4 MB, free: 10.18 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.007414, allocations: 63.36 kB / 227.5 MB, free: 10.12 MB / 234.7 MB Notification: Performance of SimCode: time 5.81e-07/0.007415, allocations: 0 / 227.5 MB, free: 10.12 MB / 234.7 MB Notification: Performance of Templates: time 0.001974/0.009389, allocations: 0.6543 MB / 228.1 MB, free: 9.469 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6207868065685034]