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.001296/0.001296, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001498/0.001498, allocations: 162.9 kB / 24.99 MB, free: 9.273 MB / 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 0.9293/0.9293, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.703e-06/1.703e-06, allocations: 0 / 273 MB, free: 1.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.88e-05, allocations: 2.312 kB / 273 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001837/0.001855, allocations: 1.682 MB / 274.7 MB, free: 176 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001985/0.002054, allocations: 71.72 kB / 274.8 MB, free: 104 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.017e-05/0.002114, allocations: 0 / 274.8 MB, free: 104 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.487e-05/0.002209, allocations: 7.922 kB / 274.8 MB, free: 96 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.111e-05/0.00225, allocations: 23.8 kB / 274.8 MB, free: 72 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.002364, allocations: 23.91 kB / 274.8 MB, free: 48 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.00249, allocations: 67.66 kB / 274.9 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.002592, allocations: 15.98 kB / 274.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.598e-05/0.002648, allocations: 39.89 kB / 275 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.242e-05/0.002711, allocations: 15.98 kB / 275 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.002731, allocations: 4 kB / 275 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.002741, allocations: 4 kB / 275 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.002761, allocations: 15.92 kB / 275 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.00279, allocations: 23.92 kB / 275 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.002892, allocations: 39.89 kB / 275.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.002894, allocations: 3.938 kB / 275.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.002895, allocations: 0 / 275.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.002899, allocations: 4 kB / 275.1 MB, free: 15.82 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.0003429/0.003241, allocations: 388.5 kB / 275.5 MB, free: 15.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.003275, allocations: 12.03 kB / 275.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.003314, allocations: 8.891 kB / 275.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.003449, allocations: 128.5 kB / 275.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.00346, allocations: 8.375 kB / 275.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.003479, allocations: 8.375 kB / 275.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.87e-05/0.003578, allocations: 66.11 kB / 275.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.003588, allocations: 192 / 275.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.003598, allocations: 4.375 kB / 275.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.003606, allocations: 4.375 kB / 275.7 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.953e-05/0.003655, allocations: 30.86 kB / 275.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.004079, allocations: 350.8 kB / 276.1 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.468e-05/0.004154, allocations: 58.92 kB / 276.1 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.004178, allocations: 15.69 kB / 276.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-06/0.004186, allocations: 4 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.004206, allocations: 37.39 kB / 276.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 7.92e-07/0.004207, allocations: 0 / 276.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.000472/0.004679, allocations: 368.2 kB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.004705, allocations: 51.41 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.996e-05/0.004774, allocations: 165.9 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.004784, allocations: 25.7 kB / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.004832, allocations: 154.6 kB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.00485, allocations: 27.75 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.004882, allocations: 39.3 kB / 277 MB, free: 13.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.00498, allocations: 0.4883 MB / 277.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.28e-05/0.005003, allocations: 19.98 kB / 277.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.906e-05/0.005052, allocations: 70.11 kB / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.215e-05/0.005124, allocations: 94.03 kB / 277.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.005125, allocations: 0 / 277.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.814e-05/0.005223, allocations: 101.5 kB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.005234, allocations: 4.094 kB / 277.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.005239, allocations: 4 kB / 277.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.005254, allocations: 4 kB / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.649e-05/0.00531, allocations: 27.92 kB / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.005315, allocations: 0 / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.235e-05/0.005337, allocations: 4 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.005343, allocations: 4 kB / 277.8 MB, free: 12.77 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 5.831e-05/0.005401, allocations: 164.5 kB / 278 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.005421, allocations: 15.95 kB / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.173e-05/0.005442, allocations: 16.36 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.005444, allocations: 0 / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.005446, allocations: 4 kB / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.005449, allocations: 0 / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.005736, allocations: 407.6 kB / 278.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.005737, allocations: 4 kB / 278.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.774e-05/0.005785, allocations: 19.94 kB / 278.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.005787, allocations: 3.984 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.005796, allocations: 4 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.005797, allocations: 160 / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.005799, allocations: 11.94 kB / 278.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.005951, allocations: 278.2 kB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-06/0.005959, allocations: 8.188 kB / 278.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.00597, allocations: 0 / 278.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.604e-05/0.006006, allocations: 4 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/0.006026, allocations: 23.84 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.006029, allocations: 4 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.075e-05/0.00606, allocations: 123.2 kB / 278.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00606, allocations: 0 / 278.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001642/0.006224, allocations: 19.98 kB / 278.9 MB, free: 11.57 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 6.018e-05/0.006285, allocations: 99.28 kB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.319e-05/0.006378, allocations: 55.55 kB / 279 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.006379, allocations: 4 kB / 279.1 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.638e-05/0.006406, allocations: 31.61 kB / 279.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.006611, allocations: 17.39 kB / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.006972, allocations: 313.3 kB / 279.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.39e-05/0.007006, allocations: 63.34 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.277e-05/0.007028, allocations: 4.5 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.00705, allocations: 12.5 kB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.00705, allocations: 0 / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of Templates: time 0.001934/0.008984, allocations: 0.6297 MB / 280.1 MB, free: 10.27 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.663907133974135]