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.001384/0.001384, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001814/0.001814, allocations: 220.3 kB / 23.03 MB, free: 4.941 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.05007/0.05007, allocations: 8.095 MB / 321.3 MB, free: 11.2 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_CircleRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_CircleRoads",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_CircleRoads",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 59.91 kB / 446.9 MB, free: 1.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1041, allocations: 55.24 MB / 0.4903 GB, free: 10.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.006703/0.1108, allocations: 4.94 MB / 0.4952 GB, free: 5.375 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003943/0.1148, allocations: 1.928 MB / 0.497 GB, free: 3.441 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006316/0.1154, allocations: 27.88 kB / 0.4971 GB, free: 3.414 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.1166, allocations: 418.1 kB / 0.4975 GB, free: 3.004 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.1183, allocations: 0.7236 MB / 0.4982 GB, free: 2.277 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.1187, allocations: 127.6 kB / 0.4983 GB, free: 2.152 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002119/0.1208, allocations: 1.518 MB / 0.4998 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006487/0.1215, allocations: 361.5 kB / 0.5001 GB, free: 272 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008585/0.1223, allocations: 0.5018 MB / 0.5006 GB, free: 15.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.1235, allocations: 0.8016 MB / 0.5014 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002798/0.1238, allocations: 80 kB / 0.5015 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007858/0.1246, allocations: 339.4 kB / 0.5018 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008044/0.1254, allocations: 0.7086 MB / 0.5025 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009821/0.1264, allocations: 0.597 MB / 0.5031 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003884/0.1303, allocations: 2.78 MB / 0.5058 GB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1303, allocations: 0 / 0.5058 GB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1303, allocations: 0 / 0.5058 GB, free: 10.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001231/0.1304, allocations: 4 kB / 0.5058 GB, free: 10.44 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: 764 * Number of variables: 764 Notification: Performance of Generate backend data structure: time 0.00462/0.135, allocations: 2.096 MB / 0.5078 GB, free: 8.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.1351, allocations: 12.03 kB / 0.5078 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.054e-05/0.1351, allocations: 42.33 kB / 0.5079 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006926/0.1358, allocations: 373.6 kB / 0.5082 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005081/0.1409, allocations: 1.493 MB / 0.5097 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/0.1426, allocations: 0.8098 MB / 0.5105 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.192e-05/0.1427, allocations: 85.98 kB / 0.5106 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008458/0.1436, allocations: 251.7 kB / 0.5108 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2205/0.3641, allocations: 5.05 MB / 0.5157 GB, free: 24.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.86e-05/0.3641, allocations: 30.94 kB / 0.5158 GB, free: 24.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002125/0.3643, allocations: 61.72 kB / 0.5158 GB, free: 24.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001582/0.3659, allocations: 1.152 MB / 0.517 GB, free: 24.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006397/0.3723, allocations: 4.295 MB / 0.5212 GB, free: 24.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01607/0.3884, allocations: 19.92 MB / 0.5406 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.3897, allocations: 0.8339 MB / 0.5414 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004753/0.3902, allocations: 411.5 kB / 0.5418 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.3902, allocations: 10.31 kB / 0.5418 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.3903, allocations: 43.7 kB / 0.5419 GB, free: 8.984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 2.915e-06/0.3903, allocations: 0 / 0.5419 GB, free: 8.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01193/0.4022, allocations: 4.514 MB / 0.5463 GB, free: 7.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.4023, allocations: 137.8 kB / 0.5464 GB, free: 6.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002636/0.4049, allocations: 2.396 MB / 0.5487 GB, free: 6.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.206e-05/0.4049, allocations: 36.08 kB / 0.5488 GB, free: 6.039 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007335/0.4057, allocations: 1.836 MB / 0.5506 GB, free: 4.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/0.406, allocations: 487.1 kB / 0.551 GB, free: 4.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000897/0.4069, allocations: 0.8377 MB / 0.5519 GB, free: 3.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.907e-05/0.4069, allocations: 354.5 kB / 0.5522 GB, free: 3.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/0.4085, allocations: 1.308 MB / 0.5535 GB, free: 3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002549/0.4111, allocations: 3.927 MB / 0.5573 GB, free: 14.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006213/0.4173, allocations: 5.707 MB / 0.5629 GB, free: 8.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.445e-05/0.4173, allocations: 24 kB / 0.5629 GB, free: 8.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.008595/0.4259, allocations: 5.05 MB / 0.5678 GB, free: 3.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.133e-05/0.426, allocations: 48 kB / 0.5679 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001261/0.4273, allocations: 0.8324 MB / 0.5687 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001639/0.4274, allocations: 126.2 kB / 0.5688 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002945/0.4304, allocations: 0.9513 MB / 0.5697 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001679/0.4306, allocations: 186.6 kB / 0.5699 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002499/0.4331, allocations: 225.7 kB / 0.5701 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000441/0.4335, allocations: 256 kB / 0.5704 GB, free: 0.9961 MB / 398.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.001857/0.4354, allocations: 1.207 MB / 0.5716 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005393/0.4359, allocations: 206.6 kB / 0.5718 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005644/0.4365, allocations: 266.9 kB / 0.572 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001272/0.4377, allocations: 0.7923 MB / 0.5728 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.4377, allocations: 0 / 0.5728 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.4378, allocations: 7.984 kB / 0.5728 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006323/0.4441, allocations: 3.17 MB / 0.5759 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.4441, allocations: 4 kB / 0.5759 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007649/0.4449, allocations: 175.7 kB / 0.5761 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-05/0.4449, allocations: 10.22 kB / 0.5761 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.743e-05/0.4449, allocations: 31.89 kB / 0.5761 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-05/0.445, allocations: 12.75 kB / 0.5761 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/0.445, allocations: 4 kB / 0.5761 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/0.4475, allocations: 1.787 MB / 0.5779 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008602/0.4484, allocations: 314.4 kB / 0.5782 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003318/0.4487, allocations: 23.98 kB / 0.5782 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007882/0.4495, allocations: 54.59 kB / 0.5782 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.4496, allocations: 71.39 kB / 0.5783 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.08e-05/0.4497, allocations: 35.98 kB / 0.5783 GB, free: 8.699 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002343/0.4521, allocations: 1.481 MB / 0.5798 GB, free: 7.199 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4521, allocations: 0 / 0.5798 GB, free: 7.199 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003002/0.4551, allocations: 0.5293 MB / 0.5803 GB, free: 6.672 MB / 414.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.002848/0.4579, allocations: 2.445 MB / 0.5827 GB, free: 4.156 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004518/0.4624, allocations: 2.819 MB / 0.5854 GB, free: 1.359 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.4624, allocations: 192 / 0.5854 GB, free: 1.359 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008819/0.4633, allocations: 0.5891 MB / 0.586 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.4648, allocations: 188.6 kB / 0.5862 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03531/0.5001, allocations: 25.74 MB / 0.6113 GB, free: 3.375 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001734/0.5018, allocations: 1.352 MB / 0.6127 GB, free: 1.988 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003028/0.5048, allocations: 1.442 MB / 0.6141 GB, free: 0.543 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/0.5061, allocations: 0.8508 MB / 0.6149 GB, free: 15.69 MB / 462.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5061, allocations: 0 / 0.6149 GB, free: 15.69 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07051/0.5766, allocations: 34.67 MB / 0.6487 GB, free: 13.54 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/14.78, allocations: 3.938 kB / 0.6487 GB, free: 13.53 MB / 494.1 MB " [Timeout remaining time 645] (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: 17.53766040399205] Failed to read output from testmodel.py, exit status != 0: 14.955688882037066 14.97763859 14.843285743 Calling exit ...