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.00107/0.00107, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 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.001123/0.001123, allocations: 161 kB / 24.55 MB, free: 20 kB / 18.57 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.046/1.046, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 1.803e-06/1.803e-06, allocations: 0 / 273 MB, free: 1.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.995e-05, allocations: 2.312 kB / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.0027/0.00272, allocations: 1.689 MB / 274.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002765/0.002997, allocations: 71.78 kB / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.475e-05/0.003071, allocations: 4 kB / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.003185, allocations: 11.86 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.618e-05/0.003241, allocations: 11.86 kB / 274.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.003376, allocations: 19.86 kB / 274.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.00351, allocations: 75.64 kB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.00363, allocations: 11.98 kB / 274.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.044e-05/0.0037, allocations: 43.91 kB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.263e-05/0.003783, allocations: 15.97 kB / 274.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.003808, allocations: 8 kB / 274.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.521e-05/0.003823, allocations: 4 kB / 274.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.329e-05/0.003846, allocations: 11.94 kB / 274.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.003883, allocations: 23.97 kB / 274.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.004021, allocations: 43.83 kB / 275 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.004024, allocations: 0 / 275 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004025, allocations: 0 / 275 MB, free: 15.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.004029, allocations: 0 / 275 MB, free: 15.52 MB / 266.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.0006475/0.004677, allocations: 396.5 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.004721, allocations: 8.031 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.00477, allocations: 12.89 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.00494, allocations: 124.5 kB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.004954, allocations: 8.375 kB / 275.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.004988, allocations: 4.375 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.005117, allocations: 62.17 kB / 275.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.00513, allocations: 192 / 275.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.005144, allocations: 8.375 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.005152, allocations: 4.312 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.653e-05/0.005218, allocations: 31.91 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/0.005801, allocations: 354.8 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.861e-05/0.005899, allocations: 62.95 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.542e-05/0.005935, allocations: 19.69 kB / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.005943, allocations: 0 / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.005969, allocations: 37.33 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.00597, allocations: 0 / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006709/0.006641, allocations: 360.2 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.006672, allocations: 55.41 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.473e-05/0.006766, allocations: 165.9 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.006782, allocations: 33.7 kB / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.00685, allocations: 146.6 kB / 276.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.006877, allocations: 31.75 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/0.006926, allocations: 31.36 kB / 276.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.007062, allocations: 0.4922 MB / 277.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.103e-05/0.007093, allocations: 15.98 kB / 277.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.867e-05/0.007162, allocations: 74.11 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.007266, allocations: 93.98 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.007268, allocations: 0 / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001576/0.007425, allocations: 97.5 kB / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.007441, allocations: 4 kB / 277.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.007447, allocations: 4 kB / 277.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.007467, allocations: 0 / 277.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-05/0.007553, allocations: 23.98 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.007562, allocations: 7.938 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.723e-05/0.0076, allocations: 4.094 kB / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.00761, allocations: 8 kB / 277.7 MB, free: 12.46 MB / 266.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 8.211e-05/0.007692, allocations: 164.5 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.007722, allocations: 7.953 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.007755, allocations: 16.42 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.007758, allocations: 4 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.007762, allocations: 0 / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.007765, allocations: 0 / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/0.008202, allocations: 407.8 kB / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.008205, allocations: 0 / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.495e-05/0.00828, allocations: 23.98 kB / 278.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.008286, allocations: 11.97 kB / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.008295, allocations: 0 / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.008299, allocations: 4 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.008302, allocations: 7.875 kB / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.008535, allocations: 274.2 kB / 278.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.113e-05/0.008546, allocations: 8 kB / 278.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.008565, allocations: 8 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.236e-05/0.008628, allocations: 4.094 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.008652, allocations: 11.92 kB / 278.7 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.008658, allocations: 4 kB / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.332e-05/0.008711, allocations: 132.3 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008711, allocations: 4 kB / 278.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002993/0.009011, allocations: 16 kB / 278.8 MB, free: 11.27 MB / 266.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 8.522e-05/0.009096, allocations: 99.19 kB / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.009224, allocations: 55.72 kB / 279 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.009226, allocations: 4.062 kB / 279 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.09e-05/0.009267, allocations: 27.56 kB / 279 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.009605, allocations: 22.16 kB / 279 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005073/0.01011, allocations: 309.1 kB / 279.3 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.013e-05/0.01016, allocations: 63.34 kB / 279.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.31e-05/0.0102, allocations: 8.5 kB / 279.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.01022, allocations: 12.5 kB / 279.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01022, allocations: 0 / 279.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of Templates: time 0.002763/0.01299, allocations: 0.6335 MB / 280 MB, free: 9.973 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9055071561597288]