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.001596/0.001596, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001938/0.001938, allocations: 213.3 kB / 22.24 MB, free: 5.262 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.544/1.544, allocations: 230.6 MB / 256 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.0456/0.0456, allocations: 8.103 MB / 320.5 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: translateModel(VehicleInterfaces.Roads.Examples.CheckContactCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation") translateModel(VehicleInterfaces.Roads.Examples.CheckContactCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 60.09 kB / 446.6 MB, free: 1.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1287, allocations: 55.24 MB / 0.49 GB, free: 9.754 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.007262/0.1359, allocations: 5.044 MB / 0.495 GB, free: 4.684 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004391/0.1403, allocations: 1.904 MB / 0.4968 GB, free: 2.773 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004599/0.1408, allocations: 23.94 kB / 0.4969 GB, free: 2.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.1419, allocations: 426 kB / 0.4973 GB, free: 2.332 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.1434, allocations: 0.7314 MB / 0.498 GB, free: 1.598 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.1437, allocations: 111.7 kB / 0.4981 GB, free: 1.488 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00191/0.1456, allocations: 1.561 MB / 0.4996 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005108/0.1461, allocations: 369.6 kB / 0.5 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000643/0.1468, allocations: 0.5252 MB / 0.5005 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.1479, allocations: 0.8368 MB / 0.5013 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001981/0.1481, allocations: 92 kB / 0.5014 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006386/0.1487, allocations: 291.4 kB / 0.5017 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000687/0.1494, allocations: 0.7203 MB / 0.5024 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006375/0.15, allocations: 0.6048 MB / 0.5029 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003202/0.1532, allocations: 2.819 MB / 0.5057 GB, free: 9.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1532, allocations: 0 / 0.5057 GB, free: 9.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1532, allocations: 4 kB / 0.5057 GB, free: 9.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.097e-05/0.1533, allocations: 0 / 0.5057 GB, free: 9.637 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.003571/0.1568, allocations: 2.103 MB / 0.5078 GB, free: 7.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1569, allocations: 8.031 kB / 0.5078 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006506/0.1634, allocations: 1.75 MB / 0.5095 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/0.1655, allocations: 0.8531 MB / 0.5103 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.724e-05/0.1656, allocations: 86 kB / 0.5104 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/0.1658, allocations: 103.9 kB / 0.5105 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2377/0.4035, allocations: 5.113 MB / 0.5155 GB, free: 25.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.262e-05/0.4036, allocations: 22.16 kB / 0.5155 GB, free: 25.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001995/0.4038, allocations: 60.33 kB / 0.5156 GB, free: 25.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002174/0.4059, allocations: 1.235 MB / 0.5168 GB, free: 25.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006935/0.4129, allocations: 4.476 MB / 0.5211 GB, free: 25.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0181/0.431, allocations: 19.51 MB / 0.5402 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.433, allocations: 1.141 MB / 0.5413 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.4341, allocations: 0.7096 MB / 0.542 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.921e-05/0.4342, allocations: 10.45 kB / 0.542 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.4342, allocations: 41.36 kB / 0.542 GB, free: 9.223 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.678e-06/0.4342, allocations: 1.406 kB / 0.542 GB, free: 9.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.05799/0.4922, allocations: 12.47 MB / 0.5542 GB, free: 3.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.4923, allocations: 144.5 kB / 0.5544 GB, free: 3.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002405/0.4947, allocations: 2.282 MB / 0.5566 GB, free: 1.328 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001526/0.4948, allocations: 41.45 kB / 0.5566 GB, free: 1.285 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008854/0.4957, allocations: 1.831 MB / 0.5584 GB, free: 15.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004318/0.4961, allocations: 417.4 kB / 0.5588 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009916/0.4971, allocations: 0.806 MB / 0.5596 GB, free: 14.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4973, allocations: 334 kB / 0.5599 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002118/0.4994, allocations: 1.344 MB / 0.5612 GB, free: 12.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004409/0.5038, allocations: 3.957 MB / 0.5651 GB, free: 7.352 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007405/0.5112, allocations: 5.682 MB / 0.5706 GB, free: 384 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.074e-05/0.5113, allocations: 28 kB / 0.5707 GB, free: 356 kB / 398.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06544/0.5767, allocations: 14.58 MB / 0.5849 GB, free: 1.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.104e-05/0.5768, allocations: 51.94 kB / 0.585 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001083/0.5769, allocations: 92 kB / 0.5851 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004318/0.5813, allocations: 1.448 MB / 0.5865 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002672/0.5839, allocations: 0.8655 MB / 0.5873 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002873/0.5868, allocations: 1.911 MB / 0.5892 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/0.59, allocations: 0.5852 MB / 0.5897 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000501/0.5905, allocations: 256 kB / 0.59 GB, free: 12.53 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.001866/0.5923, allocations: 1.164 MB / 0.5911 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003596/0.5927, allocations: 182.8 kB / 0.5913 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004632/0.5973, allocations: 1.85 MB / 0.5931 GB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006424/0.598, allocations: 127.8 kB / 0.5932 GB, free: 9.188 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.598, allocations: 0 / 0.5932 GB, free: 9.188 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/0.598, allocations: 8.5 kB / 0.5932 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008733/0.6067, allocations: 3.378 MB / 0.5965 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.6068, allocations: 0 / 0.5965 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003773/0.6071, allocations: 84.55 kB / 0.5966 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004085/0.6112, allocations: 1.339 MB / 0.5979 GB, free: 4.328 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.6113, allocations: 18.25 kB / 0.5979 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002684/0.614, allocations: 1.752 MB / 0.5997 GB, free: 2.535 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.614, allocations: 0 / 0.5997 GB, free: 2.535 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00392/0.6179, allocations: 2.262 MB / 0.6019 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008574/0.6188, allocations: 302.5 kB / 0.6022 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/0.619, allocations: 12 kB / 0.6022 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007457/0.6197, allocations: 63.89 kB / 0.6022 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.6198, allocations: 47.72 kB / 0.6023 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.886e-05/0.6199, allocations: 31.97 kB / 0.6023 GB, free: 15.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002005/0.6219, allocations: 1.288 MB / 0.6036 GB, free: 14.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6219, allocations: 0 / 0.6036 GB, free: 14.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002877/0.6248, allocations: 0.6004 MB / 0.6041 GB, free: 13.89 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.0004193/0.6252, allocations: 183.3 kB / 0.6043 GB, free: 13.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005559/0.6308, allocations: 2.943 MB / 0.6072 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.6308, allocations: 0 / 0.6072 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.6321, allocations: 0.708 MB / 0.6079 GB, free: 10.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.6333, allocations: 169.8 kB / 0.608 GB, free: 9.898 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008026/0.6413, allocations: 4.437 MB / 0.6124 GB, free: 5.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001695/0.643, allocations: 1.273 MB / 0.6136 GB, free: 4.105 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002752/0.6457, allocations: 1.239 MB / 0.6148 GB, free: 2.867 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/0.646, allocations: 131.4 kB / 0.615 GB, free: 2.738 MB / 446.1 MB Notification: Performance of SimCode: time 1.312e-06/0.646, allocations: 0 / 0.615 GB, free: 2.738 MB / 446.1 MB Notification: Performance of Templates: time 0.0383/0.6843, allocations: 21.31 MB / 0.6358 GB, free: 13.67 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.makefile [Timeout 660] (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 & ./VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4682923555374146] Failed to read output from testmodel.py, exit status != 0: 0.6927867475897074 0.708086378 0.551766196 Calling exit ...