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.001347/0.001347, allocations: 78.02 kB / 19.18 MB, free: 2.531 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.001536/0.001536, allocations: 170.7 kB / 22.46 MB, free: 5.352 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.452/1.452, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.04549/0.04549, allocations: 6.2 MB / 265.4 MB, free: 10.78 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 2.114e-06/2.114e-06, allocations: 0 / 391.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.908e-05/3.119e-05, allocations: 10.16 kB / 391.5 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.01009/0.01012, allocations: 5.01 MB / 396.5 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005523/0.01564, allocations: 1.865 MB / 398.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008769/0.01652, allocations: 23.94 kB / 398.4 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.01798, allocations: 433.9 kB / 398.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002556/0.02053, allocations: 0.7386 MB / 399.6 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.02093, allocations: 99.62 kB / 399.7 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002945/0.02387, allocations: 1.541 MB / 401.2 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008161/0.02469, allocations: 369.4 kB / 401.6 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001302/0.02599, allocations: 0.713 MB / 402.3 MB, free: 40 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.02763, allocations: 0.7557 MB / 403.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002587/0.02789, allocations: 80 kB / 403.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.02894, allocations: 335.4 kB / 403.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.02995, allocations: 0.7359 MB / 404.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008282/0.03077, allocations: 426.2 kB / 404.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004593/0.03537, allocations: 2.666 MB / 407.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.03537, allocations: 0 / 407.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.03537, allocations: 0 / 407.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.419e-05/0.03544, allocations: 0 / 407.3 MB, free: 11.04 MB / 334.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.005847/0.04129, allocations: 2.088 MB / 409.4 MB, free: 8.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.04134, allocations: 11.89 kB / 409.4 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009245/0.05059, allocations: 1.516 MB / 410.9 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003166/0.05375, allocations: 0.8019 MB / 411.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.05388, allocations: 86.41 kB / 411.8 MB, free: 6.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00123/0.05511, allocations: 255.7 kB / 412 MB, free: 6.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01118/0.06629, allocations: 5.049 MB / 417.1 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.507e-05/0.06637, allocations: 39.58 kB / 417.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000305/0.06668, allocations: 63.91 kB / 417.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002985/0.06966, allocations: 1.15 MB / 418.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/0.08084, allocations: 4.289 MB / 422.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03236/0.1132, allocations: 19.53 MB / 442.1 MB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/0.1156, allocations: 0.8363 MB / 443 MB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009164/0.1165, allocations: 411.9 kB / 443.4 MB, free: 5.578 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.1165, allocations: 8 kB / 443.4 MB, free: 5.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.327e-05/0.1166, allocations: 42.55 kB / 443.4 MB, free: 5.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=85): time 4.789e-06/0.1166, allocations: 0 / 443.4 MB, free: 5.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=114): time 0.01028/0.1269, allocations: 3.979 MB / 447.4 MB, free: 1.527 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.127, allocations: 140.5 kB / 447.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1865/0.3135, allocations: 2.28 MB / 449.8 MB, free: 63.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001619/0.3137, allocations: 35.73 kB / 449.9 MB, free: 63.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009419/0.3146, allocations: 1.84 MB / 451.7 MB, free: 62.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003858/0.315, allocations: 461.9 kB / 452.2 MB, free: 62.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001152/0.3162, allocations: 0.8141 MB / 453 MB, free: 62.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.126e-05/0.3162, allocations: 336.8 kB / 453.3 MB, free: 61.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001742/0.318, allocations: 1.279 MB / 454.6 MB, free: 61.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0028/0.3208, allocations: 3.899 MB / 458.5 MB, free: 57.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006444/0.3272, allocations: 5.657 MB / 464.1 MB, free: 52.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001418/0.3274, allocations: 28.72 kB / 464.2 MB, free: 52.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.008629/0.336, allocations: 4.948 MB / 469.1 MB, free: 50.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.588e-05/0.336, allocations: 50.31 kB / 469.2 MB, free: 50.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008149/0.3369, allocations: 0.7679 MB / 469.9 MB, free: 50.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001226/0.337, allocations: 123 kB / 470.1 MB, free: 50.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002503/0.3395, allocations: 0.9418 MB / 471 MB, free: 50.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001023/0.3396, allocations: 188.8 kB / 471.2 MB, free: 50.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002721/0.3423, allocations: 215.7 kB / 471.4 MB, free: 50.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003337/0.3426, allocations: 258.8 kB / 471.6 MB, free: 50.39 MB / 366.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.001665/0.3443, allocations: 1.188 MB / 472.8 MB, free: 49.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004039/0.3447, allocations: 195.4 kB / 473 MB, free: 49.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003743/0.3451, allocations: 247.5 kB / 473.3 MB, free: 49.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007967/0.3459, allocations: 0.7125 MB / 474 MB, free: 48.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.3459, allocations: 0 / 474 MB, free: 48.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.3459, allocations: 3.844 kB / 474 MB, free: 48.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003594/0.3495, allocations: 2.783 MB / 476.8 MB, free: 45.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.3495, allocations: 11.12 kB / 476.8 MB, free: 45.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004418/0.35, allocations: 157.5 kB / 476.9 MB, free: 45.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/0.35, allocations: 19.83 kB / 476.9 MB, free: 45.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.741e-05/0.35, allocations: 32 kB / 477 MB, free: 45.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.239e-05/0.35, allocations: 19.83 kB / 477 MB, free: 45.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/0.35, allocations: 15.94 kB / 477 MB, free: 45.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.3515, allocations: 1.681 MB / 478.7 MB, free: 44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003563/0.3518, allocations: 182.4 kB / 478.9 MB, free: 43.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.352, allocations: 28 kB / 478.9 MB, free: 43.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005719/0.3525, allocations: 39.72 kB / 478.9 MB, free: 43.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3526, allocations: 94.27 kB / 479 MB, free: 43.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.092e-05/0.3527, allocations: 36 kB / 479.1 MB, free: 43.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001249/0.3539, allocations: 1.286 MB / 480.3 MB, free: 42.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3539, allocations: 0 / 480.3 MB, free: 42.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002775/0.3567, allocations: 0.4999 MB / 480.8 MB, free: 42.08 MB / 366.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.0003451/0.3571, allocations: 189.6 kB / 481 MB, free: 41.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003409/0.3605, allocations: 2.684 MB / 483.7 MB, free: 39.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.3605, allocations: 4 kB / 483.7 MB, free: 39.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004781/0.361, allocations: 0.4976 MB / 484.2 MB, free: 38.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.3622, allocations: 203.5 kB / 484.4 MB, free: 38.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00561/0.3678, allocations: 4.589 MB / 489 MB, free: 33.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/0.3691, allocations: 1.345 MB / 490.4 MB, free: 32.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00225/0.3713, allocations: 1.384 MB / 491.7 MB, free: 31.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.3716, allocations: 137.6 kB / 491.9 MB, free: 31.05 MB / 366.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3716, allocations: 7.938 kB / 491.9 MB, free: 31.04 MB / 366.1 MB Notification: Performance of Templates: time 0.02488/0.3965, allocations: 12.68 MB / 0.4927 GB, free: 18.7 MB / 366.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: 5.549281883984804] Failed to read output from testmodel.py, exit status != 0: 0.4061184525489807 0.415087666 0.37721471100000004 Calling exit ...