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.002094/0.002094, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002683/0.002683, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.572/1.572, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.04988/0.04988, allocations: 8.088 MB / 317.6 MB, free: 428 kB / 238.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: "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 70.38 kB / 441.7 MB, free: 39.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1131, allocations: 55.2 MB / 496.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.005222/0.1183, allocations: 5.588 MB / 0.4907 GB, free: 2.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003801/0.1221, allocations: 1.99 MB / 0.4926 GB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008094/0.1229, allocations: 19.94 kB / 0.4926 GB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.1241, allocations: 445.9 kB / 0.4931 GB, free: 468 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.1259, allocations: 0.7003 MB / 0.4937 GB, free: 15.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.1262, allocations: 95.7 kB / 0.4938 GB, free: 15.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001978/0.1282, allocations: 1.513 MB / 0.4953 GB, free: 14.14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004192/0.1286, allocations: 270.1 kB / 0.4956 GB, free: 13.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005373/0.1292, allocations: 0.494 MB / 0.496 GB, free: 13.37 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.1302, allocations: 0.79 MB / 0.4968 GB, free: 12.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002044/0.1305, allocations: 80 kB / 0.4969 GB, free: 12.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008826/0.1313, allocations: 407.2 kB / 0.4973 GB, free: 12.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007577/0.1321, allocations: 0.7164 MB / 0.498 GB, free: 11.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008413/0.1329, allocations: 0.8611 MB / 0.4988 GB, free: 10.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00361/0.1365, allocations: 2.757 MB / 0.5015 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.1366, allocations: 0 / 0.5015 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.596e-06/0.1366, allocations: 0 / 0.5015 GB, free: 7.746 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.767e-05/0.1366, allocations: 0 / 0.5015 GB, free: 7.746 MB / 366.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.004707/0.1413, allocations: 2.167 MB / 0.5036 GB, free: 5.516 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.1414, allocations: 16.03 kB / 0.5036 GB, free: 5.5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.392e-05/0.1414, allocations: 46.31 kB / 0.5037 GB, free: 5.453 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005347/0.142, allocations: 365.6 kB / 0.504 GB, free: 5.086 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005505/0.1475, allocations: 1.505 MB / 0.5055 GB, free: 3.578 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/0.1499, allocations: 0.8546 MB / 0.5063 GB, free: 2.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.15, allocations: 85.95 kB / 0.5064 GB, free: 2.594 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009655/0.1509, allocations: 243.8 kB / 0.5067 GB, free: 2.355 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009676/0.1606, allocations: 5.045 MB / 0.5116 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001337/0.1608, allocations: 31.75 kB / 0.5116 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004517/0.1612, allocations: 59.91 kB / 0.5117 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002651/0.1639, allocations: 1.154 MB / 0.5128 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01128/0.1751, allocations: 4.301 MB / 0.517 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02966/0.2048, allocations: 20.64 MB / 0.5372 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/0.2068, allocations: 1.282 MB / 0.5384 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006759/0.2075, allocations: 411.2 kB / 0.5388 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.249e-05/0.2076, allocations: 11.94 kB / 0.5388 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.13e-05/0.2076, allocations: 42.61 kB / 0.5389 GB, free: 15.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=85): time 6.963e-06/0.2076, allocations: 3.984 kB / 0.5389 GB, free: 15.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=114): time 0.008681/0.2163, allocations: 4.086 MB / 0.5428 GB, free: 11.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.2164, allocations: 144.4 kB / 0.543 GB, free: 11.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003975/0.2204, allocations: 2.393 MB / 0.5453 GB, free: 9.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.059e-05/0.2205, allocations: 37.7 kB / 0.5454 GB, free: 9.227 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001335/0.2218, allocations: 1.836 MB / 0.5471 GB, free: 7.371 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004319/0.2222, allocations: 472.4 kB / 0.5476 GB, free: 6.906 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/0.2233, allocations: 0.826 MB / 0.5484 GB, free: 6.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.2235, allocations: 365.9 kB / 0.5488 GB, free: 5.707 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001825/0.2253, allocations: 1.273 MB / 0.55 GB, free: 4.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003938/0.2292, allocations: 3.9 MB / 0.5538 GB, free: 15.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00656/0.2358, allocations: 5.652 MB / 0.5593 GB, free: 8.258 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-05/0.2358, allocations: 32 kB / 0.5594 GB, free: 8.227 MB / 430.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.008452/0.2443, allocations: 4.974 MB / 0.5642 GB, free: 3.246 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.116e-05/0.2444, allocations: 44 kB / 0.5643 GB, free: 3.203 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001108/0.2455, allocations: 0.7634 MB / 0.565 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001319/0.2456, allocations: 124.8 kB / 0.5651 GB, free: 2.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002805/0.2484, allocations: 0.9396 MB / 0.566 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001677/0.2486, allocations: 183.3 kB / 0.5662 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002725/0.2513, allocations: 219.6 kB / 0.5664 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004286/0.2517, allocations: 256 kB / 0.5667 GB, free: 0.7344 MB / 430.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.001899/0.2536, allocations: 1.198 MB / 0.5678 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003873/0.254, allocations: 206.6 kB / 0.568 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005328/0.2546, allocations: 267 kB / 0.5683 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00107/0.2556, allocations: 0.7074 MB / 0.569 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.2556, allocations: 8 kB / 0.569 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.2556, allocations: 3.984 kB / 0.569 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005272/0.2609, allocations: 3.213 MB / 0.5721 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.2609, allocations: 8 kB / 0.5721 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/0.2615, allocations: 159.9 kB / 0.5723 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.938e-05/0.2615, allocations: 16 kB / 0.5723 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.708e-05/0.2615, allocations: 28 kB / 0.5723 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.098e-05/0.2616, allocations: 23.86 kB / 0.5724 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.381e-05/0.2616, allocations: 15.94 kB / 0.5724 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.2636, allocations: 1.718 MB / 0.574 GB, free: 8.836 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004436/0.2641, allocations: 283.5 kB / 0.5743 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.2642, allocations: 31.97 kB / 0.5743 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006201/0.2649, allocations: 47.89 kB / 0.5744 GB, free: 8.461 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.265, allocations: 79.69 kB / 0.5745 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.326e-05/0.2651, allocations: 48.3 kB / 0.5745 GB, free: 8.336 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002183/0.2673, allocations: 1.474 MB / 0.576 GB, free: 6.844 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2673, allocations: 0 / 0.576 GB, free: 6.844 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004465/0.2717, allocations: 0.5077 MB / 0.5764 GB, free: 6.336 MB / 446.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.004247/0.276, allocations: 2.371 MB / 0.5788 GB, free: 3.816 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006966/0.2829, allocations: 2.683 MB / 0.5814 GB, free: 1.156 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/0.283, allocations: 0 / 0.5814 GB, free: 1.156 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.2841, allocations: 0.5 MB / 0.5819 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002846/0.2869, allocations: 209 kB / 0.5821 GB, free: 464 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3411/0.628, allocations: 25.68 MB / 0.6071 GB, free: 75.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/0.6294, allocations: 1.919 MB / 0.609 GB, free: 73.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002342/0.6317, allocations: 1.417 MB / 0.6104 GB, free: 72.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008678/0.6326, allocations: 0.8351 MB / 0.6112 GB, free: 71.58 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6326, allocations: 0 / 0.6112 GB, free: 71.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05316/0.6858, allocations: 32.4 MB / 0.6429 GB, free: 39.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.16, allocations: 0 / 0.6429 GB, free: 39.58 MB / 446.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads.fmu > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.31990229099756] Failed to read output from testmodel.py, exit status != 0: 14.305745193036273 14.313958906 14.175413928 Calling exit ...