Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001061/0.001061, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001411/0.001411, allocations: 162.5 kB / 25.7 MB, free: 8.406 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.036/1.036, allocations: 158.6 MB / 187.6 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.581e-05, allocations: 6.25 kB / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00281/0.002836, allocations: 1.716 MB / 253.3 MB, free: 5.52 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000269/0.003105, allocations: 71.72 kB / 253.3 MB, free: 5.449 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.638e-05/0.003181, allocations: 3.938 kB / 253.3 MB, free: 5.445 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.003301, allocations: 11.92 kB / 253.3 MB, free: 5.434 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.292e-05/0.003364, allocations: 15.8 kB / 253.4 MB, free: 5.418 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/0.003477, allocations: 27.95 kB / 253.4 MB, free: 5.391 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.003584, allocations: 63.67 kB / 253.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.147e-05/0.003676, allocations: 11.98 kB / 253.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.337e-05/0.003739, allocations: 39.95 kB / 253.5 MB, free: 5.277 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.479e-05/0.003804, allocations: 19.92 kB / 253.5 MB, free: 5.258 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.00382, allocations: 4 kB / 253.5 MB, free: 5.254 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.048e-05/0.00383, allocations: 8 kB / 253.5 MB, free: 5.246 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.003848, allocations: 11.92 kB / 253.5 MB, free: 5.234 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.00387, allocations: 19.98 kB / 253.6 MB, free: 5.215 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 9.829e-05/0.003969, allocations: 43.83 kB / 253.6 MB, free: 5.172 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.00397, allocations: 0 / 253.6 MB, free: 5.172 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003971, allocations: 4 kB / 253.6 MB, free: 5.168 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.003974, allocations: 0 / 253.6 MB, free: 5.168 MB / 234.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.000283/0.004257, allocations: 268.7 kB / 253.9 MB, free: 4.879 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.00429, allocations: 11.98 kB / 253.9 MB, free: 4.867 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.004319, allocations: 8.922 kB / 253.9 MB, free: 4.859 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.004456, allocations: 121.7 kB / 254 MB, free: 4.715 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.004465, allocations: 4.375 kB / 254 MB, free: 4.711 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.004487, allocations: 12.36 kB / 254 MB, free: 4.699 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.016e-05/0.004577, allocations: 61.83 kB / 254.1 MB, free: 4.637 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.004589, allocations: 8.125 kB / 254.1 MB, free: 4.629 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.004598, allocations: 8.359 kB / 254.1 MB, free: 4.621 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.004604, allocations: 384 / 254.1 MB, free: 4.621 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.273e-05/0.004637, allocations: 23.92 kB / 254.1 MB, free: 4.598 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.004983, allocations: 235.3 kB / 254.4 MB, free: 4.344 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.911e-05/0.005042, allocations: 46.48 kB / 254.4 MB, free: 4.289 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/0.00506, allocations: 12.86 kB / 254.4 MB, free: 4.273 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.126e-06/0.005068, allocations: 7.938 kB / 254.4 MB, free: 4.266 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.00509, allocations: 34.55 kB / 254.5 MB, free: 4.223 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.005091, allocations: 0 / 254.5 MB, free: 4.223 MB / 234.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004652/0.005556, allocations: 339.2 kB / 254.8 MB, free: 3.836 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.005584, allocations: 51.41 kB / 254.8 MB, free: 3.773 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.16e-05/0.005646, allocations: 115.6 kB / 255 MB, free: 3.648 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.005657, allocations: 29.64 kB / 255 MB, free: 3.613 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.233e-05/0.0057, allocations: 100 kB / 255.1 MB, free: 3.512 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.005717, allocations: 31.73 kB / 255.1 MB, free: 3.48 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.00575, allocations: 33.64 kB / 255.1 MB, free: 3.441 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.832e-05/0.005828, allocations: 318.8 kB / 255.5 MB, free: 3.121 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.12e-05/0.00584, allocations: 7.984 kB / 255.5 MB, free: 3.113 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.411e-05/0.005874, allocations: 48.02 kB / 255.5 MB, free: 3.051 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.565e-05/0.005929, allocations: 69.06 kB / 255.6 MB, free: 2.965 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.005931, allocations: 0 / 255.6 MB, free: 2.965 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.897e-05/0.00602, allocations: 81.47 kB / 255.7 MB, free: 2.879 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.006031, allocations: 8.094 kB / 255.7 MB, free: 2.871 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.006036, allocations: 4 kB / 255.7 MB, free: 2.867 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.00605, allocations: 0 / 255.7 MB, free: 2.867 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.1e-05/0.006121, allocations: 31.92 kB / 255.7 MB, free: 2.836 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.006125, allocations: 4 kB / 255.7 MB, free: 2.832 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.283e-05/0.006148, allocations: 0 / 255.7 MB, free: 2.832 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.006152, allocations: 4 kB / 255.7 MB, free: 2.828 MB / 234.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.777e-05/0.00621, allocations: 125.7 kB / 255.8 MB, free: 2.695 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.00623, allocations: 12.06 kB / 255.8 MB, free: 2.684 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.754e-05/0.006258, allocations: 16.42 kB / 255.9 MB, free: 2.668 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.006259, allocations: 8 kB / 255.9 MB, free: 2.66 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.006262, allocations: 0 / 255.9 MB, free: 2.66 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.006265, allocations: 4 kB / 255.9 MB, free: 2.656 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.006535, allocations: 274.8 kB / 256.1 MB, free: 2.348 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.006537, allocations: 4 kB / 256.1 MB, free: 2.344 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.103e-05/0.006588, allocations: 23.92 kB / 256.2 MB, free: 2.32 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.006592, allocations: 4 kB / 256.2 MB, free: 2.316 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.006599, allocations: 4.156 kB / 256.2 MB, free: 2.312 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.006602, allocations: 8.312 kB / 256.2 MB, free: 2.305 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.006603, allocations: 0 / 256.2 MB, free: 2.305 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.006744, allocations: 203.7 kB / 256.4 MB, free: 2.074 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.006756, allocations: 4 kB / 256.4 MB, free: 2.07 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.006768, allocations: 3.984 kB / 256.4 MB, free: 2.066 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.68e-05/0.006805, allocations: 8 kB / 256.4 MB, free: 2.059 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.642e-05/0.006822, allocations: 15.81 kB / 256.4 MB, free: 2.043 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.006825, allocations: 0 / 256.4 MB, free: 2.043 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.5e-05/0.00684, allocations: 24.81 kB / 256.4 MB, free: 2.016 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00684, allocations: 0 / 256.4 MB, free: 2.016 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001381/0.006978, allocations: 20.03 kB / 256.5 MB, free: 1.996 MB / 234.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.884e-05/0.007047, allocations: 72.42 kB / 256.5 MB, free: 1.918 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 8.594e-05/0.007133, allocations: 52.7 kB / 256.6 MB, free: 1.863 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.007139, allocations: 8 kB / 256.6 MB, free: 1.855 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.351e-05/0.007162, allocations: 24.8 kB / 256.6 MB, free: 1.828 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.007338, allocations: 16.48 kB / 256.6 MB, free: 1.812 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.007709, allocations: 277 kB / 256.9 MB, free: 1.496 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.221e-05/0.007751, allocations: 63.34 kB / 257 MB, free: 1.414 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.741e-05/0.007779, allocations: 8.438 kB / 257 MB, free: 1.406 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.007824, allocations: 55.38 kB / 257 MB, free: 1.352 MB / 234.7 MB Notification: Performance of SimCode: time 9.92e-07/0.007825, allocations: 0 / 257 MB, free: 1.352 MB / 234.7 MB Notification: Performance of Templates: time 0.002271/0.0101, allocations: 0.6915 MB / 257.7 MB, free: 0.6602 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.689992583822459]