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.000856/0.000856, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 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.0009181/0.0009181, allocations: 167.6 kB / 25.7 MB, free: 8.438 MB / 18.57 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.8722/0.8722, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.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.302e-06/1.302e-06, allocations: 0 / 251.5 MB, free: 7.297 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.505e-05, allocations: 6.25 kB / 251.5 MB, free: 7.289 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002856/0.002881, allocations: 1.669 MB / 253.2 MB, free: 5.605 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002879/0.003169, allocations: 71.66 kB / 253.2 MB, free: 5.535 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.587e-05/0.003235, allocations: 7.938 kB / 253.3 MB, free: 5.527 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.003338, allocations: 3.938 kB / 253.3 MB, free: 5.523 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.046e-05/0.003409, allocations: 19.84 kB / 253.3 MB, free: 5.504 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001245/0.003533, allocations: 15.98 kB / 253.3 MB, free: 5.488 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.003659, allocations: 75.64 kB / 253.4 MB, free: 5.414 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.777e-05/0.003757, allocations: 8 kB / 253.4 MB, free: 5.406 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.838e-05/0.003835, allocations: 43.89 kB / 253.4 MB, free: 5.363 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.286e-05/0.003908, allocations: 15.92 kB / 253.4 MB, free: 5.348 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.00393, allocations: 8 kB / 253.4 MB, free: 5.34 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.61e-05/0.003947, allocations: 4 kB / 253.4 MB, free: 5.336 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.003967, allocations: 11.97 kB / 253.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.003999, allocations: 23.94 kB / 253.5 MB, free: 5.301 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.004122, allocations: 47.81 kB / 253.5 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.004125, allocations: 0 / 253.5 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004126, allocations: 4 kB / 253.5 MB, free: 5.25 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.004129, allocations: 3.938 kB / 253.5 MB, free: 5.246 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.000352/0.004481, allocations: 264.8 kB / 253.8 MB, free: 4.961 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.004518, allocations: 11.98 kB / 253.8 MB, free: 4.949 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.004553, allocations: 8.938 kB / 253.8 MB, free: 4.941 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.004692, allocations: 121.7 kB / 253.9 MB, free: 4.797 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.004703, allocations: 4.375 kB / 253.9 MB, free: 4.793 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.004728, allocations: 4.375 kB / 253.9 MB, free: 4.789 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.552e-05/0.004824, allocations: 66.11 kB / 254 MB, free: 4.719 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.004834, allocations: 4.188 kB / 254 MB, free: 4.715 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.004842, allocations: 384 / 254 MB, free: 4.715 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.004848, allocations: 4.375 kB / 254 MB, free: 4.711 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.957e-05/0.004898, allocations: 23.72 kB / 254 MB, free: 4.691 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005134/0.005411, allocations: 251.3 kB / 254.3 MB, free: 4.422 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.193e-05/0.005493, allocations: 42.48 kB / 254.3 MB, free: 4.371 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.271e-05/0.005516, allocations: 8.859 kB / 254.3 MB, free: 4.359 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.005527, allocations: 7.938 kB / 254.3 MB, free: 4.352 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.005551, allocations: 34.56 kB / 254.4 MB, free: 4.309 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.005553, allocations: 4 kB / 254.4 MB, free: 4.305 MB / 234.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006632/0.006216, allocations: 335.2 kB / 254.7 MB, free: 3.922 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.00625, allocations: 51.41 kB / 254.8 MB, free: 3.859 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.319e-05/0.006323, allocations: 111.6 kB / 254.9 MB, free: 3.738 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.006339, allocations: 29.69 kB / 254.9 MB, free: 3.703 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.672e-05/0.006386, allocations: 99.97 kB / 255 MB, free: 3.598 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.00641, allocations: 35.73 kB / 255 MB, free: 3.562 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.006452, allocations: 29.7 kB / 255.1 MB, free: 3.527 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.006542, allocations: 322.8 kB / 255.4 MB, free: 3.203 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.261e-05/0.006564, allocations: 8 kB / 255.4 MB, free: 3.195 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.471e-05/0.006609, allocations: 45.14 kB / 255.4 MB, free: 3.133 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.759e-05/0.006687, allocations: 69.03 kB / 255.5 MB, free: 3.047 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.006688, allocations: 0 / 255.5 MB, free: 3.047 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001273/0.006815, allocations: 85.55 kB / 255.6 MB, free: 2.957 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.006833, allocations: 15.92 kB / 255.6 MB, free: 2.941 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.006838, allocations: 0 / 255.6 MB, free: 2.941 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.006851, allocations: 4 kB / 255.6 MB, free: 2.938 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.059e-05/0.006932, allocations: 19.94 kB / 255.6 MB, free: 2.918 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.006938, allocations: 7.984 kB / 255.6 MB, free: 2.91 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.808e-05/0.006976, allocations: 4 kB / 255.6 MB, free: 2.906 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.006984, allocations: 4 kB / 255.6 MB, free: 2.902 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 7.13e-05/0.007055, allocations: 121.7 kB / 255.7 MB, free: 2.773 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.007088, allocations: 7.938 kB / 255.8 MB, free: 2.766 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.007118, allocations: 12.47 kB / 255.8 MB, free: 2.754 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.007121, allocations: 4 kB / 255.8 MB, free: 2.75 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.007124, allocations: 3.984 kB / 255.8 MB, free: 2.746 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.007127, allocations: 0 / 255.8 MB, free: 2.746 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003781/0.007505, allocations: 278.8 kB / 256 MB, free: 2.434 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.007509, allocations: 4 kB / 256 MB, free: 2.43 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.335e-05/0.007592, allocations: 19.94 kB / 256.1 MB, free: 2.41 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.007596, allocations: 0 / 256.1 MB, free: 2.41 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.007607, allocations: 8.156 kB / 256.1 MB, free: 2.402 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.007611, allocations: 7.984 kB / 256.1 MB, free: 2.395 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.007614, allocations: 4 kB / 256.1 MB, free: 2.391 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.007803, allocations: 203.7 kB / 256.3 MB, free: 2.16 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.364e-05/0.007816, allocations: 7.984 kB / 256.3 MB, free: 2.152 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.007832, allocations: 4 kB / 256.3 MB, free: 2.148 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.007902, allocations: 0 / 256.3 MB, free: 2.148 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.007927, allocations: 19.86 kB / 256.3 MB, free: 2.129 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.007933, allocations: 4 kB / 256.3 MB, free: 2.125 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.044e-05/0.007954, allocations: 13.16 kB / 256.3 MB, free: 2.109 MB / 234.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007954, allocations: 4.031 kB / 256.3 MB, free: 2.105 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002645/0.008218, allocations: 20 kB / 256.4 MB, free: 2.086 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 9.423e-05/0.008313, allocations: 72.42 kB / 256.4 MB, free: 2.008 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.008416, allocations: 56.69 kB / 256.5 MB, free: 1.949 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.008422, allocations: 4 kB / 256.5 MB, free: 1.945 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.205e-05/0.008454, allocations: 25.27 kB / 256.5 MB, free: 1.918 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.008698, allocations: 12.48 kB / 256.5 MB, free: 1.906 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006845/0.009383, allocations: 276.7 kB / 256.8 MB, free: 1.594 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.064e-05/0.009433, allocations: 67.28 kB / 256.9 MB, free: 1.508 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.472e-05/0.009468, allocations: 8.484 kB / 256.9 MB, free: 1.5 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.86e-05/0.009527, allocations: 59.38 kB / 256.9 MB, free: 1.441 MB / 234.7 MB Notification: Performance of SimCode: time 7.01e-07/0.009527, allocations: 0 / 256.9 MB, free: 1.441 MB / 234.7 MB Notification: Performance of Templates: time 0.003017/0.01254, allocations: 0.6944 MB / 257.6 MB, free: 0.75 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.533610349986702]