Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.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.001446/0.001446, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001823/0.001823, allocations: 159.6 kB / 23.01 MB, free: 4.594 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.497/1.497, allocations: 177.2 MB / 203.4 MB, free: 8.988 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.04385/0.04385, allocations: 6.2 MB / 266 MB, free: 10.77 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_CircleRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads") translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 71.88 kB / 392 MB, free: 12.17 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1177, allocations: 55.23 MB / 447.2 MB, free: 4.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.007775/0.1255, allocations: 4.963 MB / 452.2 MB, free: 15.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003967/0.1295, allocations: 1.936 MB / 454.1 MB, free: 13.9 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002988/0.1298, allocations: 23.94 kB / 454.2 MB, free: 13.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.1308, allocations: 433.9 kB / 454.6 MB, free: 13.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.1323, allocations: 0.7132 MB / 455.3 MB, free: 12.74 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.1325, allocations: 131.6 kB / 455.4 MB, free: 12.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002178/0.1347, allocations: 1.524 MB / 457 MB, free: 11.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004701/0.1352, allocations: 357.5 kB / 457.3 MB, free: 10.72 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005759/0.1358, allocations: 0.5096 MB / 457.8 MB, free: 10.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009737/0.1367, allocations: 0.7744 MB / 458.6 MB, free: 9.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.1369, allocations: 80 kB / 458.7 MB, free: 9.352 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006581/0.1376, allocations: 335.4 kB / 459 MB, free: 9.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007093/0.1383, allocations: 0.7125 MB / 459.7 MB, free: 8.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006613/0.1389, allocations: 0.5931 MB / 460.3 MB, free: 7.711 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00332/0.1423, allocations: 2.784 MB / 463.1 MB, free: 4.914 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1423, allocations: 0 / 463.1 MB, free: 4.914 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1423, allocations: 0 / 463.1 MB, free: 4.914 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.783e-05/0.1423, allocations: 4 kB / 463.1 MB, free: 4.91 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 764 * Number of variables: 764 Notification: Performance of Generate backend data structure: time 0.003712/0.146, allocations: 2.119 MB / 465.2 MB, free: 2.746 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.146, allocations: 11.89 kB / 465.2 MB, free: 2.734 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005176/0.1512, allocations: 1.509 MB / 466.7 MB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/0.1529, allocations: 0.8141 MB / 467.5 MB, free: 388 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.589e-05/0.153, allocations: 86.05 kB / 467.6 MB, free: 300 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006628/0.1537, allocations: 251.7 kB / 467.9 MB, free: 48 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008885/0.1626, allocations: 5.053 MB / 472.9 MB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.146e-05/0.1626, allocations: 27.77 kB / 472.9 MB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001876/0.1628, allocations: 67.84 kB / 473 MB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001835/0.1646, allocations: 1.15 MB / 474.2 MB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008373/0.173, allocations: 4.308 MB / 478.5 MB, free: 4.957 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2201/0.3931, allocations: 19.59 MB / 498.1 MB, free: 55.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.3942, allocations: 0.8352 MB / 498.9 MB, free: 55.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003753/0.3946, allocations: 412.7 kB / 499.3 MB, free: 55.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.3946, allocations: 7.312 kB / 499.3 MB, free: 55.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.3946, allocations: 46.73 kB / 499.3 MB, free: 55.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=86): time 2.815e-06/0.3946, allocations: 5.125 kB / 499.4 MB, free: 55.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=117): time 0.00909/0.4037, allocations: 4.488 MB / 0.492 GB, free: 53.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.4037, allocations: 139.4 kB / 0.4922 GB, free: 53.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.4054, allocations: 2.282 MB / 0.4944 GB, free: 52.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.161e-05/0.4055, allocations: 40.84 kB / 0.4944 GB, free: 52.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005651/0.406, allocations: 1.856 MB / 0.4962 GB, free: 51.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.4063, allocations: 475.7 kB / 0.4967 GB, free: 50.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006455/0.4069, allocations: 0.8436 MB / 0.4975 GB, free: 50.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.862e-05/0.407, allocations: 335.2 kB / 0.4978 GB, free: 50.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.4082, allocations: 1.308 MB / 0.4991 GB, free: 49.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002163/0.4104, allocations: 3.932 MB / 0.503 GB, free: 45.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003785/0.4142, allocations: 5.702 MB / 0.5085 GB, free: 40.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.265e-05/0.4142, allocations: 27.22 kB / 0.5086 GB, free: 40.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.006036/0.4202, allocations: 5.027 MB / 0.5135 GB, free: 39.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.218e-05/0.4203, allocations: 44.59 kB / 0.5135 GB, free: 39.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009869/0.4213, allocations: 0.8334 MB / 0.5143 GB, free: 38.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001163/0.4214, allocations: 122.1 kB / 0.5144 GB, free: 38.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002413/0.4238, allocations: 0.9504 MB / 0.5154 GB, free: 38.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001263/0.424, allocations: 181.3 kB / 0.5155 GB, free: 38.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.426, allocations: 219.7 kB / 0.5157 GB, free: 38.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002817/0.4263, allocations: 260.8 kB / 0.516 GB, free: 38.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * 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 (512): * Single equations (assignments): 506 * 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.001214/0.4275, allocations: 1.205 MB / 0.5172 GB, free: 37.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002569/0.4278, allocations: 189.2 kB / 0.5174 GB, free: 37.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003558/0.4281, allocations: 247.6 kB / 0.5176 GB, free: 37.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009514/0.4291, allocations: 0.789 MB / 0.5184 GB, free: 37.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.4291, allocations: 3.906 kB / 0.5184 GB, free: 37.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.4291, allocations: 4.188 kB / 0.5184 GB, free: 37.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004055/0.4331, allocations: 2.913 MB / 0.5212 GB, free: 36.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.4332, allocations: 4.25 kB / 0.5212 GB, free: 36.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006709/0.4338, allocations: 179.1 kB / 0.5214 GB, free: 36.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/0.4338, allocations: 7.312 kB / 0.5214 GB, free: 36.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.134e-05/0.4339, allocations: 24.58 kB / 0.5214 GB, free: 36.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/0.4339, allocations: 8.312 kB / 0.5214 GB, free: 36.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4339, allocations: 8.375 kB / 0.5214 GB, free: 36.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.4355, allocations: 1.764 MB / 0.5232 GB, free: 35.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004774/0.4359, allocations: 291.1 kB / 0.5234 GB, free: 35.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.4361, allocations: 20.66 kB / 0.5235 GB, free: 35.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006598/0.4367, allocations: 66.48 kB / 0.5235 GB, free: 35.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.4368, allocations: 71.7 kB / 0.5236 GB, free: 35.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-05/0.4369, allocations: 35.31 kB / 0.5236 GB, free: 35.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001302/0.4382, allocations: 1.287 MB / 0.5249 GB, free: 34.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4382, allocations: 0 / 0.5249 GB, free: 34.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002479/0.4407, allocations: 0.5157 MB / 0.5254 GB, free: 34.49 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (87): * Single equations (assignments): 81 * 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.000292/0.441, allocations: 196.1 kB / 0.5256 GB, free: 34.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003229/0.4442, allocations: 2.805 MB / 0.5283 GB, free: 33.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.4442, allocations: 1.375 kB / 0.5283 GB, free: 33.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006325/0.4448, allocations: 0.5897 MB / 0.5289 GB, free: 33.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009848/0.4458, allocations: 165.6 kB / 0.529 GB, free: 33.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005118/0.4509, allocations: 4.64 MB / 0.5336 GB, free: 31.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/0.4521, allocations: 1.337 MB / 0.5349 GB, free: 30.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002237/0.4544, allocations: 1.416 MB / 0.5363 GB, free: 30.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.4547, allocations: 145.7 kB / 0.5364 GB, free: 30.67 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4547, allocations: 3.562 kB / 0.5364 GB, free: 30.67 MB / 446.1 MB Notification: Performance of Templates: time 0.02436/0.479, allocations: 14.02 MB / 0.5501 GB, free: 22.97 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.makefile [Timeout 660] (rm -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.sim & ./VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.085063336999156] Failed to read output from testmodel.py, exit status != 0: 0.48686813295353204 0.493899349 0.34960308999999995 Calling exit ...