Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00113/0.00113, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001556/0.002685, allocations: 449.8 kB / 10.44 MB, free: 248 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.001033/0.001033, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001364/0.002398, allocations: 479.5 kB / 11.83 MB, free: 2.34 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9931/0.9931, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07937/1.072, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.232e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003264/0.003286, allocations: 1.731 MB / 246.4 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002215/0.003508, allocations: 75.66 kB / 246.5 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.469e-05/0.003582, allocations: 4 kB / 246.5 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.792e-05/0.00365, allocations: 11.92 kB / 246.5 MB, free: 12.4 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.666e-05/0.003717, allocations: 19.8 kB / 246.5 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.712e-05/0.003804, allocations: 15.97 kB / 246.6 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.003944, allocations: 71.66 kB / 246.6 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.00405, allocations: 12 kB / 246.6 MB, free: 12.28 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.481e-05/0.004145, allocations: 39.89 kB / 246.7 MB, free: 12.24 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.54e-05/0.00423, allocations: 23.91 kB / 246.7 MB, free: 12.22 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.004258, allocations: 8 kB / 246.7 MB, free: 12.21 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.517e-05/0.004273, allocations: 4 kB / 246.7 MB, free: 12.21 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.004296, allocations: 8 kB / 246.7 MB, free: 12.2 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.00433, allocations: 19.94 kB / 246.7 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.004466, allocations: 47.72 kB / 246.8 MB, free: 12.13 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.167e-05/0.004478, allocations: 0 / 246.8 MB, free: 12.13 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004479, allocations: 0 / 246.8 MB, free: 12.13 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.004489, allocations: 4 kB / 246.8 MB, free: 12.13 MB / 250.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.0004273/0.004916, allocations: 272.5 kB / 247.1 MB, free: 11.84 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.004954, allocations: 12.03 kB / 247.1 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.005005, allocations: 4.938 kB / 247.1 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.005204, allocations: 121.7 kB / 247.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.00522, allocations: 12.38 kB / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.879e-05/0.005258, allocations: 8.312 kB / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.005368, allocations: 58.23 kB / 247.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.00538, allocations: 192 / 247.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.005388, allocations: 384 / 247.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.005394, allocations: 384 / 247.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.282e-05/0.005437, allocations: 23.92 kB / 247.3 MB, free: 11.57 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005125/0.005949, allocations: 259.9 kB / 247.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.334e-05/0.006032, allocations: 46.55 kB / 247.6 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.07e-05/0.006053, allocations: 8.859 kB / 247.6 MB, free: 11.23 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.006064, allocations: 7.938 kB / 247.6 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.006094, allocations: 38.56 kB / 247.6 MB, free: 11.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.006095, allocations: 0 / 247.6 MB, free: 11.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005119/0.006607, allocations: 340 kB / 248 MB, free: 10.79 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.006631, allocations: 55.39 kB / 248 MB, free: 10.72 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.472e-05/0.006686, allocations: 110.8 kB / 248.1 MB, free: 10.6 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.405e-06/0.006694, allocations: 33.7 kB / 248.2 MB, free: 10.56 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.006732, allocations: 104 kB / 248.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.006752, allocations: 35.67 kB / 248.3 MB, free: 10.42 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.006781, allocations: 25.7 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.157e-05/0.006853, allocations: 322.8 kB / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.006864, allocations: 11.94 kB / 248.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.114e-05/0.006896, allocations: 45.14 kB / 248.7 MB, free: 9.992 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.096e-05/0.006947, allocations: 73.05 kB / 248.8 MB, free: 9.902 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.006948, allocations: 4 kB / 248.8 MB, free: 9.898 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.67e-05/0.007024, allocations: 81.42 kB / 248.9 MB, free: 9.812 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.007037, allocations: 7.984 kB / 248.9 MB, free: 9.805 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.007042, allocations: 4 kB / 248.9 MB, free: 9.801 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.007052, allocations: 0 / 248.9 MB, free: 9.801 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.973e-05/0.007122, allocations: 31.98 kB / 248.9 MB, free: 9.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.007125, allocations: 0 / 248.9 MB, free: 9.77 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.123e-05/0.007146, allocations: 4 kB / 248.9 MB, free: 9.766 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.00715, allocations: 0 / 248.9 MB, free: 9.766 MB / 250.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.762e-05/0.007208, allocations: 121.9 kB / 249 MB, free: 9.637 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.007223, allocations: 7.938 kB / 249 MB, free: 9.629 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.007253, allocations: 20.42 kB / 249 MB, free: 9.609 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.007254, allocations: 0 / 249 MB, free: 9.609 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.007255, allocations: 0 / 249 MB, free: 9.609 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.007258, allocations: 144 / 249 MB, free: 9.609 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.007518, allocations: 282.8 kB / 249.3 MB, free: 9.293 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.00752, allocations: 0 / 249.3 MB, free: 9.293 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/0.007572, allocations: 24.14 kB / 249.3 MB, free: 9.27 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.136e-06/0.00758, allocations: 7.953 kB / 249.4 MB, free: 9.262 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.007582, allocations: 4 kB / 249.4 MB, free: 9.258 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.007589, allocations: 4 kB / 249.4 MB, free: 9.254 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.007592, allocations: 4 kB / 249.4 MB, free: 9.25 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.007593, allocations: 0 / 249.4 MB, free: 9.25 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.007717, allocations: 203.7 kB / 249.6 MB, free: 9.02 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.007728, allocations: 4 kB / 249.6 MB, free: 9.016 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.593e-05/0.007764, allocations: 8 kB / 249.6 MB, free: 9.008 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.69e-05/0.007781, allocations: 15.86 kB / 249.6 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.007784, allocations: 8.031 kB / 249.6 MB, free: 8.984 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.114e-05/0.007795, allocations: 8.859 kB / 249.6 MB, free: 8.973 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007795, allocations: 0 / 249.6 MB, free: 8.973 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001395/0.007935, allocations: 16 kB / 249.6 MB, free: 8.957 MB / 250.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.079e-05/0.008006, allocations: 84.34 kB / 249.7 MB, free: 8.867 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.268e-05/0.008088, allocations: 52.77 kB / 249.8 MB, free: 8.812 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/0.0081, allocations: 0 / 249.8 MB, free: 8.812 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.3e-05/0.008133, allocations: 41 kB / 249.8 MB, free: 8.77 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.008323, allocations: 75.39 kB / 249.9 MB, free: 8.684 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006728/0.008995, allocations: 240.6 kB / 250.1 MB, free: 8.406 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.855e-05/0.009034, allocations: 63.34 kB / 250.2 MB, free: 8.324 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.909e-05/0.009063, allocations: 12.95 kB / 250.2 MB, free: 8.309 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.863e-05/0.009112, allocations: 55.38 kB / 250.2 MB, free: 8.254 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.009112, allocations: 0 / 250.2 MB, free: 8.254 MB / 250.7 MB Notification: Performance of Templates: time 0.002068/0.01118, allocations: 0.6722 MB / 250.9 MB, free: 7.602 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4388768803328276]