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.0009696/0.0009696, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0009681/0.0009681, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9251/0.9251, allocations: 177 MB / 204.8 MB, free: 5.613 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.532e-06/1.532e-06, allocations: 0 / 272.9 MB, free: 1.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.476e-05, allocations: 5.266 kB / 272.9 MB, free: 1.504 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002351/0.002376, allocations: 1.69 MB / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002199/0.002595, allocations: 71.72 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.375e-05/0.002649, allocations: 0 / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.686e-05/0.002746, allocations: 7.922 kB / 274.7 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.511e-05/0.002791, allocations: 23.8 kB / 274.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001096/0.002901, allocations: 19.91 kB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.003003, allocations: 67.66 kB / 274.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.938e-05/0.003102, allocations: 15.98 kB / 274.8 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.889e-05/0.003151, allocations: 39.89 kB / 274.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.745e-05/0.003209, allocations: 23.92 kB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.003229, allocations: 4 kB / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-06/0.003238, allocations: 4 kB / 274.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.003257, allocations: 15.92 kB / 274.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.003285, allocations: 19.92 kB / 274.9 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.003391, allocations: 43.89 kB / 274.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.003393, allocations: 0 / 274.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.003394, allocations: 0 / 274.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.003398, allocations: 0 / 274.9 MB, free: 15.45 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.0003656/0.003764, allocations: 392.5 kB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.003798, allocations: 11.98 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.003838, allocations: 12.89 kB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.003969, allocations: 132.4 kB / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.003978, allocations: 4.375 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.003999, allocations: 4.375 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.64e-05/0.004095, allocations: 66.17 kB / 275.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.004105, allocations: 4.188 kB / 275.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.004116, allocations: 4.375 kB / 275.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/0.004123, allocations: 384 / 275.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.577e-05/0.004169, allocations: 27.91 kB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004466/0.004616, allocations: 362.8 kB / 275.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.979e-05/0.004695, allocations: 50.98 kB / 276 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.004721, allocations: 19.69 kB / 276 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.004728, allocations: 0 / 276 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.00475, allocations: 37.39 kB / 276 MB, free: 14.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.004751, allocations: 4 kB / 276 MB, free: 14.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004983/0.005249, allocations: 368.1 kB / 276.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.00528, allocations: 55.41 kB / 276.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.562e-05/0.005356, allocations: 166.8 kB / 276.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.005364, allocations: 25.7 kB / 276.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.005421, allocations: 154.6 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.005439, allocations: 27.75 kB / 276.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.005472, allocations: 35.36 kB / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.005576, allocations: 0.4883 MB / 277.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.005597, allocations: 15.98 kB / 277.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.467e-05/0.005641, allocations: 70.11 kB / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.803e-05/0.005709, allocations: 86.05 kB / 277.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.00571, allocations: 0 / 277.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.823e-05/0.005809, allocations: 101.4 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.005821, allocations: 10.81 kB / 277.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.005825, allocations: 4.094 kB / 277.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.005838, allocations: 4 kB / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.366e-05/0.005892, allocations: 23.98 kB / 277.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.005897, allocations: 4.312 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.005918, allocations: 4 kB / 277.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.005924, allocations: 4 kB / 277.7 MB, free: 12.4 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 6.173e-05/0.005986, allocations: 168.5 kB / 277.8 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.006003, allocations: 11.95 kB / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.555e-05/0.006028, allocations: 20.36 kB / 277.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.006029, allocations: 0 / 277.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.006033, allocations: 4 kB / 277.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.006036, allocations: 144 / 277.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.006329, allocations: 415.5 kB / 278.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.006331, allocations: 4 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.577e-05/0.006377, allocations: 12 kB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.00638, allocations: 7.984 kB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.006388, allocations: 4 kB / 278.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.00639, allocations: 0 / 278.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.006391, allocations: 8.094 kB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.006555, allocations: 282.2 kB / 278.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-06/0.006564, allocations: 8 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.006574, allocations: 4 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.444e-05/0.006608, allocations: 4 kB / 278.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.006628, allocations: 15.92 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.006631, allocations: 0 / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.646e-05/0.006667, allocations: 135.2 kB / 278.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006667, allocations: 0 / 278.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001577/0.006825, allocations: 16 kB / 278.8 MB, free: 11.19 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.955e-05/0.006894, allocations: 99.28 kB / 278.9 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.006996, allocations: 59.53 kB / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.006998, allocations: 0 / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.5e-05/0.007023, allocations: 31.62 kB / 278.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.007231, allocations: 12.84 kB / 279 MB, free: 10.97 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.007605, allocations: 313.3 kB / 279.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.571e-05/0.007641, allocations: 63.34 kB / 279.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.218e-05/0.007663, allocations: 4.5 kB / 279.3 MB, free: 10.53 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.007686, allocations: 12.5 kB / 279.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.007686, allocations: 0 / 279.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of Templates: time 0.00215/0.009837, allocations: 0.6739 MB / 280 MB, free: 9.855 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] 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","",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.595806874334812]