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.0008697/0.0008697, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008256/0.0008256, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8518/0.8518, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.02453/0.02453, allocations: 6.194 MB / 266.1 MB, free: 7.289 MB / 250.7 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 1.724e-06/1.724e-06, allocations: 0 / 392.3 MB, free: 5.121 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.822e-05, allocations: 5.094 kB / 392.3 MB, free: 5.117 MB / 314.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.004516/0.004544, allocations: 4.999 MB / 397.3 MB, free: 88 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002858/0.007403, allocations: 1.869 MB / 399.2 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005366/0.007939, allocations: 19.94 kB / 399.2 MB, free: 14.19 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009287/0.008868, allocations: 437.9 kB / 399.6 MB, free: 13.76 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.01015, allocations: 0.7347 MB / 400.3 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.01037, allocations: 99.69 kB / 400.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.01174, allocations: 1.545 MB / 402 MB, free: 11.38 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005872/0.01233, allocations: 357.4 kB / 402.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000787/0.01312, allocations: 0.7207 MB / 403 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.01424, allocations: 0.7557 MB / 403.8 MB, free: 9.535 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001938/0.01443, allocations: 80 kB / 403.9 MB, free: 9.457 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005148/0.01495, allocations: 331.4 kB / 404.2 MB, free: 9.133 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004343/0.01538, allocations: 0.7437 MB / 404.9 MB, free: 8.387 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003748/0.01576, allocations: 426.2 kB / 405.4 MB, free: 7.969 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002044/0.0178, allocations: 2.658 MB / 408 MB, free: 5.301 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.0178, allocations: 0 / 408 MB, free: 5.301 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.01781, allocations: 0 / 408 MB, free: 5.301 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.322e-05/0.01789, allocations: 3.984 kB / 408 MB, free: 5.297 MB / 330.7 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.002822/0.02071, allocations: 2.088 MB / 410.1 MB, free: 3.164 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.02075, allocations: 11.89 kB / 410.1 MB, free: 3.152 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002758/0.02351, allocations: 1.513 MB / 411.6 MB, free: 1.637 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009925/0.0245, allocations: 0.8058 MB / 412.4 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.582e-05/0.02455, allocations: 86.41 kB / 412.5 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004418/0.02499, allocations: 255.7 kB / 412.8 MB, free: 476 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1419/0.1669, allocations: 5.043 MB / 417.8 MB, free: 28.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.802e-05/0.167, allocations: 24.03 kB / 417.8 MB, free: 28.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.1671, allocations: 61.25 kB / 417.9 MB, free: 28.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001087/0.1682, allocations: 1.151 MB / 419.1 MB, free: 28.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004986/0.1732, allocations: 4.306 MB / 423.4 MB, free: 27.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01141/0.1846, allocations: 19.54 MB / 442.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009203/0.1855, allocations: 0.8238 MB / 443.7 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/0.1858, allocations: 406.3 kB / 444.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.1858, allocations: 11.81 kB / 444.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.1859, allocations: 42.53 kB / 444.2 MB, free: 11.24 MB / 330.7 MB Notification: Performance of pre-optimization done (n=85): time 3.937e-06/0.1859, allocations: 0 / 444.2 MB, free: 11.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=114): time 0.003131/0.189, allocations: 3.987 MB / 448.2 MB, free: 7.418 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.189, allocations: 136.5 kB / 448.3 MB, free: 7.254 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.1904, allocations: 2.29 MB / 450.6 MB, free: 4.973 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/0.1904, allocations: 37.7 kB / 450.6 MB, free: 4.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003997/0.1908, allocations: 1.83 MB / 452.5 MB, free: 3.113 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.191, allocations: 470.9 kB / 452.9 MB, free: 2.664 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004647/0.1915, allocations: 0.8181 MB / 453.7 MB, free: 1.836 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.679e-05/0.1915, allocations: 334 kB / 454.1 MB, free: 1.504 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008867/0.1924, allocations: 1.273 MB / 455.3 MB, free: 232 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.1947, allocations: 3.9 MB / 459.2 MB, free: 11.01 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003853/0.1986, allocations: 5.658 MB / 464.9 MB, free: 4.051 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.986e-05/0.1986, allocations: 30.72 kB / 464.9 MB, free: 4.023 MB / 346.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.004564/0.2032, allocations: 4.952 MB / 469.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.315e-05/0.2032, allocations: 48 kB / 469.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006304/0.2038, allocations: 0.7634 MB / 470.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.082e-05/0.2039, allocations: 128.1 kB / 470.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.2053, allocations: 0.9357 MB / 471.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.595e-05/0.2054, allocations: 187.2 kB / 471.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.2067, allocations: 219.6 kB / 472.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/0.2069, allocations: 256 kB / 472.4 MB, free: 12.55 MB / 362.7 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.001084/0.2079, allocations: 1.202 MB / 473.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.2081, allocations: 186.7 kB / 473.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.2083, allocations: 241.3 kB / 474 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006051/0.2089, allocations: 0.7167 MB / 474.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.209, allocations: 4 kB / 474.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.209, allocations: 8.797 kB / 474.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002773/0.2117, allocations: 2.774 MB / 477.5 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.2117, allocations: 8.219 kB / 477.5 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002813/0.212, allocations: 160.6 kB / 477.7 MB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/0.212, allocations: 23.92 kB / 477.7 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.2121, allocations: 27.98 kB / 477.7 MB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.2121, allocations: 15.94 kB / 477.7 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.2121, allocations: 17.5 kB / 477.8 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.2132, allocations: 1.682 MB / 479.4 MB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.2133, allocations: 182.6 kB / 479.6 MB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.169e-05/0.2134, allocations: 31.56 kB / 479.7 MB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003227/0.2137, allocations: 47.94 kB / 479.7 MB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.2138, allocations: 87.64 kB / 479.8 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/0.2139, allocations: 36.38 kB / 479.8 MB, free: 4.801 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001027/0.2149, allocations: 1.292 MB / 481.1 MB, free: 3.484 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2149, allocations: 0 / 481.1 MB, free: 3.484 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001649/0.2165, allocations: 0.4999 MB / 481.6 MB, free: 2.984 MB / 362.7 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.0002962/0.2168, allocations: 202.7 kB / 481.8 MB, free: 2.777 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002579/0.2194, allocations: 2.676 MB / 484.5 MB, free: 128 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.2194, allocations: 8.812 kB / 484.5 MB, free: 120 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004186/0.2198, allocations: 0.491 MB / 485 MB, free: 15.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008788/0.2207, allocations: 180.7 kB / 485.2 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005023/0.2257, allocations: 4.839 MB / 490 MB, free: 10.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.2268, allocations: 1.348 MB / 491.4 MB, free: 9.047 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/0.2271, allocations: 172.5 kB / 491.5 MB, free: 8.879 MB / 378.7 MB Notification: Performance of SimCode: time 1.774e-06/0.2271, allocations: 0 / 491.5 MB, free: 8.879 MB / 378.7 MB Notification: Performance of Templates: time 0.02949/0.2566, allocations: 30.26 MB / 0.5096 GB, free: 10.66 MB / 410.7 MB " [Timeout remaining time 660] 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 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9739469503983855] Failed to read output from testmodel.py, exit status != 0: 0.2627163091674447 0.270065606 0.250603638 Calling exit ...