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.001884/0.001884, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 13.93 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.002123/0.002123, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.525/1.525, allocations: 177.1 MB / 203.1 MB, free: 5.547 MB / 186.7 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.0533/0.0533, allocations: 6.199 MB / 265.8 MB, free: 7.109 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.292e-06/1.292e-06, allocations: 0 / 336.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.872e-05/2.001e-05, allocations: 5.812 kB / 336.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.004766/0.004786, allocations: 5.381 MB / 342.3 MB, free: 6.645 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.007449, allocations: 1.927 MB / 344.2 MB, free: 4.711 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002673/0.007716, allocations: 19.94 kB / 344.2 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008162/0.008533, allocations: 445.9 kB / 344.7 MB, free: 4.254 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.009569, allocations: 0.7348 MB / 345.4 MB, free: 3.516 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.009751, allocations: 107.6 kB / 345.5 MB, free: 3.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001041/0.01079, allocations: 1.534 MB / 347 MB, free: 1.871 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002926/0.01108, allocations: 369.5 kB / 347.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004849/0.01157, allocations: 0.7245 MB / 348.1 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006486/0.01222, allocations: 0.748 MB / 348.9 MB, free: 20 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001993/0.01242, allocations: 84.05 kB / 349 MB, free: 15.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006714/0.01309, allocations: 331.3 kB / 349.3 MB, free: 15.61 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007898/0.01388, allocations: 0.7515 MB / 350 MB, free: 14.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005679/0.01445, allocations: 422.2 kB / 350.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003214/0.01766, allocations: 2.662 MB / 353.1 MB, free: 11.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.01766, allocations: 0 / 353.1 MB, free: 11.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01767, allocations: 0 / 353.1 MB, free: 11.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.746e-05/0.01769, allocations: 0 / 353.1 MB, free: 11.77 MB / 282.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.004087/0.02178, allocations: 2.544 MB / 355.6 MB, free: 9.176 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.02182, allocations: 11.89 kB / 355.7 MB, free: 9.164 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005688/0.02751, allocations: 1.739 MB / 357.4 MB, free: 7.422 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/0.02938, allocations: 0.7657 MB / 358.2 MB, free: 6.625 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.028e-05/0.02947, allocations: 86.39 kB / 358.2 MB, free: 6.539 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007021/0.03017, allocations: 227.6 kB / 358.5 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005207/0.03538, allocations: 3.309 MB / 361.8 MB, free: 2.371 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.374e-05/0.03544, allocations: 35.7 kB / 361.8 MB, free: 2.336 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/0.03564, allocations: 63.89 kB / 361.9 MB, free: 2.273 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002209/0.03785, allocations: 1.15 MB / 363 MB, free: 1.117 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004367/0.04221, allocations: 1.79 MB / 364.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02902/0.07123, allocations: 26.76 MB / 391.6 MB, free: 3.629 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.07247, allocations: 487.1 kB / 392.1 MB, free: 3.105 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003584/0.07283, allocations: 174.7 kB / 392.2 MB, free: 2.918 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.07286, allocations: 12.16 kB / 392.2 MB, free: 2.906 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/0.07291, allocations: 53.28 kB / 392.3 MB, free: 2.844 MB / 314.7 MB Notification: Performance of pre-optimization done (n=85): time 3.417e-06/0.07291, allocations: 4 kB / 392.3 MB, free: 2.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=114): time 0.005615/0.07853, allocations: 2.953 MB / 395.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.07864, allocations: 140.5 kB / 395.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003851/0.08249, allocations: 2.683 MB / 398.1 MB, free: 12.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.836e-05/0.08256, allocations: 37.69 kB / 398.1 MB, free: 12.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001944/0.0845, allocations: 2.08 MB / 400.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000537/0.08504, allocations: 0.4966 MB / 400.7 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001497/0.08653, allocations: 1.038 MB / 401.7 MB, free: 9.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003056/0.08684, allocations: 0.516 MB / 402.2 MB, free: 8.746 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.08787, allocations: 459.8 kB / 402.7 MB, free: 8.293 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005145/0.09302, allocations: 4.485 MB / 407.2 MB, free: 2.004 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007164/0.1002, allocations: 5.431 MB / 412.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.898e-05/0.1003, allocations: 24 kB / 412.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.006992/0.1073, allocations: 3.536 MB / 416.2 MB, free: 7.219 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.07e-05/0.1073, allocations: 54.75 kB / 416.2 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007327/0.1081, allocations: 409.9 kB / 416.6 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001454/0.1082, allocations: 120 kB / 416.7 MB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002846/0.1111, allocations: 0.9435 MB / 417.7 MB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001732/0.1112, allocations: 183.3 kB / 417.9 MB, free: 5.527 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/0.1133, allocations: 212.2 kB / 418.1 MB, free: 5.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003847/0.1137, allocations: 264.1 kB / 418.3 MB, free: 5.062 MB / 346.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.0009699/0.1147, allocations: 0.5412 MB / 418.9 MB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003847/0.1151, allocations: 214.7 kB / 419.1 MB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005053/0.1156, allocations: 201.3 kB / 419.3 MB, free: 4.098 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006959/0.1163, allocations: 350.1 kB / 419.6 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.1163, allocations: 0 / 419.6 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.1163, allocations: 7.984 kB / 419.6 MB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00644/0.1227, allocations: 3.241 MB / 422.9 MB, free: 292 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/0.1227, allocations: 8 kB / 422.9 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005652/0.1233, allocations: 155.8 kB / 423 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.132e-05/0.1233, allocations: 19.98 kB / 423 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.254e-05/0.1234, allocations: 28.66 kB / 423.1 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.105e-05/0.1234, allocations: 19.94 kB / 423.1 MB, free: 60 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.375e-05/0.1234, allocations: 23.86 kB / 423.1 MB, free: 36 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1166/0.2401, allocations: 1.567 MB / 424.7 MB, free: 85.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003161/0.2404, allocations: 173.8 kB / 424.8 MB, free: 85.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.2405, allocations: 28.48 kB / 424.9 MB, free: 85.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006281/0.2412, allocations: 49.66 kB / 424.9 MB, free: 85.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.2413, allocations: 88.06 kB / 425 MB, free: 85.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.759e-05/0.2414, allocations: 40.61 kB / 425 MB, free: 85.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001444/0.2428, allocations: 1.058 MB / 426.1 MB, free: 85.78 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2428, allocations: 1.188 kB / 426.1 MB, free: 85.78 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002527/0.2453, allocations: 0.5038 MB / 426.6 MB, free: 85.78 MB / 346.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.0003422/0.2457, allocations: 182.8 kB / 426.8 MB, free: 85.69 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003543/0.2492, allocations: 1.991 MB / 428.8 MB, free: 85.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/0.2492, allocations: 0.7812 kB / 428.8 MB, free: 85.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000505/0.2497, allocations: 335.4 kB / 429.1 MB, free: 85.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.2511, allocations: 189 kB / 429.3 MB, free: 85.33 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004488/0.2555, allocations: 3.895 MB / 433.2 MB, free: 83.44 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.2567, allocations: 1.191 MB / 434.4 MB, free: 83.28 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00211/0.2588, allocations: 1.205 MB / 435.6 MB, free: 83.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/0.2591, allocations: 142.6 kB / 435.7 MB, free: 83.2 MB / 346.7 MB Notification: Performance of SimCode: time 1.553e-06/0.2591, allocations: 0 / 435.7 MB, free: 83.2 MB / 346.7 MB Notification: Performance of Templates: time 0.02332/0.2824, allocations: 12.73 MB / 448.5 MB, free: 72.71 MB / 346.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=240 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.4148616989841685]