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.001633/0.001633, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002222/0.002222, allocations: 217.8 kB / 23.04 MB, free: 5.078 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.04735/0.04735, allocations: 8.101 MB / 321.3 MB, free: 11.29 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="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.001889/0.001889, allocations: 64.05 kB / 446.9 MB, free: 1.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1086, allocations: 55.25 MB / 0.4904 GB, free: 10.56 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.007821/0.1164, allocations: 5.611 MB / 0.4959 GB, free: 4.918 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004167/0.1206, allocations: 2.013 MB / 0.4979 GB, free: 2.898 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004958/0.1211, allocations: 23.94 kB / 0.4979 GB, free: 2.875 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.1222, allocations: 434.1 kB / 0.4983 GB, free: 2.449 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.1238, allocations: 0.7158 MB / 0.499 GB, free: 1.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.1241, allocations: 95.77 kB / 0.4991 GB, free: 1.637 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001871/0.1259, allocations: 1.511 MB / 0.5006 GB, free: 124 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005511/0.1265, allocations: 361.5 kB / 0.5009 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007412/0.1272, allocations: 0.4979 MB / 0.5014 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.1284, allocations: 0.79 MB / 0.5022 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002042/0.1286, allocations: 80 kB / 0.5022 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008155/0.1294, allocations: 411.2 kB / 0.5026 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007493/0.1301, allocations: 0.7124 MB / 0.5033 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009075/0.1311, allocations: 0.8573 MB / 0.5042 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003202/0.1343, allocations: 2.761 MB / 0.5069 GB, free: 9.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1343, allocations: 0 / 0.5069 GB, free: 9.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1343, allocations: 0 / 0.5069 GB, free: 9.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.92e-05/0.1343, allocations: 0 / 0.5069 GB, free: 9.629 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.003792/0.1381, allocations: 2.092 MB / 0.5089 GB, free: 7.492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1381, allocations: 12.03 kB / 0.5089 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.834e-05/0.1382, allocations: 46.25 kB / 0.509 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004092/0.1386, allocations: 373.6 kB / 0.5093 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005142/0.1437, allocations: 1.493 MB / 0.5108 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.1453, allocations: 0.8059 MB / 0.5116 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.1455, allocations: 86.03 kB / 0.5116 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007219/0.1462, allocations: 243.8 kB / 0.5119 GB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2119/0.3581, allocations: 5.043 MB / 0.5168 GB, free: 24.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.501e-05/0.3581, allocations: 26.44 kB / 0.5168 GB, free: 24.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002067/0.3584, allocations: 60.91 kB / 0.5169 GB, free: 24.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001675/0.36, allocations: 1.153 MB / 0.518 GB, free: 24.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007481/0.3675, allocations: 4.288 MB / 0.5222 GB, free: 24.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01871/0.3862, allocations: 20.57 MB / 0.5423 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.3876, allocations: 0.8288 MB / 0.5431 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004708/0.388, allocations: 411.1 kB / 0.5435 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.3881, allocations: 6.031 kB / 0.5435 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.3881, allocations: 49.83 kB / 0.5435 GB, free: 8.566 MB / 382.1 MB Notification: Performance of pre-optimization done (n=85): time 3.236e-06/0.3881, allocations: 1.422 kB / 0.5435 GB, free: 8.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.005141/0.3932, allocations: 4.01 MB / 0.5475 GB, free: 6.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.3933, allocations: 143.9 kB / 0.5476 GB, free: 6.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/0.3959, allocations: 2.39 MB / 0.5499 GB, free: 5.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.682e-05/0.396, allocations: 36.36 kB / 0.55 GB, free: 5.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007037/0.3967, allocations: 1.841 MB / 0.5518 GB, free: 4.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.3969, allocations: 474.6 kB / 0.5522 GB, free: 3.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008576/0.3978, allocations: 0.8299 MB / 0.553 GB, free: 3.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.241e-05/0.3979, allocations: 355.5 kB / 0.5534 GB, free: 2.812 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/0.3993, allocations: 1.273 MB / 0.5546 GB, free: 2.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002937/0.4023, allocations: 3.907 MB / 0.5584 GB, free: 13.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006162/0.4084, allocations: 5.656 MB / 0.5639 GB, free: 8.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.582e-05/0.4085, allocations: 29.19 kB / 0.564 GB, free: 8.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.009472/0.418, allocations: 4.971 MB / 0.5688 GB, free: 3.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.625e-05/0.4181, allocations: 44 kB / 0.5689 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001264/0.4194, allocations: 0.7669 MB / 0.5696 GB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000149/0.4195, allocations: 124 kB / 0.5697 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003034/0.4225, allocations: 0.9403 MB / 0.5707 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001675/0.4227, allocations: 187.2 kB / 0.5708 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002682/0.4254, allocations: 218 kB / 0.571 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004356/0.4258, allocations: 264 kB / 0.5713 GB, free: 1.074 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.001841/0.4277, allocations: 1.197 MB / 0.5725 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004369/0.4281, allocations: 210.6 kB / 0.5727 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000508/0.4286, allocations: 263.6 kB / 0.5729 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001062/0.4297, allocations: 0.719 MB / 0.5736 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.4297, allocations: 3.938 kB / 0.5736 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.4297, allocations: 3.984 kB / 0.5736 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005331/0.435, allocations: 3.186 MB / 0.5767 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.671e-05/0.4351, allocations: 12 kB / 0.5768 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005224/0.4356, allocations: 157.5 kB / 0.5769 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.851e-05/0.4356, allocations: 12.81 kB / 0.5769 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.003e-05/0.4357, allocations: 24 kB / 0.5769 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.787e-05/0.4357, allocations: 23.92 kB / 0.577 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.6e-05/0.4357, allocations: 15.94 kB / 0.577 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/0.4378, allocations: 1.725 MB / 0.5787 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003964/0.4382, allocations: 206.4 kB / 0.5789 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.4384, allocations: 27.98 kB / 0.5789 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006276/0.439, allocations: 47.78 kB / 0.5789 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.4391, allocations: 83.66 kB / 0.579 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.912e-05/0.4392, allocations: 43.98 kB / 0.5791 GB, free: 8.832 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002094/0.4413, allocations: 1.474 MB / 0.5805 GB, free: 7.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4413, allocations: 0 / 0.5805 GB, free: 7.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003088/0.4444, allocations: 0.5077 MB / 0.581 GB, free: 6.832 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.002593/0.447, allocations: 2.386 MB / 0.5833 GB, free: 4.301 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004395/0.4514, allocations: 2.681 MB / 0.5859 GB, free: 1.641 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.4514, allocations: 0 / 0.5859 GB, free: 1.641 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007245/0.4521, allocations: 0.4943 MB / 0.5864 GB, free: 1.148 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.4536, allocations: 200.5 kB / 0.5866 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03914/0.4928, allocations: 25.69 MB / 0.6117 GB, free: 3.656 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001973/0.4947, allocations: 1.916 MB / 0.6136 GB, free: 1.715 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002949/0.4977, allocations: 1.424 MB / 0.615 GB, free: 296 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/0.4989, allocations: 0.8391 MB / 0.6158 GB, free: 15.44 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4989, allocations: 7.938 kB / 0.6158 GB, free: 15.43 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07434/0.5733, allocations: 35.81 MB / 0.6508 GB, free: 11.87 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/15.04, allocations: 13.75 kB / 0.6508 GB, free: 11.86 MB / 494.1 MB " [Timeout remaining time 645] (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: 17.877423444995657] Failed to read output from testmodel.py, exit status != 0: 15.22532492002938 15.23976124 15.102578186 Calling exit ...