Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.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.001541/0.001541, allocations: 75.75 kB / 19.76 MB, free: 2.023 MB / 14.72 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.001827/0.001827, allocations: 154.2 kB / 23 MB, free: 4.953 MB / 14.72 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 1.553/1.553, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo): time 0.04445/0.04445, allocations: 6.204 MB / 266 MB, free: 10.73 MB / 254.1 MB " [Timeout remaining time 180] Using package VehicleInterfaces with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo) 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(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003267/0.003267, allocations: 63.89 kB / 392 MB, free: 12.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1382, allocations: 55.22 MB / 447.2 MB, free: 4.797 MB / 414.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.01035/0.1485, allocations: 4.998 MB / 452.2 MB, free: 15.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005704/0.1542, allocations: 1.873 MB / 454.1 MB, free: 13.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005806/0.1548, allocations: 23.94 kB / 454.1 MB, free: 13.87 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.1561, allocations: 414.1 kB / 454.5 MB, free: 13.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.1583, allocations: 0.7197 MB / 455.3 MB, free: 12.74 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.1586, allocations: 99.75 kB / 455.4 MB, free: 12.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002531/0.1612, allocations: 1.522 MB / 456.9 MB, free: 11.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008645/0.162, allocations: 353.5 kB / 457.2 MB, free: 10.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.1631, allocations: 0.5018 MB / 457.7 MB, free: 10.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.1644, allocations: 0.7744 MB / 458.5 MB, free: 9.477 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003691/0.1648, allocations: 80 kB / 458.6 MB, free: 9.398 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.1658, allocations: 295.5 kB / 458.9 MB, free: 9.109 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.1668, allocations: 0.7242 MB / 459.6 MB, free: 8.383 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008629/0.1677, allocations: 0.5892 MB / 460.2 MB, free: 7.789 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003567/0.1713, allocations: 2.753 MB / 462.9 MB, free: 5.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1713, allocations: 0 / 462.9 MB, free: 5.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1713, allocations: 0 / 462.9 MB, free: 5.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.846e-05/0.1713, allocations: 0 / 462.9 MB, free: 5.02 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 763 * Number of variables: 763 Notification: Performance of Generate backend data structure: time 0.003381/0.1747, allocations: 2.115 MB / 465 MB, free: 2.859 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1747, allocations: 15.89 kB / 465.1 MB, free: 2.844 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005249/0.18, allocations: 1.509 MB / 466.6 MB, free: 1.332 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.1815, allocations: 0.8141 MB / 467.4 MB, free: 500 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.835e-05/0.1816, allocations: 78.03 kB / 467.5 MB, free: 420 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006366/0.1822, allocations: 263.7 kB / 467.7 MB, free: 156 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00776/0.19, allocations: 5.045 MB / 472.8 MB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.746e-05/0.19, allocations: 19.81 kB / 472.8 MB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001923/0.1902, allocations: 67.84 kB / 472.8 MB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001863/0.1921, allocations: 1.154 MB / 474 MB, free: 9.387 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006893/0.199, allocations: 4.297 MB / 478.3 MB, free: 5.074 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.229/0.4279, allocations: 19.6 MB / 497.9 MB, free: 56.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.4291, allocations: 0.8192 MB / 498.7 MB, free: 55.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.4294, allocations: 410.5 kB / 499.1 MB, free: 55.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.4295, allocations: 6.625 kB / 499.1 MB, free: 55.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.4295, allocations: 44.17 kB / 499.2 MB, free: 55.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=85): time 3.226e-06/0.4295, allocations: 0 / 499.2 MB, free: 55.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=114): time 0.004498/0.434, allocations: 3.983 MB / 0.4914 GB, free: 53.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.434, allocations: 138.4 kB / 0.4915 GB, free: 53.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/0.4359, allocations: 2.287 MB / 0.4937 GB, free: 52.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.436, allocations: 37.48 kB / 0.4938 GB, free: 52.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006131/0.4366, allocations: 1.859 MB / 0.4956 GB, free: 51.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000213/0.4368, allocations: 475.9 kB / 0.496 GB, free: 51.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006573/0.4374, allocations: 0.8187 MB / 0.4968 GB, free: 50.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.66e-05/0.4375, allocations: 337.7 kB / 0.4972 GB, free: 50.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.4388, allocations: 1.274 MB / 0.4984 GB, free: 49.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002085/0.4408, allocations: 3.905 MB / 0.5022 GB, free: 46.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003858/0.4447, allocations: 5.662 MB / 0.5077 GB, free: 41.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.185e-05/0.4447, allocations: 25.88 kB / 0.5078 GB, free: 41.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.006601/0.4513, allocations: 4.949 MB / 0.5126 GB, free: 39.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.02e-05/0.4514, allocations: 45.47 kB / 0.5126 GB, free: 39.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009888/0.4524, allocations: 0.7666 MB / 0.5134 GB, free: 39.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/0.4526, allocations: 123.1 kB / 0.5135 GB, free: 39.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002421/0.455, allocations: 0.9417 MB / 0.5144 GB, free: 39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001307/0.4551, allocations: 181.5 kB / 0.5146 GB, free: 38.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/0.4571, allocations: 217.4 kB / 0.5148 GB, free: 38.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000313/0.4574, allocations: 257.1 kB / 0.5151 GB, free: 38.85 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * Number of states: 0 () * Number of discrete variables: 12 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (509): * Single equations (assignments): 503 * Array equations: 6 * 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.001283/0.4587, allocations: 1.202 MB / 0.5162 GB, free: 38.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/0.459, allocations: 189.8 kB / 0.5164 GB, free: 38.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003487/0.4593, allocations: 243.7 kB / 0.5166 GB, free: 38.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000835/0.4602, allocations: 0.7157 MB / 0.5173 GB, free: 37.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.4602, allocations: 4.875 kB / 0.5173 GB, free: 37.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.4602, allocations: 7.484 kB / 0.5174 GB, free: 37.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003638/0.4638, allocations: 2.787 MB / 0.5201 GB, free: 36.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/0.4639, allocations: 9.625 kB / 0.5201 GB, free: 36.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004451/0.4643, allocations: 157.1 kB / 0.5202 GB, free: 36.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/0.4643, allocations: 13.75 kB / 0.5202 GB, free: 36.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-05/0.4644, allocations: 32.33 kB / 0.5203 GB, free: 36.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.338e-05/0.4644, allocations: 20.88 kB / 0.5203 GB, free: 36.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/0.4644, allocations: 16.66 kB / 0.5203 GB, free: 36.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.4658, allocations: 1.7 MB / 0.522 GB, free: 35.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/0.466, allocations: 182.1 kB / 0.5221 GB, free: 35.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.4661, allocations: 23.12 kB / 0.5222 GB, free: 35.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000563/0.4667, allocations: 47.11 kB / 0.5222 GB, free: 35.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.703e-05/0.4668, allocations: 87.33 kB / 0.5223 GB, free: 35.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.159e-05/0.4669, allocations: 42.56 kB / 0.5223 GB, free: 35.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001384/0.4682, allocations: 1.285 MB / 0.5236 GB, free: 34.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4682, allocations: 4 kB / 0.5236 GB, free: 34.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002786/0.471, allocations: 0.5051 MB / 0.5241 GB, free: 34.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 simulation (84): * Single equations (assignments): 78 * Array equations: 6 * 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.0002954/0.4713, allocations: 182.8 kB / 0.5243 GB, free: 34.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003552/0.4749, allocations: 2.689 MB / 0.5269 GB, free: 33.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/0.4749, allocations: 1.188 kB / 0.5269 GB, free: 33.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005607/0.4755, allocations: 0.4966 MB / 0.5274 GB, free: 33.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.4767, allocations: 182.1 kB / 0.5275 GB, free: 33.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006104/0.4828, allocations: 4.63 MB / 0.5321 GB, free: 31.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/0.4842, allocations: 1.348 MB / 0.5334 GB, free: 30.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002342/0.4866, allocations: 1.388 MB / 0.5347 GB, free: 30.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.4869, allocations: 141.4 kB / 0.5349 GB, free: 30.66 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4869, allocations: 0 / 0.5349 GB, free: 30.66 MB / 446.1 MB Notification: Performance of Templates: time 0.025/0.5119, allocations: 12.74 MB / 0.5473 GB, free: 25.13 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.makefile [Timeout 660] (rm -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.sim & ./VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.159083827049471] Failed to read output from testmodel.py, exit status != 0: 0.5214382939739153 0.527397587 0.35399971399999997 Calling exit ...