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.001483/0.001483, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001666/0.001666, allocations: 215.8 kB / 23.01 MB, free: 4.602 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.354/1.354, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.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.0447/0.0447, allocations: 8.097 MB / 321.3 MB, free: 11.29 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.001823/0.001823, allocations: 63.89 kB / 447.4 MB, free: 1.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1047, allocations: 55.24 MB / 0.4909 GB, free: 10.06 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.007558/0.1123, allocations: 5.611 MB / 0.4963 GB, free: 4.414 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00372/0.116, allocations: 2.017 MB / 0.4983 GB, free: 2.391 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005379/0.1165, allocations: 19.94 kB / 0.4983 GB, free: 2.371 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.1176, allocations: 442 kB / 0.4988 GB, free: 1.938 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001673/0.1193, allocations: 0.712 MB / 0.4995 GB, free: 1.223 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.1196, allocations: 99.69 kB / 0.4995 GB, free: 1.125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002052/0.1217, allocations: 1.514 MB / 0.501 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006506/0.1223, allocations: 365.5 kB / 0.5014 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007156/0.123, allocations: 0.494 MB / 0.5019 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.1242, allocations: 0.7861 MB / 0.5026 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002556/0.1245, allocations: 80 kB / 0.5027 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007762/0.1252, allocations: 407.2 kB / 0.5031 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007416/0.126, allocations: 0.7164 MB / 0.5038 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009854/0.127, allocations: 0.8611 MB / 0.5046 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003028/0.13, allocations: 2.761 MB / 0.5073 GB, free: 9.117 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.13, allocations: 0 / 0.5073 GB, free: 9.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.13, allocations: 0 / 0.5073 GB, free: 9.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.13, allocations: 0 / 0.5073 GB, free: 9.117 MB / 382.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.003055/0.1331, allocations: 2.096 MB / 0.5094 GB, free: 6.977 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1331, allocations: 15.89 kB / 0.5094 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00449/0.1376, allocations: 1.493 MB / 0.5108 GB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.1391, allocations: 0.8062 MB / 0.5116 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.712e-05/0.1392, allocations: 90.03 kB / 0.5117 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006777/0.1399, allocations: 247.7 kB / 0.512 GB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1905/0.3304, allocations: 5.036 MB / 0.5169 GB, free: 25.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.471e-05/0.3305, allocations: 24.41 kB / 0.5169 GB, free: 25.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/0.3307, allocations: 64.75 kB / 0.517 GB, free: 25.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001462/0.3321, allocations: 1.153 MB / 0.5181 GB, free: 25.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005738/0.3379, allocations: 4.29 MB / 0.5223 GB, free: 24.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01628/0.3541, allocations: 20.56 MB / 0.5424 GB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.3556, allocations: 0.8264 MB / 0.5432 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004847/0.3561, allocations: 418.5 kB / 0.5436 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.3561, allocations: 5.453 kB / 0.5436 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.3562, allocations: 47.39 kB / 0.5436 GB, free: 8.852 MB / 382.1 MB Notification: Performance of pre-optimization done (n=85): time 3.336e-06/0.3562, allocations: 3.094 kB / 0.5436 GB, free: 8.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.005072/0.3612, allocations: 4.001 MB / 0.5475 GB, free: 7.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.3613, allocations: 152 kB / 0.5477 GB, free: 6.863 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/0.3637, allocations: 2.394 MB / 0.55 GB, free: 5.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.167e-05/0.3638, allocations: 37.83 kB / 0.55 GB, free: 5.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006689/0.3644, allocations: 1.841 MB / 0.5518 GB, free: 4.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.3647, allocations: 468.5 kB / 0.5523 GB, free: 3.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007236/0.3654, allocations: 0.8249 MB / 0.5531 GB, free: 3.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.109e-05/0.3655, allocations: 354.8 kB / 0.5534 GB, free: 3.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.3668, allocations: 1.284 MB / 0.5547 GB, free: 2.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002803/0.3696, allocations: 3.902 MB / 0.5585 GB, free: 14.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005606/0.3752, allocations: 5.651 MB / 0.564 GB, free: 8.777 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.622e-05/0.3753, allocations: 28 kB / 0.564 GB, free: 8.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.007226/0.3825, allocations: 4.971 MB / 0.5689 GB, free: 3.781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.704e-05/0.3825, allocations: 44 kB / 0.5689 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001009/0.3836, allocations: 0.7704 MB / 0.5697 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001262/0.3837, allocations: 120 kB / 0.5698 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002489/0.3862, allocations: 0.9474 MB / 0.5707 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001472/0.3863, allocations: 186.3 kB / 0.5709 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/0.3887, allocations: 223.7 kB / 0.5711 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003288/0.389, allocations: 256 kB / 0.5714 GB, free: 1.254 MB / 398.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.001635/0.3906, allocations: 1.203 MB / 0.5725 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004346/0.3911, allocations: 202.8 kB / 0.5727 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005194/0.3916, allocations: 263 kB / 0.573 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001069/0.3927, allocations: 0.7187 MB / 0.5737 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.3927, allocations: 3.75 kB / 0.5737 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.3927, allocations: 3.984 kB / 0.5737 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005518/0.3982, allocations: 3.182 MB / 0.5768 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.3982, allocations: 8 kB / 0.5768 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005228/0.3987, allocations: 162.3 kB / 0.577 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.846e-05/0.3988, allocations: 12 kB / 0.577 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.237e-05/0.3988, allocations: 31.98 kB / 0.577 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-05/0.3988, allocations: 23.92 kB / 0.577 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/0.3988, allocations: 11.94 kB / 0.577 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002143/0.401, allocations: 1.724 MB / 0.5787 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004356/0.4014, allocations: 206.4 kB / 0.5789 GB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.4016, allocations: 31.98 kB / 0.5789 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006033/0.4022, allocations: 43.94 kB / 0.579 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.4024, allocations: 83.66 kB / 0.5791 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-05/0.4024, allocations: 43.98 kB / 0.5791 GB, free: 8.992 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002091/0.4045, allocations: 1.474 MB / 0.5805 GB, free: 7.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4045, allocations: 0 / 0.5805 GB, free: 7.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002876/0.4074, allocations: 0.5038 MB / 0.581 GB, free: 6.996 MB / 414.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.0003569/0.4078, allocations: 186.8 kB / 0.5812 GB, free: 6.801 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00416/0.4119, allocations: 2.685 MB / 0.5838 GB, free: 4.141 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.4119, allocations: 192 / 0.5838 GB, free: 4.141 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006649/0.4126, allocations: 0.4981 MB / 0.5843 GB, free: 3.645 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/0.4141, allocations: 210.2 kB / 0.5845 GB, free: 3.445 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007471/0.4216, allocations: 4.911 MB / 0.5893 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001912/0.4235, allocations: 1.924 MB / 0.5912 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004819/0.424, allocations: 175.4 kB / 0.5914 GB, free: 12.23 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.424, allocations: 4 kB / 0.5914 GB, free: 12.23 MB / 430.1 MB Notification: Performance of Templates: time 0.04386/0.4678, allocations: 30.43 MB / 0.6211 GB, free: 13.86 MB / 462.1 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: 8.546673895791173] Failed to read output from testmodel.py, exit status != 0: 0.47529075806960464 0.48967940299999996 0.356742101 Calling exit ...