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.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.001252/0.001252, allocations: 107.8 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.001281/0.001281, 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.382/1.382, 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.04553/0.04553, allocations: 8.118 MB / 310.8 MB, free: 2.035 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_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.001935/0.001935, allocations: 63.89 kB / 432.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09576/0.0977, allocations: 54.04 MB / 486.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.007402/0.1051, allocations: 5.606 MB / 492.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003975/0.1091, allocations: 1.947 MB / 494 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005113/0.1096, allocations: 20 kB / 494 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.1106, allocations: 426 kB / 494.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.1123, allocations: 0.708 MB / 495.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.1126, allocations: 91.75 kB / 495.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002018/0.1146, allocations: 1.534 MB / 496.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004631/0.115, allocations: 270 kB / 497.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006476/0.1157, allocations: 0.4901 MB / 497.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.1167, allocations: 0.7977 MB / 498.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00019/0.1169, allocations: 80 kB / 498.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008132/0.1177, allocations: 407.3 kB / 498.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007114/0.1184, allocations: 0.7242 MB / 499.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008829/0.1193, allocations: 0.8728 MB / 0.4887 GB, free: 11.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003504/0.1228, allocations: 2.788 MB / 0.4914 GB, free: 8.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.1228, allocations: 4 kB / 0.4914 GB, free: 8.977 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1228, allocations: 4 kB / 0.4914 GB, free: 8.973 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.384e-05/0.1229, allocations: 0 / 0.4914 GB, free: 8.973 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.003943/0.1268, allocations: 2.202 MB / 0.4936 GB, free: 6.707 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.1269, allocations: 8.031 kB / 0.4936 GB, free: 6.699 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005694/0.1275, allocations: 369.6 kB / 0.4939 GB, free: 6.328 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004889/0.1324, allocations: 1.497 MB / 0.4954 GB, free: 4.828 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.1344, allocations: 0.8587 MB / 0.4962 GB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.123e-05/0.1344, allocations: 94.03 kB / 0.4963 GB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007403/0.1352, allocations: 255.7 kB / 0.4966 GB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007227/0.1424, allocations: 5.034 MB / 0.5015 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.873e-05/0.1425, allocations: 27.75 kB / 0.5015 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002101/0.1427, allocations: 63.84 kB / 0.5016 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001874/0.1446, allocations: 1.15 MB / 0.5027 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007429/0.152, allocations: 4.293 MB / 0.5069 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2144/0.3663, allocations: 20.63 MB / 0.527 GB, free: 20.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.3679, allocations: 1.288 MB / 0.5283 GB, free: 19.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005194/0.3684, allocations: 411.5 kB / 0.5287 GB, free: 19.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.3685, allocations: 12.59 kB / 0.5287 GB, free: 19.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.3685, allocations: 39.03 kB / 0.5287 GB, free: 19.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=85): time 3.026e-06/0.3685, allocations: 1.375 kB / 0.5287 GB, free: 19.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.006214/0.3747, allocations: 4.072 MB / 0.5327 GB, free: 17.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.3748, allocations: 138.7 kB / 0.5328 GB, free: 17.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003534/0.3783, allocations: 2.405 MB / 0.5352 GB, free: 16.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.3784, allocations: 36.14 kB / 0.5352 GB, free: 16.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.3794, allocations: 1.845 MB / 0.537 GB, free: 15.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003666/0.3798, allocations: 470.5 kB / 0.5375 GB, free: 15.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000919/0.3807, allocations: 0.8307 MB / 0.5383 GB, free: 14.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3808, allocations: 353.3 kB / 0.5386 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.3826, allocations: 1.282 MB / 0.5399 GB, free: 14.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002605/0.3852, allocations: 3.9 MB / 0.5437 GB, free: 10.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004612/0.3898, allocations: 5.659 MB / 0.5492 GB, free: 5.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-05/0.3898, allocations: 26.12 kB / 0.5492 GB, free: 5.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.006047/0.3959, allocations: 4.972 MB / 0.5541 GB, free: 3.375 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.584e-05/0.396, allocations: 50.81 kB / 0.5541 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007385/0.3967, allocations: 0.7676 MB / 0.5549 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.684e-05/0.3968, allocations: 121.1 kB / 0.555 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/0.399, allocations: 0.9411 MB / 0.5559 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.401e-05/0.3991, allocations: 187.5 kB / 0.5561 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/0.4014, allocations: 229.3 kB / 0.5563 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002379/0.4016, allocations: 254.5 kB / 0.5566 GB, free: 2.277 MB / 382.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.001133/0.4028, allocations: 1.202 MB / 0.5577 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002725/0.403, allocations: 210.5 kB / 0.5579 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003788/0.4034, allocations: 263.1 kB / 0.5582 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007179/0.4041, allocations: 0.711 MB / 0.5589 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.4041, allocations: 6.375 kB / 0.5589 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.4041, allocations: 7.984 kB / 0.5589 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00557/0.4097, allocations: 3.2 MB / 0.562 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/0.4097, allocations: 11.84 kB / 0.562 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000522/0.4103, allocations: 159.7 kB / 0.5622 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.796e-05/0.4103, allocations: 16 kB / 0.5622 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/0.4103, allocations: 24 kB / 0.5622 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.777e-05/0.4103, allocations: 20.52 kB / 0.5622 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-05/0.4104, allocations: 23.88 kB / 0.5623 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.4124, allocations: 1.732 MB / 0.564 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000521/0.413, allocations: 279.5 kB / 0.5642 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.4131, allocations: 31.98 kB / 0.5643 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006074/0.4137, allocations: 47.95 kB / 0.5643 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.4139, allocations: 79.69 kB / 0.5644 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.414, allocations: 50.91 kB / 0.5644 GB, free: 10.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002066/0.416, allocations: 1.474 MB / 0.5659 GB, free: 8.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.416, allocations: 4 kB / 0.5659 GB, free: 8.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002911/0.4189, allocations: 0.5155 MB / 0.5664 GB, free: 8.004 MB / 398.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.002642/0.4216, allocations: 2.386 MB / 0.5687 GB, free: 5.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004894/0.4265, allocations: 2.681 MB / 0.5713 GB, free: 2.832 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/0.4265, allocations: 0 / 0.5713 GB, free: 2.832 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007434/0.4272, allocations: 0.4981 MB / 0.5718 GB, free: 2.336 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.4289, allocations: 206 kB / 0.572 GB, free: 2.133 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03658/0.4655, allocations: 25.71 MB / 0.5971 GB, free: 4.836 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001977/0.4675, allocations: 1.912 MB / 0.599 GB, free: 2.895 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002987/0.4705, allocations: 1.417 MB / 0.6004 GB, free: 1.477 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/0.4716, allocations: 0.8468 MB / 0.6012 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4716, allocations: 0 / 0.6012 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06984/0.5414, allocations: 32.42 MB / 0.6328 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.55, allocations: 11.17 kB / 0.6329 GB, free: 0.5078 MB / 462.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: 16.066449756734073] Failed to read output from testmodel.py, exit status != 0: 13.645505987107754 13.669519888 13.542108287 Calling exit ...