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.001595/0.001595, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001883/0.001883, allocations: 213.7 kB / 22.24 MB, free: 5.238 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.793 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.06414/0.06414, allocations: 8.112 MB / 320.5 MB, free: 11.07 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.002007/0.002007, allocations: 71.89 kB / 446.1 MB, free: 1.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1216, allocations: 55.23 MB / 0.4896 GB, free: 10.23 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.007535/0.1291, allocations: 5.04 MB / 0.4945 GB, free: 5.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004219/0.1333, allocations: 1.904 MB / 0.4963 GB, free: 3.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005132/0.1338, allocations: 23.94 kB / 0.4964 GB, free: 3.227 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.135, allocations: 434 kB / 0.4968 GB, free: 2.801 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001626/0.1366, allocations: 0.7314 MB / 0.4975 GB, free: 2.066 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.1369, allocations: 111.7 kB / 0.4976 GB, free: 1.957 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001923/0.1388, allocations: 1.552 MB / 0.4991 GB, free: 412 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005123/0.1393, allocations: 373.6 kB / 0.4995 GB, free: 24 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006741/0.14, allocations: 0.5214 MB / 0.5 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.1413, allocations: 0.8406 MB / 0.5008 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001988/0.1415, allocations: 92 kB / 0.5009 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007189/0.1422, allocations: 287.4 kB / 0.5012 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006929/0.1429, allocations: 0.7203 MB / 0.5019 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006196/0.1435, allocations: 0.6087 MB / 0.5025 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003296/0.1468, allocations: 2.823 MB / 0.5052 GB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.319e-06/0.1468, allocations: 4 kB / 0.5052 GB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1468, allocations: 0 / 0.5052 GB, free: 10.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.616e-05/0.1469, allocations: 0 / 0.5052 GB, free: 10.11 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.003715/0.1506, allocations: 2.095 MB / 0.5073 GB, free: 7.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.221e-05/0.1506, allocations: 12.03 kB / 0.5073 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000519/0.1512, allocations: 365.3 kB / 0.5076 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006826/0.158, allocations: 1.75 MB / 0.5093 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/0.1602, allocations: 0.8529 MB / 0.5102 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.915e-05/0.1603, allocations: 82 kB / 0.5103 GB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002391/0.1606, allocations: 103.9 kB / 0.5104 GB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2574/0.418, allocations: 5.104 MB / 0.5153 GB, free: 24.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.022e-05/0.4181, allocations: 26.52 kB / 0.5154 GB, free: 24.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005574/0.4187, allocations: 62.34 kB / 0.5154 GB, free: 24.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002651/0.4213, allocations: 1.242 MB / 0.5166 GB, free: 24.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00879/0.4301, allocations: 4.477 MB / 0.521 GB, free: 24.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02401/0.4541, allocations: 19.89 MB / 0.5404 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002378/0.4565, allocations: 1.149 MB / 0.5416 GB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.4578, allocations: 0.7039 MB / 0.5422 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.4579, allocations: 15 kB / 0.5423 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.4579, allocations: 40.09 kB / 0.5423 GB, free: 8.801 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 2.996e-06/0.4579, allocations: 0 / 0.5423 GB, free: 8.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.06188/0.5198, allocations: 12.48 MB / 0.5545 GB, free: 3.199 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.5199, allocations: 140.5 kB / 0.5546 GB, free: 3.031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003827/0.5237, allocations: 2.56 MB / 0.5571 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001885/0.5239, allocations: 37.14 kB / 0.5572 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001585/0.5255, allocations: 1.809 MB / 0.5589 GB, free: 14.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007209/0.5262, allocations: 417 kB / 0.5593 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001635/0.5278, allocations: 0.8025 MB / 0.5601 GB, free: 13.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002364/0.5281, allocations: 353.9 kB / 0.5604 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002698/0.5308, allocations: 1.347 MB / 0.5618 GB, free: 11.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005884/0.5367, allocations: 3.953 MB / 0.5656 GB, free: 6.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009683/0.5463, allocations: 5.688 MB / 0.5712 GB, free: 15.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001593/0.5465, allocations: 28 kB / 0.5712 GB, free: 15.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.0693/0.6158, allocations: 14.6 MB / 0.5855 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001173/0.6159, allocations: 47.98 kB / 0.5855 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001788/0.6161, allocations: 96 kB / 0.5856 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004628/0.6207, allocations: 1.443 MB / 0.587 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002868/0.6236, allocations: 0.8694 MB / 0.5879 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003168/0.6268, allocations: 1.913 MB / 0.5897 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00378/0.6305, allocations: 0.608 MB / 0.5903 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008647/0.6314, allocations: 248 kB / 0.5905 GB, free: 11.71 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.002893/0.6343, allocations: 1.17 MB / 0.5917 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006563/0.6349, allocations: 210.7 kB / 0.5919 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005383/0.6403, allocations: 1.867 MB / 0.5937 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006852/0.641, allocations: 123.8 kB / 0.5938 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.118e-05/0.641, allocations: 7.938 kB / 0.5938 GB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.641, allocations: 0 / 0.5938 GB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/0.6525, allocations: 3.673 MB / 0.5974 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.6525, allocations: 0 / 0.5974 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004085/0.6529, allocations: 87.89 kB / 0.5975 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004304/0.6572, allocations: 1.335 MB / 0.5988 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.6573, allocations: 16.92 kB / 0.5988 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002811/0.6601, allocations: 1.739 MB / 0.6005 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.6601, allocations: 7.969 kB / 0.6005 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004437/0.6646, allocations: 2.29 MB / 0.6028 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/0.6657, allocations: 318.3 kB / 0.6031 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000406/0.6661, allocations: 15.94 kB / 0.6031 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.6671, allocations: 68 kB / 0.6032 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.6673, allocations: 51.84 kB / 0.6032 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.994e-05/0.6673, allocations: 24 kB / 0.6032 GB, free: 14.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003086/0.6704, allocations: 1.478 MB / 0.6047 GB, free: 13.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6704, allocations: 288 / 0.6047 GB, free: 13.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003386/0.6738, allocations: 0.5773 MB / 0.6052 GB, free: 12.53 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.005156/0.679, allocations: 2.947 MB / 0.6081 GB, free: 9.543 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005879/0.6848, allocations: 2.937 MB / 0.611 GB, free: 6.625 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6848, allocations: 0 / 0.611 GB, free: 6.625 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001457/0.6863, allocations: 0.7166 MB / 0.6117 GB, free: 5.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.6877, allocations: 175.6 kB / 0.6119 GB, free: 5.738 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1688/0.8565, allocations: 45.09 MB / 0.6559 GB, free: 5.258 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003128/0.8596, allocations: 1.263 MB / 0.6571 GB, free: 3.965 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004823/0.8645, allocations: 1.281 MB / 0.6584 GB, free: 2.684 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001991/0.8665, allocations: 0.7844 MB / 0.6591 GB, free: 1.898 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/0.8665, allocations: 0 / 0.6591 GB, free: 1.898 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08886/0.9553, allocations: 37.34 MB / 0.6956 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/14.48, allocations: 7.672 kB / 0.6956 GB, free: 12.99 MB / 0.5294 GB " [Timeout remaining time 645] (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: 17.39719072310254] Failed to read output from testmodel.py, exit status != 0: 14.626107664778829 14.639842685 14.490111383 Calling exit ...