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.001283/0.001283, allocations: 112.2 kB / 21.18 MB, free: 0.6289 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.001638/0.001638, allocations: 207 kB / 24.48 MB, free: 4.035 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.421/1.421, allocations: 230.4 MB / 258.1 MB, free: 8.168 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.001997/0.001997, allocations: 67.84 kB / 378.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2192, allocations: 53.31 MB / 432 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002904/0.2221, allocations: 1.675 MB / 433.7 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002263/0.2223, allocations: 67.72 kB / 433.8 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.51e-05/0.2224, allocations: 4 kB / 433.8 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.52e-05/0.2225, allocations: 3.938 kB / 433.8 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.583e-05/0.2225, allocations: 19.84 kB / 433.8 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001111/0.2226, allocations: 19.92 kB / 433.8 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.2228, allocations: 67.72 kB / 433.9 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.721e-05/0.2229, allocations: 15.98 kB / 433.9 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.083e-05/0.2229, allocations: 23.92 kB / 433.9 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.541e-05/0.223, allocations: 27.86 kB / 434 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.223, allocations: 4 kB / 434 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.515e-05/0.223, allocations: 15.88 kB / 434 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.223, allocations: 7.984 kB / 434 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.2231, allocations: 31.86 kB / 434 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.2232, allocations: 61.7 kB / 434.1 MB, free: 5.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2232, allocations: 4 kB / 434.1 MB, free: 5.379 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2232, allocations: 0 / 434.1 MB, free: 5.379 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.2232, allocations: 0 / 434.1 MB, free: 5.379 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.0004811/0.2237, allocations: 367.3 kB / 434.4 MB, free: 4.969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2237, allocations: 8.031 kB / 434.4 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.2237, allocations: 8.891 kB / 434.5 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.224, allocations: 180.3 kB / 434.6 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.224, allocations: 4.375 kB / 434.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.224, allocations: 20.3 kB / 434.7 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.2242, allocations: 70.17 kB / 434.7 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.2242, allocations: 192 / 434.7 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.2242, allocations: 7.938 kB / 434.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.2242, allocations: 4 kB / 434.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.954e-05/0.2243, allocations: 35.92 kB / 434.8 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006405/0.2249, allocations: 375.8 kB / 435.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.225, allocations: 54.56 kB / 435.2 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.2251, allocations: 16.86 kB / 435.2 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.2251, allocations: 0 / 435.2 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.2251, allocations: 34.56 kB / 435.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.2251, allocations: 0 / 435.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007584/0.2258, allocations: 0.5091 MB / 435.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.2259, allocations: 63.34 kB / 435.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.226, allocations: 121.8 kB / 435.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.226, allocations: 29.7 kB / 436 MB, free: 3.207 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.248e-05/0.2261, allocations: 96.03 kB / 436 MB, free: 3.109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.2261, allocations: 35.69 kB / 436.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.2261, allocations: 25.72 kB / 436.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2263, allocations: 318.8 kB / 436.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.285e-05/0.2263, allocations: 24 kB / 436.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.07e-05/0.2264, allocations: 55.77 kB / 436.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.2265, allocations: 93.06 kB / 436.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2265, allocations: 0 / 436.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001733/0.2267, allocations: 109.5 kB / 436.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2267, allocations: 8 kB / 436.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2267, allocations: 0 / 436.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.2267, allocations: 7.984 kB / 436.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.742e-05/0.2268, allocations: 19.94 kB / 436.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.2268, allocations: 4 kB / 436.7 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.2269, allocations: 12.03 kB / 436.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.2269, allocations: 7.984 kB / 436.8 MB, free: 2.348 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 8.508e-05/0.227, allocations: 117.8 kB / 436.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.227, allocations: 7.953 kB / 436.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.821e-05/0.227, allocations: 16.38 kB / 436.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.227, allocations: 0 / 436.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.227, allocations: 0 / 436.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.2271, allocations: 85 kB / 437 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.2271, allocations: 7.984 kB / 437 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.016e-05/0.2272, allocations: 4 kB / 437 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.2272, allocations: 3.938 kB / 437 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002302/0.2274, allocations: 164.9 kB / 437.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002636/0.2277, allocations: 287.1 kB / 437.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.076e-05/0.2277, allocations: 20.05 kB / 437.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.364e-05/0.2278, allocations: 91.28 kB / 437.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of Backend: time 2e-07/0.2278, allocations: 4.062 kB / 437.5 MB, free: 1.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000364/0.2281, allocations: 114.3 kB / 437.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007955/0.2289, allocations: 0.7493 MB / 438.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of Templates: time 0.003309/0.2322, allocations: 0.8011 MB / 439.2 MB, free: 15.79 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.164981413632631]