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.001759/0.001759, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.00208/0.00208, allocations: 156.9 kB / 24.26 MB, free: 148 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 1.461/1.461, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.523e-06/1.523e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.611e-05, allocations: 2.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002942/0.002968, allocations: 1.645 MB / 273.8 MB, free: 164 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000287/0.003255, allocations: 63.73 kB / 273.9 MB, free: 100 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.45e-05/0.00334, allocations: 4 kB / 273.9 MB, free: 96 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.003455, allocations: 11.92 kB / 273.9 MB, free: 84 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.569e-05/0.003521, allocations: 19.78 kB / 273.9 MB, free: 64 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.003641, allocations: 15.98 kB / 273.9 MB, free: 48 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.003804, allocations: 71.7 kB / 274 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.003917, allocations: 15.88 kB / 274 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.862e-05/0.003996, allocations: 35.91 kB / 274.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.004062, allocations: 19.97 kB / 274.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.004082, allocations: 4 kB / 274.1 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.822e-05/0.0041, allocations: 8 kB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.004121, allocations: 11.92 kB / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.656e-05/0.004168, allocations: 27.92 kB / 274.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.004319, allocations: 55.84 kB / 274.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.004325, allocations: 4 kB / 274.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004326, allocations: 4 kB / 274.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.004331, allocations: 3.938 kB / 274.2 MB, free: 15.79 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.000536/0.004867, allocations: 282.2 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.00491, allocations: 11.98 kB / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.004968, allocations: 16.89 kB / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.005232, allocations: 125.7 kB / 274.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.005248, allocations: 8.375 kB / 274.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.005284, allocations: 8.375 kB / 274.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.005455, allocations: 74.11 kB / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.005469, allocations: 192 / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.005487, allocations: 8.359 kB / 274.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.005492, allocations: 384 / 274.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.48e-05/0.005586, allocations: 39.92 kB / 274.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007218/0.006308, allocations: 303.6 kB / 275.1 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.006434, allocations: 58.44 kB / 275.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.983e-05/0.006473, allocations: 16.86 kB / 275.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.006488, allocations: 8 kB / 275.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.006523, allocations: 38.55 kB / 275.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.006525, allocations: 0 / 275.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007918/0.007316, allocations: 363.2 kB / 275.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.007364, allocations: 55.41 kB / 275.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.007584, allocations: 114.7 kB / 275.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.007606, allocations: 25.7 kB / 275.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.682e-05/0.007683, allocations: 100 kB / 275.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.007719, allocations: 39.69 kB / 275.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.007766, allocations: 21.72 kB / 275.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.007947, allocations: 326.7 kB / 276.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.105e-05/0.007988, allocations: 20 kB / 276.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.127e-05/0.008069, allocations: 60.77 kB / 276.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.008206, allocations: 89.06 kB / 276.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.008207, allocations: 0 / 276.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001976/0.008405, allocations: 117.5 kB / 276.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.008421, allocations: 4 kB / 276.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.008427, allocations: 0 / 276.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.00845, allocations: 4 kB / 276.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.596e-05/0.008546, allocations: 27.92 kB / 276.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.008553, allocations: 320 / 276.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.68e-05/0.008599, allocations: 8 kB / 276.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.008608, allocations: 4 kB / 276.5 MB, free: 13.2 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 0.0001079/0.008716, allocations: 121.7 kB / 276.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.008751, allocations: 11.95 kB / 276.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.306e-05/0.008784, allocations: 16.48 kB / 276.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.008788, allocations: 4 kB / 276.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.008792, allocations: 0 / 276.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.008795, allocations: 3.938 kB / 276.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005229/0.009318, allocations: 342.3 kB / 277 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.009322, allocations: 4 kB / 277 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.817e-05/0.00942, allocations: 23.92 kB / 277 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.009423, allocations: 0 / 277 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.009435, allocations: 8.156 kB / 277 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.009437, allocations: 0 / 277 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.009443, allocations: 7.938 kB / 277.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.009734, allocations: 231.8 kB / 277.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.009744, allocations: 192 / 277.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.009766, allocations: 8 kB / 277.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.00984, allocations: 8 kB / 277.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.009869, allocations: 19.84 kB / 277.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.009874, allocations: 0 / 277.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.433e-05/0.009948, allocations: 95.25 kB / 277.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009948, allocations: 4.062 kB / 277.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002601/0.01021, allocations: 16 kB / 277.4 MB, free: 12.2 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 0.0001191/0.01033, allocations: 99.19 kB / 277.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.01047, allocations: 59.86 kB / 277.6 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01048, allocations: 0 / 277.6 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.027e-05/0.01053, allocations: 31.92 kB / 277.6 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.01086, allocations: 8.5 kB / 277.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005923/0.01145, allocations: 297 kB / 277.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.58e-05/0.01154, allocations: 75.33 kB / 278 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.208e-05/0.01158, allocations: 8.484 kB / 278 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.32e-05/0.01162, allocations: 12.5 kB / 278 MB, free: 11.55 MB / 266.7 MB Notification: Performance of SimCode: time 1.031e-06/0.01163, allocations: 0 / 278 MB, free: 11.55 MB / 266.7 MB Notification: Performance of Templates: time 0.00324/0.01487, allocations: 0.6397 MB / 278.6 MB, free: 10.91 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.205414258991368]