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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 109 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04633/0.04633, allocations: 8.106 MB / 310.8 MB, free: 2.043 MB / 238.1 MB " [Timeout remaining time 180] Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_CircleRoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_CircleRoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.89 kB / 432.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1033, allocations: 54.02 MB / 486.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.007537/0.1108, allocations: 5.566 MB / 492 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004303/0.1151, allocations: 2.052 MB / 494.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008133/0.1159, allocations: 23.94 kB / 494.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.117, allocations: 426 kB / 494.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001895/0.1189, allocations: 0.7119 MB / 495.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.1193, allocations: 127.6 kB / 495.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002149/0.1215, allocations: 1.547 MB / 496.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005181/0.122, allocations: 258.2 kB / 497.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007926/0.1228, allocations: 0.5018 MB / 497.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.1239, allocations: 0.7979 MB / 498.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002131/0.1241, allocations: 80 kB / 498.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008896/0.125, allocations: 451.1 kB / 499 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007904/0.1258, allocations: 0.7397 MB / 499.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009742/0.1268, allocations: 0.8652 MB / 0.4889 GB, free: 11.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004015/0.1308, allocations: 2.819 MB / 0.4916 GB, free: 8.777 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.1308, allocations: 4 kB / 0.4916 GB, free: 8.773 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1308, allocations: 7.938 kB / 0.4916 GB, free: 8.766 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.116e-05/0.1309, allocations: 0 / 0.4916 GB, free: 8.766 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: 764 * Number of variables: 764 Notification: Performance of Generate backend data structure: time 0.003893/0.1348, allocations: 2.194 MB / 0.4938 GB, free: 6.508 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.1348, allocations: 8.031 kB / 0.4938 GB, free: 6.5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004775/0.1353, allocations: 373.6 kB / 0.4941 GB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004891/0.1402, allocations: 1.493 MB / 0.4956 GB, free: 4.629 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002208/0.1424, allocations: 0.8626 MB / 0.4964 GB, free: 3.723 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-05/0.1425, allocations: 90.05 kB / 0.4965 GB, free: 3.633 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000752/0.1432, allocations: 259.7 kB / 0.4968 GB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007396/0.1506, allocations: 5.033 MB / 0.5017 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.442e-05/0.1507, allocations: 23.81 kB / 0.5017 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/0.1509, allocations: 67.84 kB / 0.5018 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001764/0.1526, allocations: 1.154 MB / 0.5029 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007073/0.1597, allocations: 4.3 MB / 0.5071 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2224/0.3821, allocations: 20.64 MB / 0.5272 GB, free: 20.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.3835, allocations: 1.296 MB / 0.5285 GB, free: 19.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005252/0.384, allocations: 414.4 kB / 0.5289 GB, free: 19.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.3841, allocations: 9.578 kB / 0.5289 GB, free: 19.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.3841, allocations: 45.7 kB / 0.529 GB, free: 19.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 3.347e-06/0.3841, allocations: 0 / 0.529 GB, free: 19.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.011/0.3951, allocations: 4.577 MB / 0.5334 GB, free: 17.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.3951, allocations: 141.1 kB / 0.5336 GB, free: 17.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003084/0.3982, allocations: 2.405 MB / 0.5359 GB, free: 16.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.813e-05/0.3983, allocations: 40.5 kB / 0.536 GB, free: 16.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008661/0.3992, allocations: 1.838 MB / 0.5377 GB, free: 15.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003263/0.3995, allocations: 480.6 kB / 0.5382 GB, free: 15.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008979/0.4004, allocations: 0.8371 MB / 0.539 GB, free: 14.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.4005, allocations: 358.1 kB / 0.5394 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/0.4022, allocations: 1.308 MB / 0.5406 GB, free: 14.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002436/0.4046, allocations: 3.921 MB / 0.5445 GB, free: 10.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00457/0.4092, allocations: 5.715 MB / 0.5501 GB, free: 5.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-05/0.4093, allocations: 23.78 kB / 0.5501 GB, free: 5.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.006159/0.4154, allocations: 5.048 MB / 0.555 GB, free: 3.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.465e-05/0.4155, allocations: 44.81 kB / 0.555 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008971/0.4164, allocations: 0.8424 MB / 0.5559 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001076/0.4165, allocations: 120.9 kB / 0.556 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/0.4189, allocations: 0.9513 MB / 0.5569 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001021/0.419, allocations: 183.3 kB / 0.5571 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/0.4214, allocations: 219.7 kB / 0.5573 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002638/0.4216, allocations: 252 kB / 0.5575 GB, free: 1.367 MB / 382.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.001186/0.4228, allocations: 1.215 MB / 0.5587 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003655/0.4232, allocations: 210.6 kB / 0.5589 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004814/0.4237, allocations: 263 kB / 0.5592 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001142/0.4248, allocations: 0.7928 MB / 0.5599 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.4248, allocations: 4 kB / 0.56 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.4248, allocations: 6.359 kB / 0.56 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00602/0.4308, allocations: 3.35 MB / 0.5632 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.4308, allocations: 4 kB / 0.5632 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007409/0.4316, allocations: 171.7 kB / 0.5634 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/0.4316, allocations: 8 kB / 0.5634 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.024e-05/0.4317, allocations: 24.38 kB / 0.5634 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/0.4317, allocations: 11.98 kB / 0.5634 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.4317, allocations: 11.94 kB / 0.5635 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.4338, allocations: 1.794 MB / 0.5652 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000851/0.4347, allocations: 391.5 kB / 0.5656 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/0.4349, allocations: 19.94 kB / 0.5656 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007364/0.4356, allocations: 59.92 kB / 0.5657 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.4358, allocations: 69.67 kB / 0.5657 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.191e-05/0.4358, allocations: 35.98 kB / 0.5658 GB, free: 8.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002049/0.4379, allocations: 1.478 MB / 0.5672 GB, free: 7.285 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4379, allocations: 0 / 0.5672 GB, free: 7.285 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002886/0.4408, allocations: 0.5456 MB / 0.5677 GB, free: 6.742 MB / 398.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.002743/0.4435, allocations: 2.452 MB / 0.5701 GB, free: 4.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004438/0.4479, allocations: 2.802 MB / 0.5729 GB, free: 1.453 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.448, allocations: 0 / 0.5729 GB, free: 1.453 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008469/0.4488, allocations: 0.5916 MB / 0.5734 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.4502, allocations: 196.6 kB / 0.5736 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03677/0.487, allocations: 25.75 MB / 0.5988 GB, free: 3.465 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001931/0.4889, allocations: 1.927 MB / 0.6007 GB, free: 1.512 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002985/0.4919, allocations: 1.447 MB / 0.6021 GB, free: 64 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/0.4931, allocations: 0.8537 MB / 0.6029 GB, free: 15.24 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4931, allocations: 3.391 kB / 0.6029 GB, free: 15.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07237/0.5655, allocations: 33.66 MB / 0.6358 GB, free: 13.86 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.5, allocations: 12.94 kB / 0.6358 GB, free: 13.85 MB / 478.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_CircleRoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_CircleRoads.fmu > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.039276253897697] Failed to read output from testmodel.py, exit status != 0: 13.619682418182492 13.638387554 13.503845753 Calling exit ...