Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001367, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.447/1.447, allocations: 230.6 MB / 258.2 MB, free: 8.043 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 76.75 kB / 379 MB, free: 2.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2844, allocations: 53.37 MB / 432.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.004279/0.2886, allocations: 1.671 MB / 434.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003083/0.2889, allocations: 67.78 kB / 434.1 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.256e-05/0.289, allocations: 3.938 kB / 434.1 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.2892, allocations: 7.938 kB / 434.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.497e-05/0.2892, allocations: 19.84 kB / 434.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.2894, allocations: 11.98 kB / 434.2 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.2896, allocations: 67.66 kB / 434.2 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.2897, allocations: 19.98 kB / 434.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.293e-05/0.2898, allocations: 23.92 kB / 434.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9e-05/0.2899, allocations: 27.86 kB / 434.3 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.2899, allocations: 4 kB / 434.3 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.793e-05/0.2899, allocations: 8 kB / 434.3 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.084e-05/0.2899, allocations: 11.98 kB / 434.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.86e-05/0.29, allocations: 27.86 kB / 434.4 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.2902, allocations: 69.36 kB / 434.4 MB, free: 4.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2902, allocations: 0 / 434.4 MB, free: 4.945 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2902, allocations: 0 / 434.4 MB, free: 4.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.2902, allocations: 0 / 434.4 MB, free: 4.945 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.0005848/0.2908, allocations: 290.1 kB / 434.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.2908, allocations: 16.03 kB / 434.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.2909, allocations: 8.891 kB / 434.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.2911, allocations: 118.5 kB / 434.9 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.2912, allocations: 8.375 kB / 434.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.2912, allocations: 4.375 kB / 434.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.2914, allocations: 80.78 kB / 434.9 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.2914, allocations: 4.125 kB / 434.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.2914, allocations: 3.938 kB / 435 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.2914, allocations: 4 kB / 435 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.2916, allocations: 35.97 kB / 435 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000832/0.2924, allocations: 342.9 kB / 435.3 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.2925, allocations: 58.5 kB / 435.4 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.145e-05/0.2926, allocations: 17.02 kB / 435.4 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.2926, allocations: 3.984 kB / 435.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.2926, allocations: 34.56 kB / 435.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.2926, allocations: 4 kB / 435.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009042/0.2935, allocations: 363.7 kB / 435.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.2936, allocations: 55.41 kB / 435.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.2937, allocations: 121.7 kB / 436 MB, free: 3.199 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.2938, allocations: 25.7 kB / 436 MB, free: 3.168 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.2938, allocations: 104 kB / 436.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.2939, allocations: 39.67 kB / 436.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/0.2939, allocations: 25.72 kB / 436.2 MB, free: 2.992 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.2941, allocations: 318.8 kB / 436.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.218e-05/0.2942, allocations: 20 kB / 436.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.2943, allocations: 63.77 kB / 436.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.2944, allocations: 85.08 kB / 436.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.2944, allocations: 0 / 436.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003013/0.2947, allocations: 109.5 kB / 436.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.2948, allocations: 8.094 kB / 436.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2948, allocations: 4 kB / 436.8 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.2948, allocations: 4 kB / 436.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.2949, allocations: 27.92 kB / 436.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.2949, allocations: 12.08 kB / 436.8 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.031e-05/0.295, allocations: 0 / 436.8 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.295, allocations: 4 kB / 436.8 MB, free: 2.301 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 0.00019/0.2952, allocations: 125.8 kB / 436.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/0.2952, allocations: 7.938 kB / 436.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.2953, allocations: 16.38 kB / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.2953, allocations: 0 / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.423e-06/0.2953, allocations: 3.938 kB / 437 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2953, allocations: 3.938 kB / 437 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006526/0.296, allocations: 378.2 kB / 437.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.296, allocations: 4.156 kB / 437.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.2961, allocations: 19.94 kB / 437.3 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.912e-06/0.2961, allocations: 4 kB / 437.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.2961, allocations: 0 / 437.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.2961, allocations: 11.92 kB / 437.4 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2961, allocations: 0 / 437.4 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.2964, allocations: 231.7 kB / 437.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.2965, allocations: 11.98 kB / 437.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.2965, allocations: 4 kB / 437.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.2966, allocations: 0 / 437.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.2966, allocations: 15.92 kB / 437.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.2966, allocations: 4 kB / 437.6 MB, free: 1.363 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.122e-05/0.2967, allocations: 95.33 kB / 437.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2967, allocations: 0 / 437.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004279/0.2971, allocations: 20 kB / 437.7 MB, free: 1.25 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.0001081/0.2973, allocations: 95.19 kB / 437.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.2974, allocations: 59.8 kB / 437.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2974, allocations: 4 kB / 437.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.832e-05/0.2975, allocations: 32.11 kB / 437.9 MB, free: 1.055 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.2978, allocations: 16 kB / 437.9 MB, free: 1.039 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006269/0.2984, allocations: 344 kB / 438.3 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.2988, allocations: 0.6924 MB / 439 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.722e-05/0.2988, allocations: 8.422 kB / 439 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.2989, allocations: 11.44 kB / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2989, allocations: 384 / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of Templates: time 0.003372/0.3022, allocations: 0.7272 MB / 439.7 MB, free: 15.2 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.281660778447986]