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.0008383/0.0008383, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001004/0.001004, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8498/0.8498, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.02442/0.02442, allocations: 6.197 MB / 265.4 MB, free: 7.297 MB / 250.7 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="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 1.804e-06/1.804e-06, allocations: 0 / 391 MB, free: 5.617 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.392e-05, allocations: 2.281 kB / 391 MB, free: 5.613 MB / 314.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.004447/0.004471, allocations: 4.97 MB / 396 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002614/0.007086, allocations: 1.939 MB / 397.9 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004241/0.00751, allocations: 23.94 kB / 398 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008359/0.008346, allocations: 430 kB / 398.4 MB, free: 14.22 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.009518, allocations: 0.7309 MB / 399.1 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.00979, allocations: 143.4 kB / 399.2 MB, free: 13.34 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.01104, allocations: 1.541 MB / 400.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003444/0.01138, allocations: 365.5 kB / 401.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005884/0.01197, allocations: 0.7401 MB / 401.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006346/0.01261, allocations: 0.7597 MB / 402.6 MB, free: 9.926 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.01273, allocations: 80 kB / 402.7 MB, free: 9.848 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004902/0.01322, allocations: 359.3 kB / 403.1 MB, free: 9.496 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005183/0.01373, allocations: 0.7436 MB / 403.8 MB, free: 8.75 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.01403, allocations: 426.2 kB / 404.2 MB, free: 8.332 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00176/0.01579, allocations: 2.685 MB / 406.9 MB, free: 5.637 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.01579, allocations: 0 / 406.9 MB, free: 5.637 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.01579, allocations: 0 / 406.9 MB, free: 5.637 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.821e-05/0.01583, allocations: 0 / 406.9 MB, free: 5.637 MB / 330.7 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.00219/0.01802, allocations: 2.092 MB / 409 MB, free: 3.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.01806, allocations: 8.031 kB / 409 MB, free: 3.492 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002656/0.01833, allocations: 381.5 kB / 409.4 MB, free: 3.109 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002629/0.02096, allocations: 1.509 MB / 410.9 MB, free: 1.598 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.02203, allocations: 0.8136 MB / 411.7 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.02207, allocations: 82.17 kB / 411.8 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004118/0.02248, allocations: 259.7 kB / 412 MB, free: 428 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1317/0.1542, allocations: 5.04 MB / 417.1 MB, free: 28.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-05/0.1543, allocations: 31.08 kB / 417.1 MB, free: 28.53 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.1544, allocations: 63.45 kB / 417.2 MB, free: 28.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001112/0.1555, allocations: 1.153 MB / 418.3 MB, free: 28.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005376/0.1609, allocations: 4.293 MB / 422.6 MB, free: 27.01 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01285/0.1737, allocations: 19.95 MB / 442.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009017/0.1746, allocations: 0.8305 MB / 443.4 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.1749, allocations: 411.4 kB / 443.8 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.1749, allocations: 8 kB / 443.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.175, allocations: 42.5 kB / 443.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=86): time 3.186e-06/0.175, allocations: 0 / 443.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=117): time 0.00562/0.1806, allocations: 4.519 MB / 448.4 MB, free: 6.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.1806, allocations: 143.6 kB / 448.5 MB, free: 6.102 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/0.1824, allocations: 2.547 MB / 451.1 MB, free: 3.566 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.275e-05/0.1825, allocations: 45.2 kB / 451.1 MB, free: 3.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004478/0.183, allocations: 1.802 MB / 452.9 MB, free: 1.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.1832, allocations: 477.1 kB / 453.4 MB, free: 1.273 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005186/0.1837, allocations: 0.8204 MB / 454.2 MB, free: 456 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.917e-05/0.1838, allocations: 353.9 kB / 454.5 MB, free: 96 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.185, allocations: 1.308 MB / 455.8 MB, free: 14.78 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002468/0.1875, allocations: 3.93 MB / 459.8 MB, free: 9.539 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004474/0.1919, allocations: 5.699 MB / 465.5 MB, free: 2.535 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.774e-05/0.192, allocations: 32 kB / 465.5 MB, free: 2.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.005291/0.1973, allocations: 5.048 MB / 470.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.1973, allocations: 44 kB / 470.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007566/0.1981, allocations: 0.8329 MB / 471.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.228e-05/0.1982, allocations: 131.9 kB / 471.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.1999, allocations: 0.9546 MB / 472.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001106/0.2001, allocations: 181.4 kB / 472.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.2015, allocations: 231.6 kB / 472.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002246/0.2018, allocations: 256 kB / 473.2 MB, free: 10.85 MB / 362.7 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.001195/0.203, allocations: 1.202 MB / 474.4 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002682/0.2032, allocations: 206.6 kB / 474.6 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.2035, allocations: 258.9 kB / 474.8 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007295/0.2042, allocations: 0.795 MB / 475.6 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.2042, allocations: 4 kB / 475.6 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.2042, allocations: 3.984 kB / 475.6 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003728/0.2079, allocations: 3.209 MB / 478.8 MB, free: 5.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.208, allocations: 4.5 kB / 478.8 MB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004013/0.2084, allocations: 171.7 kB / 479 MB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.2084, allocations: 4 kB / 479 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.853e-05/0.2084, allocations: 28.86 kB / 479 MB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.2084, allocations: 11.94 kB / 479.1 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.2084, allocations: 4 kB / 479.1 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.2102, allocations: 1.775 MB / 480.8 MB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004652/0.2106, allocations: 318.4 kB / 481.1 MB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.2107, allocations: 20.03 kB / 481.2 MB, free: 2.664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004231/0.2112, allocations: 60.8 kB / 481.2 MB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.619e-05/0.2112, allocations: 67.75 kB / 481.3 MB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.113e-05/0.2113, allocations: 42.66 kB / 481.3 MB, free: 2.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001453/0.2127, allocations: 1.474 MB / 482.8 MB, free: 1.008 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2127, allocations: 3.938 kB / 482.8 MB, free: 1.004 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001916/0.2147, allocations: 0.5271 MB / 483.3 MB, free: 488 kB / 362.7 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.001779/0.2164, allocations: 2.442 MB / 485.8 MB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003284/0.2197, allocations: 2.809 MB / 488.6 MB, free: 11.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.2197, allocations: 0 / 488.6 MB, free: 11.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005226/0.2203, allocations: 0.5916 MB / 489.2 MB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009756/0.2212, allocations: 187.7 kB / 489.4 MB, free: 10.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02343/0.2447, allocations: 25.56 MB / 0.5029 GB, free: 13.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/0.2457, allocations: 1.343 MB / 0.5042 GB, free: 11.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001853/0.2476, allocations: 1.45 MB / 0.5056 GB, free: 10.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000822/0.2484, allocations: 0.844 MB / 0.5064 GB, free: 9.691 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/0.2484, allocations: 0 / 0.5064 GB, free: 9.691 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0451/0.2935, allocations: 33.05 MB / 0.5387 GB, free: 9.09 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.264, allocations: 3.938 kB / 0.5387 GB, free: 9.086 MB / 442.7 MB " [Timeout remaining time 652] (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: 9.899534962140024] Failed to read output from testmodel.py, exit status != 0: 8.361521352082491 8.372452144 8.353177448 Calling exit ...