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.002068/0.002068, allocations: 88.33 kB / 20.95 MB, free: 3.59 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.002716/0.002716, allocations: 165.2 kB / 24.27 MB, free: 284 kB / 18.57 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 1.481/1.481, allocations: 177.2 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.824e-06/1.824e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.08e-05, allocations: 2.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003151/0.003181, allocations: 1.641 MB / 273.9 MB, free: 192 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002847/0.003466, allocations: 67.78 kB / 274 MB, free: 124 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.687e-05/0.003533, allocations: 0 / 274 MB, free: 124 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.003655, allocations: 15.86 kB / 274 MB, free: 108 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.132e-05/0.003716, allocations: 19.8 kB / 274 MB, free: 88 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.003853, allocations: 15.98 kB / 274.1 MB, free: 72 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.004, allocations: 67.64 kB / 274.1 MB, free: 4 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.004146, allocations: 16.02 kB / 274.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.717e-05/0.004234, allocations: 39.91 kB / 274.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.745e-05/0.004301, allocations: 19.88 kB / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.004325, allocations: 4 kB / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.462e-05/0.00434, allocations: 4 kB / 274.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/0.004367, allocations: 19.94 kB / 274.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.00441, allocations: 19.92 kB / 274.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.004579, allocations: 63.83 kB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004581, allocations: 0 / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004582, allocations: 0 / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.004585, allocations: 0 / 274.3 MB, free: 15.82 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.0005234/0.005108, allocations: 290.2 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.005146, allocations: 8.031 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.611e-05/0.005202, allocations: 12.89 kB / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.005423, allocations: 129.6 kB / 274.7 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.005438, allocations: 8.375 kB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.00547, allocations: 4.375 kB / 274.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.005649, allocations: 70.23 kB / 274.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.005661, allocations: 192 / 274.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.005675, allocations: 8.312 kB / 274.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.00568, allocations: 384 / 274.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.976e-05/0.00578, allocations: 47.84 kB / 274.9 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00071/0.00649, allocations: 299.6 kB / 275.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.006626, allocations: 62.44 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.124e-05/0.006667, allocations: 20.86 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.00668, allocations: 0 / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.006714, allocations: 34.56 kB / 275.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.006715, allocations: 0 / 275.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008487/0.007564, allocations: 371.1 kB / 275.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003223/0.007886, allocations: 51.41 kB / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.008009, allocations: 109.8 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.008035, allocations: 29.7 kB / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.75e-05/0.008112, allocations: 92.17 kB / 275.9 MB, free: 14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.008151, allocations: 39.69 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.008199, allocations: 25.72 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.008411, allocations: 326.8 kB / 276.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.935e-05/0.00845, allocations: 15.98 kB / 276.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.854e-05/0.008539, allocations: 65.08 kB / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.008671, allocations: 85.08 kB / 276.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.008676, allocations: 4 kB / 276.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002002/0.008876, allocations: 117.5 kB / 276.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.008894, allocations: 8 kB / 276.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.0089, allocations: 0 / 276.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.008921, allocations: 4 kB / 276.6 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.014e-05/0.009011, allocations: 23.94 kB / 276.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.009025, allocations: 7.984 kB / 276.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.838e-05/0.009063, allocations: 0 / 276.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.009074, allocations: 8 kB / 276.6 MB, free: 13.22 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 0.0001105/0.009185, allocations: 117.8 kB / 276.8 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.009219, allocations: 11.95 kB / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/0.009258, allocations: 16.53 kB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.009259, allocations: 0 / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.009264, allocations: 0 / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.009267, allocations: 0 / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005464/0.009814, allocations: 346.2 kB / 277.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.009815, allocations: 3.938 kB / 277.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.961e-05/0.009915, allocations: 19.98 kB / 277.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.00992, allocations: 4 kB / 277.1 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.009932, allocations: 8.156 kB / 277.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.009939, allocations: 7.938 kB / 277.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.009942, allocations: 3.938 kB / 277.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.01024, allocations: 227.7 kB / 277.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.965e-05/0.01027, allocations: 8.016 kB / 277.4 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.01029, allocations: 4 kB / 277.4 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.01037, allocations: 0 / 277.4 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.0104, allocations: 15.92 kB / 277.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.01041, allocations: 4 kB / 277.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.427e-05/0.01047, allocations: 84.45 kB / 277.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01047, allocations: 8.062 kB / 277.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002566/0.01073, allocations: 15.94 kB / 277.5 MB, free: 12.24 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 0.0001248/0.01085, allocations: 103.2 kB / 277.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.011, allocations: 64.22 kB / 277.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01101, allocations: 0 / 277.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.643e-05/0.01105, allocations: 24.03 kB / 277.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.0114, allocations: 16.56 kB / 277.7 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006121/0.01201, allocations: 300.7 kB / 278 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.172e-05/0.0121, allocations: 75.33 kB / 278.1 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.415e-05/0.01214, allocations: 8.484 kB / 278.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.311e-05/0.01219, allocations: 12.5 kB / 278.1 MB, free: 11.58 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01219, allocations: 0 / 278.1 MB, free: 11.58 MB / 266.7 MB Notification: Performance of Templates: time 0.00337/0.01556, allocations: 0.6351 MB / 278.8 MB, free: 10.96 MB / 266.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.202237157034688]