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.001496/0.001496, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.001927/0.001927, allocations: 220 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.59/1.59, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.04675/0.04675, allocations: 8.102 MB / 321.3 MB, free: 11.33 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.CheckContactCalculation,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckContactCalculation,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 59.91 kB / 446.9 MB, free: 1.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.155, allocations: 55.23 MB / 0.4904 GB, free: 10.64 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.008752/0.1637, allocations: 5.664 MB / 0.4959 GB, free: 4.949 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00463/0.1684, allocations: 2.052 MB / 0.4979 GB, free: 2.891 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007842/0.1692, allocations: 23.94 kB / 0.498 GB, free: 2.867 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.1706, allocations: 438 kB / 0.4984 GB, free: 2.438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002344/0.1729, allocations: 0.7392 MB / 0.4991 GB, free: 1.695 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004483/0.1734, allocations: 107.7 kB / 0.4992 GB, free: 1.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002793/0.1762, allocations: 1.564 MB / 0.5007 GB, free: 24 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008591/0.177, allocations: 361.6 kB / 0.5011 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.1782, allocations: 0.529 MB / 0.5016 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.1799, allocations: 0.8524 MB / 0.5024 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000418/0.1803, allocations: 92 kB / 0.5025 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.1815, allocations: 411.3 kB / 0.5029 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001022/0.1825, allocations: 0.7203 MB / 0.5036 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001635/0.1841, allocations: 0.869 MB / 0.5045 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003999/0.1881, allocations: 2.843 MB / 0.5072 GB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1881, allocations: 0 / 0.5072 GB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1881, allocations: 0 / 0.5072 GB, free: 9.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.077e-05/0.1882, allocations: 4 kB / 0.5072 GB, free: 9.32 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: 754 * Number of variables: 754 Notification: Performance of Generate backend data structure: time 0.003984/0.1922, allocations: 2.091 MB / 0.5093 GB, free: 7.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.1922, allocations: 12.03 kB / 0.5093 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.925e-05/0.1923, allocations: 46.28 kB / 0.5093 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004346/0.1927, allocations: 361.4 kB / 0.5097 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007072/0.1998, allocations: 1.75 MB / 0.5114 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/0.202, allocations: 0.841 MB / 0.5122 GB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.336e-05/0.202, allocations: 78 kB / 0.5123 GB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002696/0.2023, allocations: 111.9 kB / 0.5124 GB, free: 3.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3017/0.504, allocations: 5.113 MB / 0.5174 GB, free: 25.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-05/0.5041, allocations: 20.72 kB / 0.5174 GB, free: 25.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000214/0.5043, allocations: 55.81 kB / 0.5175 GB, free: 25.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002397/0.5067, allocations: 1.243 MB / 0.5187 GB, free: 25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007531/0.5142, allocations: 4.485 MB / 0.523 GB, free: 24.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02197/0.5362, allocations: 20.57 MB / 0.5431 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/0.5385, allocations: 1.15 MB / 0.5443 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.5397, allocations: 0.6963 MB / 0.5449 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.5398, allocations: 15.56 kB / 0.545 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.5398, allocations: 42.11 kB / 0.545 GB, free: 8.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.699e-06/0.5398, allocations: 4 kB / 0.545 GB, free: 8.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.06055/0.6004, allocations: 12.49 MB / 0.5572 GB, free: 2.531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.6005, allocations: 139.1 kB / 0.5573 GB, free: 2.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003648/0.6041, allocations: 2.403 MB / 0.5597 GB, free: 28 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002389/0.6043, allocations: 37.7 kB / 0.5597 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00186/0.6062, allocations: 1.809 MB / 0.5615 GB, free: 14.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006987/0.6069, allocations: 408.5 kB / 0.5619 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001514/0.6084, allocations: 0.8101 MB / 0.5627 GB, free: 13.08 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.6086, allocations: 361.9 kB / 0.563 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002501/0.6111, allocations: 1.339 MB / 0.5643 GB, free: 11.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004928/0.6161, allocations: 3.957 MB / 0.5682 GB, free: 6.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008177/0.6242, allocations: 5.68 MB / 0.5737 GB, free: 15.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001044/0.6243, allocations: 24 kB / 0.5737 GB, free: 15.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06741/0.6917, allocations: 14.61 MB / 0.588 GB, free: 492 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.6919, allocations: 48 kB / 0.5881 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001877/0.6921, allocations: 92 kB / 0.5881 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00487/0.6969, allocations: 1.447 MB / 0.5896 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00305/0.7, allocations: 0.8772 MB / 0.5904 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003239/0.7032, allocations: 1.907 MB / 0.5923 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004219/0.7074, allocations: 0.6011 MB / 0.5929 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008639/0.7083, allocations: 257.3 kB / 0.5931 GB, free: 11.23 MB / 430.1 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.003112/0.7114, allocations: 1.168 MB / 0.5943 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006291/0.712, allocations: 207.2 kB / 0.5944 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005706/0.7178, allocations: 1.866 MB / 0.5963 GB, free: 7.984 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000711/0.7185, allocations: 129.8 kB / 0.5964 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/0.7185, allocations: 0 / 0.5964 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.088e-05/0.7185, allocations: 7.938 kB / 0.5964 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/0.7298, allocations: 3.8 MB / 0.6001 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/0.7298, allocations: 4 kB / 0.6001 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004387/0.7303, allocations: 91.83 kB / 0.6002 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004362/0.7346, allocations: 1.343 MB / 0.6015 GB, free: 2.574 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/0.7348, allocations: 17.78 kB / 0.6015 GB, free: 2.559 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00284/0.7376, allocations: 1.736 MB / 0.6032 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.7376, allocations: 0 / 0.6032 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004756/0.7424, allocations: 2.29 MB / 0.6055 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/0.7436, allocations: 330.2 kB / 0.6058 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004533/0.7441, allocations: 27.84 kB / 0.6058 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.7451, allocations: 59.91 kB / 0.6059 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.7453, allocations: 39.92 kB / 0.6059 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.854e-05/0.7454, allocations: 35.98 kB / 0.6059 GB, free: 14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003159/0.7485, allocations: 1.474 MB / 0.6074 GB, free: 12.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7485, allocations: 0 / 0.6074 GB, free: 12.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003927/0.7524, allocations: 0.5773 MB / 0.6079 GB, free: 11.93 MB / 446.1 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.007912/0.7603, allocations: 2.937 MB / 0.6108 GB, free: 8.961 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008884/0.7692, allocations: 2.949 MB / 0.6137 GB, free: 6.031 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.7692, allocations: 0 / 0.6137 GB, free: 6.031 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002269/0.7715, allocations: 0.7082 MB / 0.6144 GB, free: 5.324 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/0.7737, allocations: 188.4 kB / 0.6146 GB, free: 5.141 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1985/0.9722, allocations: 45.08 MB / 0.6586 GB, free: 4.668 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003153/0.9753, allocations: 1.853 MB / 0.6604 GB, free: 2.789 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003228/0.9786, allocations: 1.275 MB / 0.6616 GB, free: 1.516 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001526/0.9801, allocations: 0.7844 MB / 0.6624 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/0.9801, allocations: 3.938 kB / 0.6624 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09154/1.072, allocations: 44.64 MB / 0.706 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.45/18.52, allocations: 15.42 kB / 0.706 GB, free: 4.273 MB / 0.5294 GB " [Timeout remaining time 641] (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: 21.665754701010883] Failed to read output from testmodel.py, exit status != 0: 18.720121553982608 18.739322206 18.546790232 Calling exit ...