Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.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.0007165/0.0007165, 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.0007491/0.0007491, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8103/0.8103, allocations: 177.2 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.02368/0.02368, allocations: 6.198 MB / 265.4 MB, free: 7.309 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.CheckContactCalculation,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckContactCalculation,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 391 MB, free: 5.617 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.858e-05, allocations: 6.281 kB / 391 MB, free: 5.609 MB / 314.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.004099/0.004118, allocations: 5.029 MB / 396.1 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.006385, allocations: 1.912 MB / 398 MB, free: 14.63 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002867/0.006672, allocations: 23.88 kB / 398 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007107/0.007383, allocations: 429.9 kB / 398.4 MB, free: 14.19 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009415/0.008324, allocations: 0.7503 MB / 399.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.008523, allocations: 119.5 kB / 399.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.009683, allocations: 1.599 MB / 400.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00043/0.01011, allocations: 381.4 kB / 401.2 MB, free: 11.33 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006724/0.01079, allocations: 0.7519 MB / 402 MB, free: 10.58 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006906/0.01148, allocations: 0.8181 MB / 402.8 MB, free: 9.758 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.01161, allocations: 92 kB / 402.9 MB, free: 9.668 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004395/0.01204, allocations: 323.4 kB / 403.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005805/0.01263, allocations: 0.7398 MB / 404 MB, free: 8.609 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002774/0.0129, allocations: 434.2 kB / 404.4 MB, free: 8.184 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.01471, allocations: 2.756 MB / 407.1 MB, free: 5.418 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.01471, allocations: 0 / 407.1 MB, free: 5.418 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01471, allocations: 0 / 407.1 MB, free: 5.418 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.223e-05/0.01474, allocations: 0 / 407.1 MB, free: 5.418 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: 754 * Number of variables: 754 Notification: Performance of Generate backend data structure: time 0.001878/0.01662, allocations: 2.068 MB / 409.2 MB, free: 3.305 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.01665, allocations: 8.031 kB / 409.2 MB, free: 3.297 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002478/0.0169, allocations: 373.3 kB / 409.6 MB, free: 2.922 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003804/0.02071, allocations: 1.793 MB / 411.4 MB, free: 1.125 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.02194, allocations: 0.8565 MB / 412.2 MB, free: 244 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.791e-05/0.02199, allocations: 86.12 kB / 412.3 MB, free: 156 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/0.02219, allocations: 103.9 kB / 412.4 MB, free: 52 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1376/0.1598, allocations: 5.105 MB / 417.5 MB, free: 28.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/0.1598, allocations: 24.75 kB / 417.5 MB, free: 28.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.1599, allocations: 58.48 kB / 417.6 MB, free: 28.56 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001506/0.1614, allocations: 1.227 MB / 418.8 MB, free: 28.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005725/0.1672, allocations: 4.469 MB / 423.3 MB, free: 26.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01328/0.1804, allocations: 19.91 MB / 443.2 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.1815, allocations: 1.136 MB / 444.3 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005549/0.1821, allocations: 0.6903 MB / 445 MB, free: 9.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.328e-05/0.1822, allocations: 12 kB / 445 MB, free: 9.508 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.1822, allocations: 50.12 kB / 445.1 MB, free: 9.453 MB / 330.7 MB Notification: Performance of pre-optimization done (n=96): time 3.406e-06/0.1822, allocations: 3.062 kB / 445.1 MB, free: 9.453 MB / 330.7 MB Notification: Performance of matching and sorting (n=96): time 0.02788/0.2101, allocations: 12.49 MB / 457.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.2101, allocations: 136.5 kB / 457.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002387/0.2125, allocations: 2.555 MB / 460.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001508/0.2127, allocations: 41.73 kB / 460.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008434/0.2135, allocations: 1.782 MB / 462.1 MB, free: 8.559 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003405/0.2139, allocations: 407.8 kB / 462.5 MB, free: 8.168 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006533/0.2145, allocations: 0.7937 MB / 463.3 MB, free: 7.367 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.2146, allocations: 357.6 kB / 463.6 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/0.2159, allocations: 1.343 MB / 465 MB, free: 5.668 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002436/0.2184, allocations: 3.953 MB / 468.9 MB, free: 408 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004729/0.2231, allocations: 5.671 MB / 474.6 MB, free: 9.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.426e-05/0.2232, allocations: 28 kB / 474.6 MB, free: 9.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.03229/0.2554, allocations: 14.61 MB / 489.2 MB, free: 10.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.987e-05/0.2555, allocations: 46.66 kB / 489.3 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.696e-05/0.2556, allocations: 99.94 kB / 489.4 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002552/0.2581, allocations: 1.449 MB / 490.8 MB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.2597, allocations: 0.8733 MB / 491.7 MB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.2614, allocations: 1.909 MB / 493.6 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/0.2634, allocations: 0.6089 MB / 494.2 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003684/0.2638, allocations: 257.5 kB / 494.5 MB, free: 5.512 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (476): * Single equations (assignments): 471 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.001218/0.265, allocations: 1.162 MB / 495.6 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.2653, allocations: 202.7 kB / 495.8 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002757/0.268, allocations: 1.87 MB / 497.7 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000294/0.2683, allocations: 107.8 kB / 497.8 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.2683, allocations: 3.938 kB / 497.8 MB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.2683, allocations: 7.922 kB / 497.8 MB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00531/0.2736, allocations: 3.67 MB / 0.4897 GB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.2736, allocations: 0 / 0.4897 GB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.2739, allocations: 83.83 kB / 0.4898 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002109/0.276, allocations: 1.343 MB / 0.4911 GB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-05/0.2761, allocations: 18.36 kB / 0.4911 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/0.2778, allocations: 1.736 MB / 0.4928 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2779, allocations: 0 / 0.4928 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002346/0.2802, allocations: 2.298 MB / 0.4951 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005314/0.2807, allocations: 326.2 kB / 0.4954 GB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.2808, allocations: 8 kB / 0.4954 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/0.2813, allocations: 71.88 kB / 0.4955 GB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.2813, allocations: 39.92 kB / 0.4955 GB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.724e-05/0.2814, allocations: 24 kB / 0.4955 GB, free: 8.426 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001471/0.2828, allocations: 1.482 MB / 0.497 GB, free: 6.926 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2828, allocations: 0 / 0.497 GB, free: 6.926 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001775/0.2846, allocations: 0.585 MB / 0.4975 GB, free: 6.34 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (53): * Single equations (assignments): 48 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002914/0.2875, allocations: 2.938 MB / 0.5004 GB, free: 3.371 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003812/0.2913, allocations: 2.942 MB / 0.5033 GB, free: 464 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2913, allocations: 0 / 0.5033 GB, free: 464 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007601/0.2921, allocations: 0.716 MB / 0.504 GB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009079/0.293, allocations: 192.5 kB / 0.5042 GB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07598/0.369, allocations: 44.9 MB / 0.548 GB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009909/0.37, allocations: 1.269 MB / 0.5493 GB, free: 13.95 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0019/0.3719, allocations: 1.271 MB / 0.5505 GB, free: 12.67 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007081/0.3726, allocations: 0.7854 MB / 0.5513 GB, free: 11.89 MB / 458.7 MB Notification: Performance of SimCode: time 1.392e-06/0.3726, allocations: 0 / 0.5513 GB, free: 11.89 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1715/0.5441, allocations: 37.45 MB / 0.5878 GB, free: 156.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.3/8.844, allocations: 4.844 kB / 0.5879 GB, free: 156.3 MB / 474.7 MB " [Timeout remaining time 651] (rm -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation_fmu --startTime=0 --stopTime=6.2 --stepSize=0.00248 --timeout=50 --tolerance=1e-06 VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation.fmu > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.443670564331114] Failed to read output from testmodel.py, exit status != 0: 8.947286670096219 8.955630823 8.939655209 Calling exit ...