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.001806/0.001806, allocations: 108.7 kB / 16.45 MB, free: 6.453 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.001644/0.001644, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.54/1.54, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.05269/0.05269, allocations: 8.074 MB / 316.9 MB, free: 12.45 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.002121/0.002121, allocations: 63.91 kB / 440.9 MB, free: 5.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1864, allocations: 55.19 MB / 496.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.009361/0.1958, allocations: 5.595 MB / 0.49 GB, free: 8.559 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005458/0.2012, allocations: 1.99 MB / 0.4919 GB, free: 6.562 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007402/0.202, allocations: 27.94 kB / 0.4919 GB, free: 6.535 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.2033, allocations: 441.9 kB / 0.4924 GB, free: 6.102 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001769/0.205, allocations: 0.7042 MB / 0.4931 GB, free: 5.395 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.2053, allocations: 91.77 kB / 0.4931 GB, free: 5.305 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002296/0.2076, allocations: 1.515 MB / 0.4946 GB, free: 3.785 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004877/0.2081, allocations: 262.1 kB / 0.4949 GB, free: 3.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008476/0.2089, allocations: 0.494 MB / 0.4954 GB, free: 3.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.21, allocations: 0.7939 MB / 0.4961 GB, free: 2.223 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001779/0.2102, allocations: 80 kB / 0.4962 GB, free: 2.145 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008551/0.211, allocations: 399.3 kB / 0.4966 GB, free: 1.754 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008206/0.2118, allocations: 0.7242 MB / 0.4973 GB, free: 1.027 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.213, allocations: 0.8533 MB / 0.4981 GB, free: 172 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004198/0.2172, allocations: 2.757 MB / 0.5008 GB, free: 13.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.2172, allocations: 0 / 0.5008 GB, free: 13.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.2172, allocations: 3.938 kB / 0.5008 GB, free: 13.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.23e-05/0.2172, allocations: 4 kB / 0.5008 GB, free: 13.39 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.004475/0.2217, allocations: 2.171 MB / 0.5029 GB, free: 11.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/0.2218, allocations: 8.031 kB / 0.503 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004722/0.2222, allocations: 373.6 kB / 0.5033 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005332/0.2276, allocations: 1.497 MB / 0.5048 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.2295, allocations: 0.8587 MB / 0.5056 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-05/0.2296, allocations: 82.03 kB / 0.5057 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007856/0.2303, allocations: 243.7 kB / 0.5059 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007663/0.238, allocations: 5.049 MB / 0.5109 GB, free: 2.523 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.865e-05/0.2381, allocations: 27.75 kB / 0.5109 GB, free: 2.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000211/0.2383, allocations: 67.78 kB / 0.5109 GB, free: 2.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002049/0.2403, allocations: 1.154 MB / 0.5121 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3485/0.5889, allocations: 4.284 MB / 0.5163 GB, free: 26.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01906/0.6079, allocations: 20.64 MB / 0.5364 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.6095, allocations: 1.282 MB / 0.5377 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005851/0.6101, allocations: 406.3 kB / 0.5381 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-05/0.6101, allocations: 6.438 kB / 0.5381 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.064e-05/0.6102, allocations: 46.33 kB / 0.5381 GB, free: 10.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=85): time 1.192e-05/0.6102, allocations: 1.438 kB / 0.5381 GB, free: 10.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.006276/0.6165, allocations: 4.074 MB / 0.5421 GB, free: 8.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.6165, allocations: 137.1 kB / 0.5422 GB, free: 8.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003512/0.62, allocations: 2.406 MB / 0.5446 GB, free: 7.277 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.261e-05/0.6201, allocations: 40.31 kB / 0.5446 GB, free: 7.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009471/0.621, allocations: 1.839 MB / 0.5464 GB, free: 5.789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002463/0.6213, allocations: 473.8 kB / 0.5469 GB, free: 5.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001032/0.6223, allocations: 0.8248 MB / 0.5477 GB, free: 5.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.928e-05/0.6224, allocations: 355 kB / 0.548 GB, free: 4.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/0.624, allocations: 1.283 MB / 0.5492 GB, free: 4.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002675/0.6267, allocations: 3.895 MB / 0.5531 GB, free: 40 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006762/0.6335, allocations: 5.667 MB / 0.5586 GB, free: 10.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.685e-05/0.6335, allocations: 33.62 kB / 0.5586 GB, free: 10.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.007905/0.6414, allocations: 4.973 MB / 0.5635 GB, free: 6.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.01e-05/0.6415, allocations: 44.22 kB / 0.5635 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001095/0.6426, allocations: 0.7659 MB / 0.5643 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001364/0.6428, allocations: 124 kB / 0.5644 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002645/0.6454, allocations: 0.9396 MB / 0.5653 GB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001604/0.6456, allocations: 183.3 kB / 0.5655 GB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/0.6478, allocations: 212.4 kB / 0.5657 GB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003578/0.6482, allocations: 260 kB / 0.5659 GB, free: 4.039 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.001614/0.6498, allocations: 1.208 MB / 0.5671 GB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004789/0.6503, allocations: 218.5 kB / 0.5673 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005125/0.6508, allocations: 263 kB / 0.5676 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009908/0.6518, allocations: 0.7111 MB / 0.5683 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.6518, allocations: 4 kB / 0.5683 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.6518, allocations: 4.484 kB / 0.5683 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005136/0.6569, allocations: 3.206 MB / 0.5714 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.6569, allocations: 8 kB / 0.5714 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004899/0.6574, allocations: 155.7 kB / 0.5716 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.651e-05/0.6575, allocations: 16 kB / 0.5716 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.386e-05/0.6575, allocations: 28 kB / 0.5716 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.51e-05/0.6575, allocations: 19.92 kB / 0.5716 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.501e-05/0.6575, allocations: 21.75 kB / 0.5716 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/0.6595, allocations: 1.719 MB / 0.5733 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003771/0.6599, allocations: 279.5 kB / 0.5736 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.6601, allocations: 27.98 kB / 0.5736 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006033/0.6607, allocations: 43.97 kB / 0.5736 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.6608, allocations: 87.55 kB / 0.5737 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/0.6609, allocations: 45.88 kB / 0.5738 GB, free: 11.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002119/0.663, allocations: 1.481 MB / 0.5752 GB, free: 10.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.663, allocations: 0 / 0.5752 GB, free: 10.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002589/0.6656, allocations: 0.5036 MB / 0.5757 GB, free: 9.676 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.002573/0.6682, allocations: 2.37 MB / 0.578 GB, free: 7.172 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003934/0.6721, allocations: 2.683 MB / 0.5806 GB, free: 4.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6721, allocations: 4.562 kB / 0.5807 GB, free: 4.516 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007875/0.6729, allocations: 0.5018 MB / 0.5811 GB, free: 4.016 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.6742, allocations: 202.2 kB / 0.5813 GB, free: 3.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03434/0.7086, allocations: 25.7 MB / 0.6064 GB, free: 6.516 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002117/0.7107, allocations: 1.916 MB / 0.6083 GB, free: 4.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003025/0.7137, allocations: 1.406 MB / 0.6097 GB, free: 3.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001324/0.715, allocations: 0.8429 MB / 0.6105 GB, free: 2.316 MB / 446.1 MB Notification: Performance of SimCode: time 1.933e-06/0.715, allocations: 0 / 0.6105 GB, free: 2.316 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08049/0.7955, allocations: 32.35 MB / 0.6421 GB, free: 2.242 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.33, allocations: 10.39 kB / 0.6421 GB, free: 2.238 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: 16.55190712500189] Failed to read output from testmodel.py, exit status != 0: 13.439973020998877 13.454352421 13.234230074 Calling exit ...