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.001372/0.001372, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001666/0.001666, allocations: 216.5 kB / 23.03 MB, free: 4.922 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.57/1.57, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.04762/0.04762, allocations: 8.111 MB / 321.3 MB, free: 11.09 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.002009/0.002009, allocations: 67.91 kB / 446.9 MB, free: 1.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1325, allocations: 55.24 MB / 0.4903 GB, free: 10.24 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.007389/0.1399, allocations: 4.999 MB / 0.4952 GB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004484/0.1444, allocations: 1.901 MB / 0.4971 GB, free: 3.309 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008303/0.1452, allocations: 23.88 kB / 0.4971 GB, free: 3.285 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.1465, allocations: 430.1 kB / 0.4975 GB, free: 2.863 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00211/0.1486, allocations: 0.7314 MB / 0.4982 GB, free: 2.129 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.149, allocations: 115.7 kB / 0.4983 GB, free: 2.016 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002385/0.1514, allocations: 1.552 MB / 0.4998 GB, free: 472 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006486/0.152, allocations: 377.5 kB / 0.5002 GB, free: 80 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008518/0.1529, allocations: 0.5174 MB / 0.5007 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.1542, allocations: 0.8602 MB / 0.5016 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002346/0.1544, allocations: 92 kB / 0.5016 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007669/0.1552, allocations: 291.6 kB / 0.5019 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007575/0.1559, allocations: 0.7164 MB / 0.5026 GB, free: 13.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007067/0.1567, allocations: 0.6087 MB / 0.5032 GB, free: 12.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003574/0.1602, allocations: 2.835 MB / 0.506 GB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.1602, allocations: 0 / 0.506 GB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1602, allocations: 0 / 0.506 GB, free: 10.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.62e-05/0.1603, allocations: 0 / 0.506 GB, free: 10.14 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.003869/0.1642, allocations: 2.095 MB / 0.508 GB, free: 8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.1642, allocations: 12.03 kB / 0.508 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.53e-05/0.1643, allocations: 46.27 kB / 0.5081 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004784/0.1648, allocations: 365.4 kB / 0.5084 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006845/0.1716, allocations: 1.743 MB / 0.5101 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002129/0.1738, allocations: 0.8528 MB / 0.511 GB, free: 4.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.1739, allocations: 82 kB / 0.511 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002818/0.1742, allocations: 103.9 kB / 0.5111 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2509/0.4251, allocations: 5.111 MB / 0.5161 GB, free: 24.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.825e-05/0.4251, allocations: 24.94 kB / 0.5162 GB, free: 24.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002248/0.4254, allocations: 56.94 kB / 0.5162 GB, free: 24.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002404/0.4278, allocations: 1.238 MB / 0.5174 GB, free: 24.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008187/0.436, allocations: 4.491 MB / 0.5218 GB, free: 24.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0247/0.4607, allocations: 19.89 MB / 0.5412 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002624/0.4633, allocations: 1.149 MB / 0.5424 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.4645, allocations: 0.7027 MB / 0.543 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.4646, allocations: 15.42 kB / 0.5431 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.4646, allocations: 41.81 kB / 0.5431 GB, free: 8.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.436e-06/0.4646, allocations: 0 / 0.5431 GB, free: 8.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.06361/0.5282, allocations: 12.49 MB / 0.5553 GB, free: 3.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.5283, allocations: 140.5 kB / 0.5554 GB, free: 2.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004006/0.5323, allocations: 2.408 MB / 0.5578 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003044/0.5326, allocations: 37.7 kB / 0.5578 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00196/0.5346, allocations: 1.802 MB / 0.5596 GB, free: 14.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007864/0.5354, allocations: 416 kB / 0.56 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00135/0.5367, allocations: 0.8091 MB / 0.5608 GB, free: 13.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002625/0.537, allocations: 356.8 kB / 0.5611 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002405/0.5394, allocations: 1.343 MB / 0.5624 GB, free: 11.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005101/0.5445, allocations: 3.957 MB / 0.5663 GB, free: 6.645 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008374/0.5529, allocations: 5.688 MB / 0.5718 GB, free: 15.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001096/0.553, allocations: 25.88 kB / 0.5718 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06966/0.6226, allocations: 14.61 MB / 0.5861 GB, free: 1.016 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.215e-05/0.6227, allocations: 44 kB / 0.5862 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001306/0.6228, allocations: 92.5 kB / 0.5862 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004721/0.6276, allocations: 1.457 MB / 0.5877 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002933/0.6305, allocations: 0.8616 MB / 0.5885 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003071/0.6336, allocations: 1.904 MB / 0.5904 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003628/0.6372, allocations: 0.6093 MB / 0.591 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008942/0.6381, allocations: 262.5 kB / 0.5912 GB, free: 11.77 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.002312/0.6404, allocations: 1.164 MB / 0.5923 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004748/0.6409, allocations: 198.6 kB / 0.5925 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005111/0.646, allocations: 1.869 MB / 0.5944 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006984/0.6467, allocations: 128.3 kB / 0.5945 GB, free: 8.406 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.6467, allocations: 0 / 0.5945 GB, free: 8.406 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.169e-05/0.6467, allocations: 7.922 kB / 0.5945 GB, free: 8.398 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.6567, allocations: 3.665 MB / 0.5981 GB, free: 4.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.6568, allocations: 4 kB / 0.5981 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004374/0.6572, allocations: 83.89 kB / 0.5982 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004387/0.6616, allocations: 1.345 MB / 0.5995 GB, free: 3.262 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/0.6617, allocations: 19 kB / 0.5995 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003003/0.6647, allocations: 1.742 MB / 0.6012 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6647, allocations: 3.938 kB / 0.6012 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004406/0.6691, allocations: 2.285 MB / 0.6034 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009408/0.6701, allocations: 330.2 kB / 0.6037 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002212/0.6703, allocations: 15.94 kB / 0.6038 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008916/0.6712, allocations: 63.91 kB / 0.6038 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.6713, allocations: 43.92 kB / 0.6039 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.724e-05/0.6714, allocations: 31.97 kB / 0.6039 GB, free: 14.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002732/0.6741, allocations: 1.482 MB / 0.6053 GB, free: 13.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6741, allocations: 0 / 0.6053 GB, free: 13.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004097/0.6782, allocations: 0.5772 MB / 0.6059 GB, free: 12.62 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.005215/0.6834, allocations: 2.933 MB / 0.6088 GB, free: 9.648 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006355/0.6898, allocations: 2.944 MB / 0.6116 GB, free: 6.723 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.6898, allocations: 4 kB / 0.6116 GB, free: 6.719 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001521/0.6913, allocations: 0.7083 MB / 0.6123 GB, free: 6.012 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.6929, allocations: 187.2 kB / 0.6125 GB, free: 5.832 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1659/0.8587, allocations: 45.08 MB / 0.6565 GB, free: 5.355 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001967/0.8607, allocations: 1.267 MB / 0.6578 GB, free: 4.059 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002889/0.8636, allocations: 1.271 MB / 0.659 GB, free: 2.785 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/0.8647, allocations: 0.7844 MB / 0.6598 GB, free: 2 MB / 494.1 MB Notification: Performance of SimCode: time 1.372e-06/0.8648, allocations: 0 / 0.6598 GB, free: 2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08217/0.9469, allocations: 39.02 MB / 0.6979 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.25/18.19, allocations: 6.797 kB / 0.6979 GB, free: 11.45 MB / 0.5294 GB " [Timeout remaining time 642] (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.27147844794672] Failed to read output from testmodel.py, exit status != 0: 18.39166596601717 18.40548519 18.242369993 Calling exit ...