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.00137/0.00137, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001639/0.001639, allocations: 220 kB / 22.24 MB, free: 5.109 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.816 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.04763/0.04763, allocations: 8.109 MB / 320.5 MB, free: 11.11 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: "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 63.91 kB / 446.1 MB, free: 1.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1121, allocations: 55.24 MB / 0.4896 GB, free: 10.26 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.007136/0.1192, allocations: 5.002 MB / 0.4945 GB, free: 5.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004111/0.1233, allocations: 1.869 MB / 0.4963 GB, free: 3.355 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006285/0.1239, allocations: 23.94 kB / 0.4963 GB, free: 3.332 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.1251, allocations: 422.1 kB / 0.4967 GB, free: 2.918 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.1271, allocations: 0.712 MB / 0.4974 GB, free: 2.203 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.1275, allocations: 95.7 kB / 0.4975 GB, free: 2.109 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002342/0.1298, allocations: 1.506 MB / 0.499 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007635/0.1306, allocations: 369.5 kB / 0.4993 GB, free: 232 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008941/0.1315, allocations: 0.494 MB / 0.4998 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.1327, allocations: 0.7783 MB / 0.5006 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003052/0.133, allocations: 80 kB / 0.5006 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008317/0.1338, allocations: 295.5 kB / 0.5009 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008676/0.1347, allocations: 0.7124 MB / 0.5016 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008256/0.1355, allocations: 0.597 MB / 0.5022 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002982/0.1385, allocations: 2.757 MB / 0.5049 GB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1385, allocations: 0 / 0.5049 GB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1385, allocations: 0 / 0.5049 GB, free: 10.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.279e-05/0.1385, allocations: 0 / 0.5049 GB, free: 10.5 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.003268/0.1418, allocations: 2.099 MB / 0.5069 GB, free: 8.352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1419, allocations: 8.031 kB / 0.5069 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003984/0.1423, allocations: 377.6 kB / 0.5073 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004796/0.147, allocations: 1.497 MB / 0.5088 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.1488, allocations: 0.81 MB / 0.5096 GB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-05/0.1489, allocations: 86.03 kB / 0.5096 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007229/0.1496, allocations: 247.7 kB / 0.5099 GB, free: 5.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2107/0.3604, allocations: 5.04 MB / 0.5148 GB, free: 24.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.155e-05/0.3604, allocations: 24.22 kB / 0.5148 GB, free: 24.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000194/0.3606, allocations: 67.69 kB / 0.5149 GB, free: 24.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001511/0.3621, allocations: 1.148 MB / 0.516 GB, free: 24.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006042/0.3682, allocations: 4.289 MB / 0.5202 GB, free: 24.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01861/0.3868, allocations: 19.92 MB / 0.5396 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/0.3887, allocations: 0.8264 MB / 0.5405 GB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007237/0.3894, allocations: 410.1 kB / 0.5408 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.3895, allocations: 5.812 kB / 0.5408 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.3895, allocations: 44.44 kB / 0.5409 GB, free: 9.137 MB / 382.1 MB Notification: Performance of pre-optimization done (n=85): time 4.658e-06/0.3895, allocations: 3.688 kB / 0.5409 GB, free: 9.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.006762/0.3963, allocations: 4.007 MB / 0.5448 GB, free: 7.312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.3963, allocations: 140.9 kB / 0.5449 GB, free: 7.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003378/0.3997, allocations: 2.556 MB / 0.5474 GB, free: 6.145 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.972e-05/0.3998, allocations: 36.7 kB / 0.5475 GB, free: 6.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008952/0.4007, allocations: 1.839 MB / 0.5493 GB, free: 4.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003055/0.401, allocations: 480 kB / 0.5497 GB, free: 4.328 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009131/0.4019, allocations: 0.8269 MB / 0.5505 GB, free: 3.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.609e-05/0.402, allocations: 357.1 kB / 0.5509 GB, free: 3.602 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.4036, allocations: 1.278 MB / 0.5521 GB, free: 3.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002726/0.4063, allocations: 3.897 MB / 0.5559 GB, free: 15.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006432/0.4127, allocations: 5.662 MB / 0.5615 GB, free: 9.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-05/0.4128, allocations: 32 kB / 0.5615 GB, free: 9.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.008188/0.421, allocations: 4.971 MB / 0.5663 GB, free: 4.312 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.077e-05/0.4211, allocations: 44 kB / 0.5664 GB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001103/0.4222, allocations: 0.7632 MB / 0.5671 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001402/0.4223, allocations: 124 kB / 0.5672 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002713/0.425, allocations: 0.9458 MB / 0.5682 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001583/0.4252, allocations: 187.2 kB / 0.5684 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/0.4276, allocations: 217 kB / 0.5686 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003518/0.428, allocations: 256 kB / 0.5688 GB, free: 1.801 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.001731/0.4297, allocations: 1.201 MB / 0.57 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004089/0.4301, allocations: 214.5 kB / 0.5702 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004722/0.4306, allocations: 267.3 kB / 0.5704 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001072/0.4317, allocations: 0.7074 MB / 0.5711 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/0.4317, allocations: 7.922 kB / 0.5711 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.4317, allocations: 7.922 kB / 0.5711 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005333/0.437, allocations: 3.055 MB / 0.5741 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.437, allocations: 12 kB / 0.5741 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005205/0.4376, allocations: 155.7 kB / 0.5743 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.383e-05/0.4376, allocations: 12.81 kB / 0.5743 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.861e-05/0.4377, allocations: 34.59 kB / 0.5743 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.461e-05/0.4377, allocations: 23.92 kB / 0.5744 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.682e-05/0.4377, allocations: 15.94 kB / 0.5744 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.4398, allocations: 1.719 MB / 0.576 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004622/0.4402, allocations: 206.4 kB / 0.5762 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.4404, allocations: 31.98 kB / 0.5763 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006305/0.441, allocations: 43.95 kB / 0.5763 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.4412, allocations: 79.66 kB / 0.5764 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.192e-05/0.4412, allocations: 51.42 kB / 0.5764 GB, free: 9.688 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002118/0.4433, allocations: 1.474 MB / 0.5779 GB, free: 8.195 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4433, allocations: 0 / 0.5779 GB, free: 8.195 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002897/0.4462, allocations: 0.4999 MB / 0.5784 GB, free: 7.695 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.003003/0.4492, allocations: 2.38 MB / 0.5807 GB, free: 5.168 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004736/0.454, allocations: 2.679 MB / 0.5833 GB, free: 2.516 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.556e-05/0.454, allocations: 3.938 kB / 0.5833 GB, free: 2.512 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007893/0.4548, allocations: 0.4982 MB / 0.5838 GB, free: 2.016 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.4569, allocations: 205.7 kB / 0.584 GB, free: 1.816 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03596/0.4928, allocations: 25.69 MB / 0.6091 GB, free: 4.527 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001977/0.4948, allocations: 1.338 MB / 0.6104 GB, free: 3.152 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002994/0.4978, allocations: 1.41 MB / 0.6118 GB, free: 1.742 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001468/0.4993, allocations: 0.8468 MB / 0.6126 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of SimCode: time 1.473e-06/0.4993, allocations: 0 / 0.6126 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07949/0.5788, allocations: 31.61 MB / 0.6435 GB, free: 1.73 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.77, allocations: 11.92 kB / 0.6435 GB, free: 1.723 MB / 478.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 15.457878156099468] Failed to read output from testmodel.py, exit status != 0: 12.906666012946516 12.920793257 12.779381085 Calling exit ...