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.001083/0.001083, allocations: 93.06 kB / 19.65 MB, free: 280 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.001166/0.001166, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9528/0.9528, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.02665/0.02665, allocations: 6.208 MB / 266.1 MB, free: 7.078 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.482e-06/1.482e-06, allocations: 0 / 337.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.4e-05, allocations: 2.312 kB / 337.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.004058/0.004082, allocations: 5.423 MB / 343.1 MB, free: 6.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.00676, allocations: 1.947 MB / 345 MB, free: 4.297 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004161/0.007176, allocations: 27.94 kB / 345 MB, free: 4.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007971/0.007973, allocations: 437.9 kB / 345.5 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000968/0.008941, allocations: 0.7309 MB / 346.2 MB, free: 3.105 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001679/0.009109, allocations: 95.62 kB / 346.3 MB, free: 3.012 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.01012, allocations: 1.553 MB / 347.8 MB, free: 1.453 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/0.01045, allocations: 369.4 kB / 348.2 MB, free: 1.078 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004525/0.0109, allocations: 0.7168 MB / 348.9 MB, free: 368 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006414/0.01154, allocations: 0.7557 MB / 349.7 MB, free: 15.6 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.01167, allocations: 80 kB / 349.7 MB, free: 15.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004451/0.01211, allocations: 327.5 kB / 350.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004043/0.01252, allocations: 0.7476 MB / 350.8 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002889/0.01281, allocations: 422.2 kB / 351.2 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.01414, allocations: 1.805 MB / 353 MB, free: 12.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.01415, allocations: 0 / 353 MB, free: 12.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01415, allocations: 4 kB / 353 MB, free: 12.22 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.83e-05/0.01418, allocations: 0 / 353 MB, free: 12.22 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.002054/0.01623, allocations: 2.345 MB / 355.4 MB, free: 9.824 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.01628, allocations: 15.89 kB / 355.4 MB, free: 9.809 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002777/0.01906, allocations: 1.739 MB / 357.1 MB, free: 8.066 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008362/0.01989, allocations: 0.7617 MB / 357.9 MB, free: 7.273 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.644e-05/0.01994, allocations: 86.39 kB / 358 MB, free: 7.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003762/0.02031, allocations: 231.5 kB / 358.2 MB, free: 6.961 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002619/0.02293, allocations: 3.117 MB / 361.3 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.365e-05/0.02297, allocations: 31.77 kB / 361.4 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.02308, allocations: 67.84 kB / 361.4 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009429/0.02402, allocations: 1.146 MB / 362.6 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/0.02614, allocations: 1.577 MB / 364.1 MB, free: 380 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01288/0.03901, allocations: 25.12 MB / 389.3 MB, free: 6.336 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006698/0.03968, allocations: 451.2 kB / 389.7 MB, free: 5.848 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.03988, allocations: 166.7 kB / 389.9 MB, free: 5.668 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.0399, allocations: 11.94 kB / 389.9 MB, free: 5.656 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.03993, allocations: 41.39 kB / 389.9 MB, free: 5.605 MB / 314.7 MB Notification: Performance of pre-optimization done (n=85): time 2.444e-06/0.03993, allocations: 4 kB / 389.9 MB, free: 5.602 MB / 314.7 MB Notification: Performance of matching and sorting (n=114): time 0.003009/0.04294, allocations: 2.939 MB / 392.9 MB, free: 2.648 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.04299, allocations: 140.5 kB / 393 MB, free: 2.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/0.04491, allocations: 2.156 MB / 395.2 MB, free: 272 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.04495, allocations: 41.62 kB / 395.2 MB, free: 224 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008691/0.04582, allocations: 1.96 MB / 397.2 MB, free: 14.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003069/0.04613, allocations: 492.4 kB / 397.6 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007101/0.04684, allocations: 0.8969 MB / 398.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.04698, allocations: 0.5004 MB / 399 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006018/0.04759, allocations: 431.8 kB / 399.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002384/0.04997, allocations: 4.325 MB / 403.8 MB, free: 5.777 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003522/0.05349, allocations: 5.258 MB / 409 MB, free: 14.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.139e-05/0.05353, allocations: 31.94 kB / 409.1 MB, free: 14.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.004094/0.05763, allocations: 3.47 MB / 412.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/0.05767, allocations: 47.75 kB / 412.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004016/0.05807, allocations: 413.8 kB / 413 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.858e-05/0.05815, allocations: 124.1 kB / 413.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.05958, allocations: 0.9435 MB / 414.1 MB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.442e-05/0.05966, allocations: 179.3 kB / 414.2 MB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.06082, allocations: 211.7 kB / 414.4 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/0.06102, allocations: 260 kB / 414.7 MB, free: 9.078 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.0005274/0.06155, allocations: 498.2 kB / 415.2 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/0.06179, allocations: 222.5 kB / 415.4 MB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.06198, allocations: 201.3 kB / 415.6 MB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003878/0.06237, allocations: 354 kB / 415.9 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.06238, allocations: 4 kB / 415.9 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.06239, allocations: 7.984 kB / 416 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002969/0.06536, allocations: 2.802 MB / 418.8 MB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.06537, allocations: 12.22 kB / 418.8 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.06563, allocations: 163.7 kB / 418.9 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.06564, allocations: 15.98 kB / 418.9 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/0.06567, allocations: 24 kB / 419 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/0.06568, allocations: 15.94 kB / 419 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/0.06569, allocations: 15.94 kB / 419 MB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.06669, allocations: 1.534 MB / 420.5 MB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.06688, allocations: 178.6 kB / 420.7 MB, free: 2.633 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.112e-05/0.06697, allocations: 28 kB / 420.7 MB, free: 2.605 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.06727, allocations: 47.94 kB / 420.8 MB, free: 2.559 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/0.06734, allocations: 87.64 kB / 420.9 MB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.06738, allocations: 36 kB / 420.9 MB, free: 2.438 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007915/0.06817, allocations: 0.8855 MB / 421.8 MB, free: 1.527 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06817, allocations: 0 / 421.8 MB, free: 1.527 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001655/0.06983, allocations: 0.5077 MB / 422.3 MB, free: 1.02 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.000277/0.07011, allocations: 186.8 kB / 422.5 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.1029/0.173, allocations: 1.81 MB / 424.3 MB, free: 90.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/0.173, allocations: 5.141 kB / 424.3 MB, free: 90.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004016/0.1734, allocations: 318.3 kB / 424.6 MB, free: 90 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.1745, allocations: 193 kB / 424.8 MB, free: 89.99 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004287/0.1787, allocations: 3.847 MB / 428.6 MB, free: 88.13 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.1792, allocations: 0.6048 MB / 429.2 MB, free: 88.03 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00186/0.1811, allocations: 1.201 MB / 430.4 MB, free: 87.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.1814, allocations: 143.3 kB / 430.6 MB, free: 87.96 MB / 346.7 MB Notification: Performance of SimCode: time 2.305e-06/0.1814, allocations: 0 / 430.6 MB, free: 87.96 MB / 346.7 MB Notification: Performance of Templates: time 0.01781/0.1992, allocations: 12.74 MB / 443.3 MB, free: 79.11 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: 3.0875500589609146]