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.001302/0.001302, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.002102/0.002102, allocations: 207.2 kB / 23.73 MB, free: 4.523 MB / 14.72 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.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 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 0.001595/0.001595, allocations: 51.92 kB / 378.2 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2721, allocations: 53.37 MB / 431.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002836/0.2749, allocations: 1.633 MB / 433.2 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002407/0.2751, allocations: 71.72 kB / 433.3 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.427e-05/0.2752, allocations: 7.938 kB / 433.3 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.2753, allocations: 7.922 kB / 433.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.039e-05/0.2754, allocations: 15.86 kB / 433.3 MB, free: 5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.2756, allocations: 23.91 kB / 433.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.2758, allocations: 59.8 kB / 433.4 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.2759, allocations: 15.97 kB / 433.4 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.823e-05/0.2759, allocations: 27.88 kB / 433.4 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.787e-05/0.276, allocations: 27.84 kB / 433.4 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.276, allocations: 8 kB / 433.4 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.694e-05/0.2761, allocations: 4 kB / 433.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.031e-05/0.2761, allocations: 11.94 kB / 433.5 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.2761, allocations: 23.92 kB / 433.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.2763, allocations: 69.98 kB / 433.6 MB, free: 4.738 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2763, allocations: 0 / 433.6 MB, free: 4.738 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2763, allocations: 0 / 433.6 MB, free: 4.738 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.2763, allocations: 0 / 433.6 MB, free: 4.738 MB / 334.1 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.0004974/0.2768, allocations: 290.1 kB / 433.8 MB, free: 4.422 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.2768, allocations: 12.03 kB / 433.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.2768, allocations: 8.891 kB / 433.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.277, allocations: 118.5 kB / 434 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.2771, allocations: 8.312 kB / 434 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.2771, allocations: 12.38 kB / 434 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.2772, allocations: 70.17 kB / 434.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2772, allocations: 192 / 434.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.2773, allocations: 11.88 kB / 434.1 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2773, allocations: 4 kB / 434.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.122e-05/0.2773, allocations: 27.98 kB / 434.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006001/0.2779, allocations: 311.3 kB / 434.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.278, allocations: 50.56 kB / 434.5 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.2781, allocations: 24.84 kB / 434.5 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.2781, allocations: 0 / 434.5 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.2781, allocations: 38.56 kB / 434.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.2781, allocations: 0 / 434.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007974/0.2789, allocations: 371.2 kB / 434.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.279, allocations: 55.34 kB / 434.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.2791, allocations: 110.7 kB / 435 MB, free: 3.051 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.2791, allocations: 29.7 kB / 435.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.2792, allocations: 99.92 kB / 435.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.421e-05/0.2793, allocations: 31.73 kB / 435.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.2793, allocations: 21.72 kB / 435.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002735/0.2796, allocations: 330.8 kB / 435.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.565e-05/0.2796, allocations: 16 kB / 435.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.579e-05/0.2797, allocations: 61.14 kB / 435.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.2799, allocations: 89.06 kB / 435.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2799, allocations: 0 / 435.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001691/0.28, allocations: 109.5 kB / 435.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.28, allocations: 8.094 kB / 435.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2801, allocations: 7.938 kB / 435.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.2801, allocations: 7.984 kB / 435.8 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.2802, allocations: 16 kB / 435.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.2802, allocations: 4 kB / 435.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.927e-05/0.2803, allocations: 0 / 435.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.2803, allocations: 16.23 kB / 435.9 MB, free: 2.152 MB / 334.1 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 9.453e-05/0.2804, allocations: 121.8 kB / 436 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.2804, allocations: 3.953 kB / 436 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.2805, allocations: 12.38 kB / 436 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2805, allocations: 4 kB / 436 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2805, allocations: 0 / 436 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2805, allocations: 0 / 436 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005759/0.281, allocations: 354.2 kB / 436.4 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.281, allocations: 3.938 kB / 436.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.284e-05/0.2811, allocations: 23.92 kB / 436.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2811, allocations: 0 / 436.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.2812, allocations: 7.938 kB / 436.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2812, allocations: 160 / 436.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2812, allocations: 8 kB / 436.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.2815, allocations: 231.8 kB / 436.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.2815, allocations: 4.031 kB / 436.6 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.2815, allocations: 11.92 kB / 436.6 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.95e-05/0.2816, allocations: 4 kB / 436.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.272e-05/0.2816, allocations: 7.938 kB / 436.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.2816, allocations: 4 kB / 436.7 MB, free: 1.266 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.744e-05/0.2817, allocations: 95.25 kB / 436.8 MB, free: 1.172 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2817, allocations: 0 / 436.8 MB, free: 1.172 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.282, allocations: 12 kB / 436.8 MB, free: 1.16 MB / 334.1 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.0001119/0.2821, allocations: 107.5 kB / 436.9 MB, free: 1.047 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001545/0.2823, allocations: 59.84 kB / 436.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2823, allocations: 0 / 436.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.872e-05/0.2823, allocations: 23.94 kB / 437 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.2826, allocations: 29.03 kB / 437 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000721/0.2833, allocations: 344.1 kB / 437.3 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.406e-05/0.2834, allocations: 76.08 kB / 437.4 MB, free: 484 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.446e-05/0.2835, allocations: 4.438 kB / 437.4 MB, free: 480 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.2835, allocations: 11.44 kB / 437.4 MB, free: 468 kB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2835, allocations: 4 kB / 437.4 MB, free: 464 kB / 334.1 MB Notification: Performance of Templates: time 0.00351/0.287, allocations: 0.7074 MB / 438.1 MB, free: 15.75 MB / 350.1 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.400770450010896]