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.00136/0.00136, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001701/0.001701, allocations: 212.3 kB / 22.25 MB, free: 5.086 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.414/1.414, allocations: 230.6 MB / 256 MB, free: 7.992 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.04577/0.04577, allocations: 8.101 MB / 320.5 MB, free: 11.25 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="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 0.002792/0.002792, allocations: 67.89 kB / 446.2 MB, free: 1.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1268, allocations: 55.22 MB / 0.4896 GB, free: 10.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.007365/0.1342, allocations: 5.669 MB / 0.4952 GB, free: 4.812 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004087/0.1383, allocations: 2.045 MB / 0.4972 GB, free: 2.762 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004574/0.1387, allocations: 23.94 kB / 0.4972 GB, free: 2.738 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009975/0.1397, allocations: 446 kB / 0.4976 GB, free: 2.301 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.1412, allocations: 0.7275 MB / 0.4983 GB, free: 1.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.1415, allocations: 115.7 kB / 0.4984 GB, free: 1.457 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002003/0.1435, allocations: 1.565 MB / 0.5 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005177/0.1441, allocations: 361.6 kB / 0.5003 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007017/0.1448, allocations: 0.5252 MB / 0.5008 GB, free: 15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.1458, allocations: 0.8524 MB / 0.5017 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001953/0.146, allocations: 92 kB / 0.5017 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007411/0.1468, allocations: 415.3 kB / 0.5021 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006201/0.1474, allocations: 0.7203 MB / 0.5028 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007564/0.1482, allocations: 0.873 MB / 0.5037 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003034/0.1512, allocations: 2.835 MB / 0.5065 GB, free: 9.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1512, allocations: 0 / 0.5065 GB, free: 9.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1512, allocations: 0 / 0.5065 GB, free: 9.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.074e-05/0.1512, allocations: 0 / 0.5065 GB, free: 9.195 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.003211/0.1544, allocations: 2.099 MB / 0.5085 GB, free: 7.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.1545, allocations: 12.03 kB / 0.5085 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003889/0.1549, allocations: 365.4 kB / 0.5089 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006546/0.1614, allocations: 1.75 MB / 0.5106 GB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/0.1633, allocations: 0.8451 MB / 0.5114 GB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.09e-05/0.1634, allocations: 82 kB / 0.5115 GB, free: 3.961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002316/0.1636, allocations: 103.9 kB / 0.5116 GB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1973/0.3609, allocations: 5.11 MB / 0.5166 GB, free: 24.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.762e-05/0.361, allocations: 18.94 kB / 0.5166 GB, free: 24.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001955/0.3612, allocations: 62.84 kB / 0.5166 GB, free: 24.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002188/0.3634, allocations: 1.246 MB / 0.5179 GB, free: 24.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006634/0.37, allocations: 4.478 MB / 0.5222 GB, free: 24.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01877/0.3888, allocations: 20.58 MB / 0.5423 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.3906, allocations: 1.143 MB / 0.5435 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.3917, allocations: 0.6985 MB / 0.5441 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.3918, allocations: 8.812 kB / 0.5441 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.3918, allocations: 53 kB / 0.5442 GB, free: 8.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.477e-06/0.3918, allocations: 1.344 kB / 0.5442 GB, free: 8.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.05642/0.4482, allocations: 12.48 MB / 0.5564 GB, free: 2.379 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.4483, allocations: 136.5 kB / 0.5565 GB, free: 2.223 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002526/0.4508, allocations: 2.406 MB / 0.5589 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.4509, allocations: 33.7 kB / 0.5589 GB, free: 15.87 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001312/0.4522, allocations: 1.804 MB / 0.5607 GB, free: 14.17 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004397/0.4527, allocations: 416.9 kB / 0.5611 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009753/0.4537, allocations: 0.8138 MB / 0.5619 GB, free: 12.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.4538, allocations: 355.4 kB / 0.5622 GB, free: 12.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002139/0.456, allocations: 1.343 MB / 0.5635 GB, free: 11.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004405/0.4604, allocations: 3.957 MB / 0.5674 GB, free: 5.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007497/0.4679, allocations: 5.684 MB / 0.5729 GB, free: 14.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.782e-05/0.468, allocations: 24 kB / 0.5729 GB, free: 14.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06263/0.5306, allocations: 14.6 MB / 0.5872 GB, free: 364 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.876e-05/0.5307, allocations: 48 kB / 0.5872 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/0.5308, allocations: 92 kB / 0.5873 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004361/0.5351, allocations: 1.453 MB / 0.5888 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002673/0.5378, allocations: 0.8704 MB / 0.5896 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002869/0.5407, allocations: 1.91 MB / 0.5915 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002941/0.5436, allocations: 0.6011 MB / 0.5921 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004014/0.544, allocations: 255.6 kB / 0.5923 GB, free: 11.11 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.001746/0.5458, allocations: 1.171 MB / 0.5934 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003346/0.5461, allocations: 206.5 kB / 0.5936 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00475/0.5508, allocations: 1.87 MB / 0.5955 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006623/0.5515, allocations: 127.8 kB / 0.5956 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.5515, allocations: 0 / 0.5956 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.5515, allocations: 11.86 kB / 0.5956 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008954/0.5605, allocations: 3.807 MB / 0.5993 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/0.5605, allocations: 4 kB / 0.5993 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003983/0.5609, allocations: 79.89 kB / 0.5994 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004068/0.565, allocations: 1.343 MB / 0.6007 GB, free: 2.422 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/0.5651, allocations: 19.98 kB / 0.6007 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002736/0.5678, allocations: 1.735 MB / 0.6024 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5678, allocations: 4.031 kB / 0.6024 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004086/0.5719, allocations: 2.286 MB / 0.6047 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009237/0.5728, allocations: 334.2 kB / 0.605 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.5731, allocations: 27.86 kB / 0.605 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000784/0.5738, allocations: 63.89 kB / 0.6051 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.5739, allocations: 39.92 kB / 0.6051 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-05/0.574, allocations: 31.98 kB / 0.6051 GB, free: 13.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002264/0.5763, allocations: 1.474 MB / 0.6066 GB, free: 12.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5763, allocations: 0 / 0.6066 GB, free: 12.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003152/0.5794, allocations: 0.5773 MB / 0.6071 GB, free: 11.77 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.004584/0.584, allocations: 2.933 MB / 0.61 GB, free: 8.801 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005825/0.5898, allocations: 2.949 MB / 0.6129 GB, free: 5.871 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.5898, allocations: 0 / 0.6129 GB, free: 5.871 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.5913, allocations: 0.701 MB / 0.6136 GB, free: 5.172 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.5926, allocations: 200.6 kB / 0.6138 GB, free: 4.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1459/0.7386, allocations: 45.07 MB / 0.6578 GB, free: 4.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001904/0.7405, allocations: 1.859 MB / 0.6596 GB, free: 2.637 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002779/0.7432, allocations: 1.277 MB / 0.6608 GB, free: 1.355 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/0.7443, allocations: 0.7844 MB / 0.6616 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of SimCode: time 1.243e-06/0.7443, allocations: 0 / 0.6616 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09196/0.8363, allocations: 44.61 MB / 0.7052 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.28/19.12, allocations: 3.984 kB / 0.7052 GB, free: 4.148 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.74059312301688] Failed to read output from testmodel.py, exit status != 0: 19.255559775047004 19.271764027 19.117115271 Calling exit ...