Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 99.86 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 173.3 MB / 200.8 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 267.3 MB, free: 6.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.52e-05, allocations: 2.312 kB / 267.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003469/0.003494, allocations: 1.644 MB / 268.9 MB, free: 5.109 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003411/0.003835, allocations: 63.8 kB / 269 MB, free: 5.047 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.709e-05/0.003912, allocations: 3.938 kB / 269 MB, free: 5.043 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.004042, allocations: 11.92 kB / 269 MB, free: 5.031 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.2e-05/0.004114, allocations: 19.8 kB / 269 MB, free: 5.012 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.004258, allocations: 19.91 kB / 269.1 MB, free: 4.992 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.004435, allocations: 63.67 kB / 269.1 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.004576, allocations: 23.92 kB / 269.1 MB, free: 4.906 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.004689, allocations: 43.91 kB / 269.2 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.744e-05/0.004776, allocations: 15.97 kB / 269.2 MB, free: 4.848 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.004801, allocations: 4 kB / 269.2 MB, free: 4.844 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2e-05/0.004821, allocations: 4 kB / 269.2 MB, free: 4.84 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.311e-05/0.004854, allocations: 15.92 kB / 269.2 MB, free: 4.824 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.004904, allocations: 20 kB / 269.2 MB, free: 4.805 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.005092, allocations: 59.78 kB / 269.3 MB, free: 4.746 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.005095, allocations: 0 / 269.3 MB, free: 4.746 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005096, allocations: 0 / 269.3 MB, free: 4.746 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.0051, allocations: 0 / 269.3 MB, free: 4.746 MB / 250.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.000779/0.005879, allocations: 400.1 kB / 269.7 MB, free: 4.316 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.005915, allocations: 16.86 kB / 269.7 MB, free: 4.301 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.00596, allocations: 8.891 kB / 269.7 MB, free: 4.293 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.006146, allocations: 128.6 kB / 269.8 MB, free: 4.141 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.006163, allocations: 8.375 kB / 269.8 MB, free: 4.133 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.006194, allocations: 12.33 kB / 269.9 MB, free: 4.121 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.006345, allocations: 70.17 kB / 269.9 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.006358, allocations: 192 / 269.9 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.006367, allocations: 384 / 269.9 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.006374, allocations: 4.375 kB / 269.9 MB, free: 4.043 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.006479, allocations: 43.38 kB / 270 MB, free: 4.004 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007052/0.007184, allocations: 366.8 kB / 270.3 MB, free: 3.602 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.007317, allocations: 70.92 kB / 270.4 MB, free: 3.52 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.00736, allocations: 23.67 kB / 270.4 MB, free: 3.492 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.007372, allocations: 4 kB / 270.4 MB, free: 3.488 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.007411, allocations: 33.39 kB / 270.5 MB, free: 3.445 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.007412, allocations: 0 / 270.5 MB, free: 3.445 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007599/0.008172, allocations: 388.2 kB / 270.8 MB, free: 3.004 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.008218, allocations: 55.41 kB / 270.9 MB, free: 2.938 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.008373, allocations: 177.9 kB / 271.1 MB, free: 2.746 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.008395, allocations: 25.7 kB / 271.1 MB, free: 2.715 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.492e-05/0.008489, allocations: 142.8 kB / 271.2 MB, free: 2.57 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.008528, allocations: 39.69 kB / 271.3 MB, free: 2.531 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.008586, allocations: 31.38 kB / 271.3 MB, free: 2.492 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002697/0.008856, allocations: 0.4961 MB / 271.8 MB, free: 1.984 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.883e-05/0.008895, allocations: 16 kB / 271.8 MB, free: 1.969 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.008998, allocations: 85.67 kB / 271.9 MB, free: 1.863 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.009147, allocations: 114 kB / 272 MB, free: 1.727 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.009148, allocations: 0 / 272 MB, free: 1.727 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002054/0.009354, allocations: 117.5 kB / 272.1 MB, free: 1.605 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.009369, allocations: 4 kB / 272.1 MB, free: 1.602 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.009379, allocations: 7.984 kB / 272.1 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.009393, allocations: 0 / 272.1 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.201e-05/0.009485, allocations: 23.94 kB / 272.2 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.009493, allocations: 3.984 kB / 272.2 MB, free: 1.566 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.925e-05/0.009533, allocations: 4.094 kB / 272.2 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.009541, allocations: 8 kB / 272.2 MB, free: 1.555 MB / 250.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.0001337/0.009675, allocations: 168.5 kB / 272.3 MB, free: 1.379 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.009705, allocations: 4 kB / 272.3 MB, free: 1.375 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.009742, allocations: 12.44 kB / 272.4 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.009744, allocations: 0 / 272.4 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.009747, allocations: 0 / 272.4 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.00975, allocations: 3.938 kB / 272.4 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000588/0.01034, allocations: 439.6 kB / 272.8 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01034, allocations: 0 / 272.8 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.729e-05/0.01044, allocations: 19.98 kB / 272.8 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.01044, allocations: 4 kB / 272.8 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.01046, allocations: 15.88 kB / 272.8 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.01046, allocations: 5.172 kB / 272.8 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.01047, allocations: 3.938 kB / 272.8 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.01079, allocations: 294.4 kB / 273.1 MB, free: 500 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.175e-05/0.0108, allocations: 3.953 kB / 273.1 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.01082, allocations: 7.984 kB / 273.1 MB, free: 488 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.874e-05/0.01089, allocations: 8.094 kB / 273.1 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.01091, allocations: 11.94 kB / 273.2 MB, free: 468 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.01092, allocations: 3.984 kB / 273.2 MB, free: 464 kB / 250.7 MB Notification: Performance of sorting global known variables: time 8.762e-05/0.01101, allocations: 135.1 kB / 273.3 MB, free: 328 kB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01101, allocations: 0 / 273.3 MB, free: 328 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002563/0.01126, allocations: 16 kB / 273.3 MB, free: 312 kB / 250.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.0001109/0.01137, allocations: 95.25 kB / 273.4 MB, free: 208 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.01154, allocations: 83.75 kB / 273.5 MB, free: 120 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01154, allocations: 4 kB / 273.5 MB, free: 116 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.693e-05/0.0116, allocations: 39.61 kB / 273.5 MB, free: 72 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.0119, allocations: 11.94 kB / 273.5 MB, free: 60 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000607/0.0125, allocations: 313.4 kB / 273.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.152e-05/0.0126, allocations: 79.58 kB / 273.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.027e-05/0.01264, allocations: 16.47 kB / 273.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.01266, allocations: 12.5 kB / 274 MB, free: 15.58 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01266, allocations: 0 / 274 MB, free: 15.58 MB / 266.7 MB Notification: Performance of Templates: time 0.003458/0.01612, allocations: 0.6369 MB / 274.6 MB, free: 14.95 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.195694864960387]