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.001064/0.001064, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001529/0.002593, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001093/0.001093, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001331/0.002424, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9741/0.9741, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08082/1.055, allocations: 53.85 MB / 243.7 MB, free: 14.91 MB / 250.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.553e-06/1.553e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.049e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002162/0.002183, allocations: 1.728 MB / 246.7 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000132/0.002315, allocations: 71.72 kB / 246.8 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.15e-05/0.002366, allocations: 8 kB / 246.8 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.893e-05/0.002415, allocations: 11.86 kB / 246.8 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.081e-05/0.002456, allocations: 15.84 kB / 246.8 MB, free: 11.81 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.186e-05/0.002518, allocations: 19.91 kB / 246.9 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.002626, allocations: 67.67 kB / 246.9 MB, free: 11.72 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.014e-05/0.002706, allocations: 12 kB / 246.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.194e-05/0.002768, allocations: 51.88 kB / 247 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.924e-05/0.002827, allocations: 15.92 kB / 247 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.002846, allocations: 4 kB / 247 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-06/0.002855, allocations: 12 kB / 247 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.002868, allocations: 4 kB / 247 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.002892, allocations: 19.94 kB / 247 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.002993, allocations: 51.77 kB / 247.1 MB, free: 11.55 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.406e-05/0.003008, allocations: 0 / 247.1 MB, free: 11.55 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.003008, allocations: 0 / 247.1 MB, free: 11.55 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.003022, allocations: 0 / 247.1 MB, free: 11.55 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.0003499/0.003372, allocations: 268.5 kB / 247.3 MB, free: 11.27 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.003403, allocations: 12.62 kB / 247.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.003431, allocations: 8.938 kB / 247.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.003552, allocations: 129.6 kB / 247.5 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.003563, allocations: 8.375 kB / 247.5 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.003581, allocations: 4.375 kB / 247.5 MB, free: 11.08 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.49e-05/0.003656, allocations: 50.23 kB / 247.6 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.003665, allocations: 4.188 kB / 247.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.003672, allocations: 4.375 kB / 247.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.003678, allocations: 384 / 247.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.448e-05/0.003712, allocations: 19.92 kB / 247.6 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.004078, allocations: 251.2 kB / 247.8 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.136e-05/0.00414, allocations: 50.53 kB / 247.9 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.004156, allocations: 13.64 kB / 247.9 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.004164, allocations: 3.938 kB / 247.9 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.004185, allocations: 34.56 kB / 247.9 MB, free: 10.61 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.004186, allocations: 0 / 247.9 MB, free: 10.61 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004356/0.004622, allocations: 339.2 kB / 248.3 MB, free: 10.23 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.004647, allocations: 63.34 kB / 248.3 MB, free: 10.15 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.134e-05/0.004698, allocations: 114.7 kB / 248.4 MB, free: 10.03 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.004706, allocations: 25.7 kB / 248.5 MB, free: 9.996 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.004737, allocations: 99.97 kB / 248.6 MB, free: 9.895 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.004758, allocations: 35.67 kB / 248.6 MB, free: 9.859 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.004784, allocations: 25.7 kB / 248.6 MB, free: 9.828 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.607e-05/0.00485, allocations: 318.8 kB / 248.9 MB, free: 9.508 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.121e-05/0.004861, allocations: 8 kB / 248.9 MB, free: 9.5 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.042e-05/0.004892, allocations: 49.14 kB / 249 MB, free: 9.434 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.86e-05/0.00495, allocations: 84.97 kB / 249.1 MB, free: 9.332 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.004951, allocations: 0 / 249.1 MB, free: 9.332 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.576e-05/0.005027, allocations: 85.47 kB / 249.2 MB, free: 9.242 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.005038, allocations: 4 kB / 249.2 MB, free: 9.238 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.005043, allocations: 4 kB / 249.2 MB, free: 9.234 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.005052, allocations: 0 / 249.2 MB, free: 9.234 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.314e-05/0.005115, allocations: 27.98 kB / 249.2 MB, free: 9.207 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.005118, allocations: 3.938 kB / 249.2 MB, free: 9.203 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.121e-05/0.00514, allocations: 4 kB / 249.2 MB, free: 9.199 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.005145, allocations: 8.094 kB / 249.2 MB, free: 9.191 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 5.421e-05/0.005199, allocations: 109.8 kB / 249.3 MB, free: 9.074 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.005215, allocations: 11.94 kB / 249.3 MB, free: 9.062 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.005241, allocations: 16.42 kB / 249.3 MB, free: 9.047 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.005242, allocations: 0 / 249.3 MB, free: 9.047 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.005244, allocations: 0 / 249.3 MB, free: 9.047 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.005247, allocations: 0 / 249.3 MB, free: 9.047 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/0.005571, allocations: 290.9 kB / 249.6 MB, free: 8.723 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.005573, allocations: 0 / 249.6 MB, free: 8.723 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.873e-05/0.005622, allocations: 19.98 kB / 249.6 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-06/0.005627, allocations: 4 kB / 249.6 MB, free: 8.699 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.00563, allocations: 4 kB / 249.6 MB, free: 8.695 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.005635, allocations: 0 / 249.6 MB, free: 8.695 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.005636, allocations: 4 kB / 249.7 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.005639, allocations: 3.938 kB / 249.7 MB, free: 8.688 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.005749, allocations: 203.7 kB / 249.9 MB, free: 8.457 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.005759, allocations: 11.94 kB / 249.9 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.228e-05/0.005791, allocations: 4.062 kB / 249.9 MB, free: 8.441 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.005805, allocations: 11.92 kB / 249.9 MB, free: 8.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.005808, allocations: 4 kB / 249.9 MB, free: 8.426 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.312e-05/0.005821, allocations: 18.02 kB / 249.9 MB, free: 8.406 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005821, allocations: 0 / 249.9 MB, free: 8.406 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001311/0.005952, allocations: 16 kB / 249.9 MB, free: 8.391 MB / 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 6.011e-05/0.006012, allocations: 80.36 kB / 250 MB, free: 8.305 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.028e-05/0.006082, allocations: 49.03 kB / 250 MB, free: 8.254 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/0.006096, allocations: 12.19 kB / 250.1 MB, free: 8.242 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.848e-05/0.006115, allocations: 28.72 kB / 250.1 MB, free: 8.211 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.006273, allocations: 19.44 kB / 250.1 MB, free: 8.195 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006382/0.006911, allocations: 244.6 kB / 250.3 MB, free: 7.914 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.281e-05/0.006944, allocations: 67.66 kB / 250.4 MB, free: 7.828 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.44e-05/0.006968, allocations: 12.48 kB / 250.4 MB, free: 7.816 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.007007, allocations: 59.38 kB / 250.5 MB, free: 7.758 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.007008, allocations: 0 / 250.5 MB, free: 7.758 MB / 250.7 MB Notification: Performance of Templates: time 0.001943/0.00895, allocations: 0.715 MB / 251.2 MB, free: 7.051 MB / 250.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 -ignoreHideResult -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.401492413133383]