Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.00082/0.00082, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003607/0.003607, allocations: 161 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8521/0.8521, allocations: 177 MB / 204.9 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 325.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.884e-05/3.033e-05, allocations: 2.281 kB / 325.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002228/0.002259, allocations: 1.626 MB / 327.4 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002175/0.002476, allocations: 75.72 kB / 327.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.718e-05/0.002533, allocations: 0 / 327.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.819e-05/0.002621, allocations: 7.922 kB / 327.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.025e-05/0.002662, allocations: 19.8 kB / 327.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001115/0.002773, allocations: 27.89 kB / 327.5 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.862e-05/0.002872, allocations: 63.67 kB / 327.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.002974, allocations: 19.97 kB / 327.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.794e-05/0.003022, allocations: 39.91 kB / 327.6 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.99e-05/0.003072, allocations: 11.98 kB / 327.6 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.003093, allocations: 4 kB / 327.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.448e-06/0.003103, allocations: 8 kB / 327.7 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.003119, allocations: 19.92 kB / 327.7 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.003144, allocations: 19.92 kB / 327.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.003248, allocations: 59.84 kB / 327.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.00325, allocations: 0 / 327.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.003251, allocations: 0 / 327.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.003254, allocations: 0 / 327.8 MB, free: 13.23 MB / 298.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.0003506/0.003605, allocations: 294.1 kB / 328 MB, free: 12.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.003639, allocations: 11.98 kB / 328.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.003669, allocations: 12.89 kB / 328.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.003813, allocations: 129.7 kB / 328.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.003823, allocations: 384 / 328.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.003845, allocations: 8.375 kB / 328.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.00396, allocations: 73.12 kB / 328.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.003972, allocations: 4.188 kB / 328.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.003981, allocations: 4.375 kB / 328.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.003986, allocations: 8.297 kB / 328.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.3e-05/0.004049, allocations: 43.91 kB / 328.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.004562, allocations: 291.7 kB / 328.6 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.42e-05/0.004646, allocations: 66.44 kB / 328.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.00467, allocations: 16.86 kB / 328.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.004679, allocations: 4 kB / 328.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.004694, allocations: 30.56 kB / 328.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.004695, allocations: 0 / 328.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.000502/0.005197, allocations: 379.8 kB / 329.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.005226, allocations: 55.41 kB / 329.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.999e-05/0.005286, allocations: 105.8 kB / 329.3 MB, free: 11.53 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.005295, allocations: 33.7 kB / 329.3 MB, free: 11.49 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.00534, allocations: 96.02 kB / 329.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.005361, allocations: 39.69 kB / 329.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.00539, allocations: 29.7 kB / 329.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.875e-05/0.005459, allocations: 318.8 kB / 329.8 MB, free: 11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.522e-05/0.005484, allocations: 23.98 kB / 329.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.345e-05/0.005528, allocations: 61.08 kB / 329.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.207e-05/0.0056, allocations: 85.08 kB / 329.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.005601, allocations: 0 / 329.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.915e-05/0.0057, allocations: 113.5 kB / 330 MB, free: 10.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.005711, allocations: 4 kB / 330 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.005715, allocations: 0 / 330 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.005726, allocations: 4 kB / 330.1 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.202e-05/0.005778, allocations: 27.92 kB / 330.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.005783, allocations: 0 / 330.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.121e-05/0.005804, allocations: 4 kB / 330.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.005809, allocations: 4 kB / 330.1 MB, free: 10.64 MB / 298.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 5.62e-05/0.005866, allocations: 125.9 kB / 330.2 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.005879, allocations: 7.953 kB / 330.2 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.005902, allocations: 12.52 kB / 330.2 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.005903, allocations: 3.984 kB / 330.2 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.005907, allocations: 0 / 330.2 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.005913, allocations: 7.984 kB / 330.2 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.006194, allocations: 350.2 kB / 330.6 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.006195, allocations: 0 / 330.6 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.424e-05/0.006239, allocations: 16.16 kB / 330.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.006242, allocations: 8 kB / 330.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.006268, allocations: 0 / 330.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.006274, allocations: 7.984 kB / 330.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.006277, allocations: 7.875 kB / 330.6 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.006451, allocations: 231.8 kB / 330.8 MB, free: 9.781 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-06/0.006459, allocations: 4 kB / 330.9 MB, free: 9.777 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.006471, allocations: 4 kB / 330.9 MB, free: 9.773 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.676e-05/0.006518, allocations: 8 kB / 330.9 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.006533, allocations: 11.92 kB / 330.9 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.006538, allocations: 8.062 kB / 330.9 MB, free: 9.746 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.783e-05/0.006566, allocations: 83.28 kB / 331 MB, free: 9.664 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006566, allocations: 0 / 331 MB, free: 9.664 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001609/0.006727, allocations: 16 kB / 331 MB, free: 9.648 MB / 298.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 7.78e-05/0.006805, allocations: 103.2 kB / 331.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.767e-05/0.006903, allocations: 55.86 kB / 331.1 MB, free: 9.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.006904, allocations: 0 / 331.1 MB, free: 9.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.543e-05/0.006929, allocations: 32.42 kB / 331.2 MB, free: 9.449 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.007142, allocations: 12 kB / 331.2 MB, free: 9.438 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.007522, allocations: 311.3 kB / 331.5 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.495e-05/0.007577, allocations: 79.33 kB / 331.6 MB, free: 8.988 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.0076, allocations: 16.5 kB / 331.6 MB, free: 8.973 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.0076, allocations: 0 / 331.6 MB, free: 8.973 MB / 298.7 MB Notification: Performance of Templates: time 0.001552/0.009152, allocations: 1.005 MB / 332.6 MB, free: 7.965 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.182483736425638]