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.00123/0.00123, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009563/0.0009563, allocations: 165.9 kB / 22.45 MB, free: 2.117 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.8557/0.8557, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.02431/0.02431, allocations: 6.193 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_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 1.673e-06/1.673e-06, allocations: 3.938 kB / 391 MB, free: 5.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.045e-05, allocations: 2.281 kB / 391 MB, free: 5.594 MB / 314.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.004393/0.004414, allocations: 4.998 MB / 396 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002825/0.007238, allocations: 1.869 MB / 397.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004361/0.007674, allocations: 19.94 kB / 397.9 MB, free: 14.67 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000797/0.008471, allocations: 430 kB / 398.3 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.009509, allocations: 0.7375 MB / 399.1 MB, free: 13.51 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.009696, allocations: 103.6 kB / 399.2 MB, free: 13.41 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.01081, allocations: 1.538 MB / 400.7 MB, free: 11.87 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003782/0.01118, allocations: 373.3 kB / 401.1 MB, free: 11.49 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005815/0.01177, allocations: 0.7129 MB / 401.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006423/0.01241, allocations: 0.7596 MB / 402.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.01251, allocations: 84 kB / 402.6 MB, free: 9.934 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004375/0.01295, allocations: 327.4 kB / 402.9 MB, free: 9.613 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000398/0.01335, allocations: 0.7437 MB / 403.7 MB, free: 8.867 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.01363, allocations: 422.2 kB / 404.1 MB, free: 8.453 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.01539, allocations: 2.662 MB / 406.8 MB, free: 5.781 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.01539, allocations: 0 / 406.8 MB, free: 5.781 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.01539, allocations: 0 / 406.8 MB, free: 5.781 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.331e-05/0.01543, allocations: 0 / 406.8 MB, free: 5.781 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: 763 * Number of variables: 763 Notification: Performance of Generate backend data structure: time 0.002321/0.01775, allocations: 2.092 MB / 408.9 MB, free: 3.645 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.01779, allocations: 8.031 kB / 408.9 MB, free: 3.637 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002855/0.01807, allocations: 373.5 kB / 409.2 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002479/0.02055, allocations: 1.513 MB / 410.7 MB, free: 1.746 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.02165, allocations: 0.8058 MB / 411.5 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.397e-05/0.02171, allocations: 94.09 kB / 411.6 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004497/0.02216, allocations: 251.7 kB / 411.9 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1364/0.1586, allocations: 5.038 MB / 416.9 MB, free: 28.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.195e-05/0.1586, allocations: 29.56 kB / 416.9 MB, free: 28.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/0.1588, allocations: 60.36 kB / 417 MB, free: 28.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001158/0.1599, allocations: 1.152 MB / 418.2 MB, free: 28.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005963/0.1659, allocations: 4.299 MB / 422.5 MB, free: 27.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01392/0.1798, allocations: 19.93 MB / 442.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009326/0.1808, allocations: 0.8288 MB / 443.2 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003466/0.1811, allocations: 407.7 kB / 443.6 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.1811, allocations: 8.656 kB / 443.6 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.1811, allocations: 50.25 kB / 443.7 MB, free: 10.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=85): time 3.236e-06/0.1811, allocations: 0 / 443.7 MB, free: 10.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=114): time 0.003446/0.1846, allocations: 3.996 MB / 447.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.1846, allocations: 144.5 kB / 447.8 MB, free: 6.785 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/0.1865, allocations: 2.555 MB / 450.4 MB, free: 4.246 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.332e-05/0.1866, allocations: 33.7 kB / 450.4 MB, free: 4.207 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000465/0.1871, allocations: 1.814 MB / 452.2 MB, free: 2.406 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.1872, allocations: 474.5 kB / 452.7 MB, free: 1.957 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005089/0.1878, allocations: 0.802 MB / 453.5 MB, free: 1.148 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.243e-05/0.1878, allocations: 361.9 kB / 453.8 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.1889, allocations: 1.278 MB / 455.1 MB, free: 15.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002445/0.1914, allocations: 3.904 MB / 459 MB, free: 10.29 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004434/0.1958, allocations: 5.654 MB / 464.7 MB, free: 3.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.791e-05/0.1959, allocations: 28 kB / 464.7 MB, free: 3.312 MB / 346.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.005494/0.2014, allocations: 4.976 MB / 469.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.966e-05/0.2014, allocations: 46.66 kB / 469.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006913/0.2021, allocations: 0.7634 MB / 470.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.319e-05/0.2022, allocations: 128 kB / 470.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.2038, allocations: 0.9396 MB / 471.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001008/0.2039, allocations: 183.9 kB / 471.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.2053, allocations: 228.1 kB / 471.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002287/0.2055, allocations: 256 kB / 472.2 MB, free: 11.81 MB / 362.7 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.001224/0.2068, allocations: 1.196 MB / 473.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002801/0.207, allocations: 206.6 kB / 473.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.2073, allocations: 267 kB / 473.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008556/0.2082, allocations: 0.7208 MB / 474.6 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.2082, allocations: 3.938 kB / 474.6 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.2082, allocations: 3.984 kB / 474.6 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003675/0.2119, allocations: 3.07 MB / 477.7 MB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.2119, allocations: 8 kB / 477.7 MB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002907/0.2122, allocations: 159.7 kB / 477.8 MB, free: 5.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/0.2122, allocations: 19.98 kB / 477.8 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/0.2122, allocations: 28.64 kB / 477.9 MB, free: 5.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/0.2122, allocations: 16.44 kB / 477.9 MB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.2122, allocations: 19.94 kB / 477.9 MB, free: 5.914 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.2135, allocations: 1.701 MB / 479.6 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003444/0.2138, allocations: 206.4 kB / 479.8 MB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.2139, allocations: 28.88 kB / 479.8 MB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/0.2143, allocations: 51.94 kB / 479.9 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/0.2144, allocations: 87.64 kB / 480 MB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.646e-05/0.2145, allocations: 40 kB / 480 MB, free: 3.672 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001655/0.2161, allocations: 1.474 MB / 481.5 MB, free: 2.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2161, allocations: 3.938 kB / 481.5 MB, free: 2.176 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001984/0.2181, allocations: 0.5116 MB / 482 MB, free: 1.664 MB / 362.7 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.001719/0.2198, allocations: 2.355 MB / 484.4 MB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003015/0.2228, allocations: 2.684 MB / 487 MB, free: 12.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.2228, allocations: 8 kB / 487 MB, free: 12.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004518/0.2233, allocations: 0.4902 MB / 487.5 MB, free: 12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.2243, allocations: 212 kB / 487.7 MB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02546/0.2498, allocations: 25.5 MB / 0.5012 GB, free: 14.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/0.2513, allocations: 1.353 MB / 0.5025 GB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00182/0.2532, allocations: 1.406 MB / 0.5039 GB, free: 11.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007897/0.2539, allocations: 0.844 MB / 0.5047 GB, free: 11.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.423e-06/0.2539, allocations: 0 / 0.5047 GB, free: 11.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0443/0.2982, allocations: 31.69 MB / 0.5357 GB, free: 11.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.325, allocations: 15.3 kB / 0.5357 GB, free: 11.79 MB / 442.7 MB " [Timeout remaining time 652] (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: 9.95838762074709] Failed to read output from testmodel.py, exit status != 0: 8.420835670083761 8.430527644 8.412860962 Calling exit ...