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.001462/0.001462, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001786/0.001786, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.563/1.563, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.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.04705/0.04705, allocations: 6.2 MB / 265.4 MB, free: 10.76 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 1.423e-06/1.423e-06, allocations: 0 / 391.5 MB, free: 10.87 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.925e-05/3.067e-05, allocations: 4.953 kB / 391.5 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.007195/0.007226, allocations: 5.042 MB / 396.6 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004259/0.01149, allocations: 1.912 MB / 398.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006406/0.01213, allocations: 23.94 kB / 398.5 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.01336, allocations: 429.9 kB / 398.9 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00193/0.01529, allocations: 0.7617 MB / 399.7 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.01563, allocations: 107.6 kB / 399.8 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002207/0.01784, allocations: 1.596 MB / 401.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007939/0.01863, allocations: 373.4 kB / 401.8 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.02, allocations: 0.7519 MB / 402.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001356/0.02135, allocations: 0.8142 MB / 403.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002975/0.02165, allocations: 92 kB / 403.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008494/0.0225, allocations: 331.4 kB / 403.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008351/0.02334, allocations: 0.7437 MB / 404.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009853/0.02432, allocations: 438.2 kB / 404.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00373/0.02805, allocations: 2.748 MB / 407.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.02806, allocations: 0 / 407.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.02806, allocations: 0 / 407.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001169/0.02818, allocations: 0 / 407.6 MB, free: 10.67 MB / 334.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.005449/0.03362, allocations: 2.08 MB / 409.7 MB, free: 8.543 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.03368, allocations: 8.031 kB / 409.7 MB, free: 8.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007513/0.04119, allocations: 1.797 MB / 411.5 MB, free: 6.734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.04317, allocations: 0.8448 MB / 412.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.667e-05/0.04325, allocations: 78.38 kB / 412.5 MB, free: 5.781 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002693/0.04352, allocations: 115.8 kB / 412.6 MB, free: 5.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008018/0.05154, allocations: 5.111 MB / 417.7 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.816e-05/0.05158, allocations: 23.75 kB / 417.7 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002013/0.05178, allocations: 55.91 kB / 417.8 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00273/0.05452, allocations: 1.228 MB / 419 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007945/0.06246, allocations: 4.472 MB / 423.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02259/0.08505, allocations: 19.52 MB / 443 MB, free: 6.035 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002211/0.08726, allocations: 1.136 MB / 444.1 MB, free: 4.863 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/0.0885, allocations: 0.698 MB / 444.8 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-05/0.08859, allocations: 15.94 kB / 444.8 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.08863, allocations: 38.56 kB / 444.9 MB, free: 4.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.346e-06/0.08863, allocations: 0 / 444.9 MB, free: 4.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=96): time 0.2644/0.3531, allocations: 12.46 MB / 457.3 MB, free: 63.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.3531, allocations: 136.7 kB / 457.5 MB, free: 63.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003246/0.3564, allocations: 2.293 MB / 459.8 MB, free: 62.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001752/0.3566, allocations: 39.3 kB / 459.8 MB, free: 62.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008226/0.3574, allocations: 1.802 MB / 461.6 MB, free: 61.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003494/0.3577, allocations: 412.9 kB / 462 MB, free: 60.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009754/0.3587, allocations: 0.7946 MB / 462.8 MB, free: 60.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.395e-05/0.3588, allocations: 333.3 kB / 463.1 MB, free: 60.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002096/0.3609, allocations: 1.34 MB / 464.5 MB, free: 59.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003017/0.3639, allocations: 3.946 MB / 468.4 MB, free: 55.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004708/0.3686, allocations: 5.679 MB / 474.1 MB, free: 49.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.87e-05/0.3686, allocations: 32 kB / 474.1 MB, free: 49.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06543/0.4341, allocations: 14.59 MB / 488.7 MB, free: 35.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.863e-05/0.4341, allocations: 44 kB / 488.7 MB, free: 35.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.818e-05/0.4342, allocations: 97.69 kB / 488.8 MB, free: 35.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004016/0.4382, allocations: 1.46 MB / 490.3 MB, free: 33.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/0.4407, allocations: 0.8655 MB / 491.2 MB, free: 32.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.443, allocations: 1.909 MB / 493.1 MB, free: 30.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00316/0.4461, allocations: 0.578 MB / 493.7 MB, free: 30.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004388/0.4466, allocations: 251.5 kB / 493.9 MB, free: 29.95 MB / 366.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.001495/0.4481, allocations: 1.163 MB / 495.1 MB, free: 28.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/0.4484, allocations: 186.7 kB / 495.2 MB, free: 28.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004222/0.4526, allocations: 1.852 MB / 497.1 MB, free: 26.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006548/0.4532, allocations: 107.8 kB / 497.2 MB, free: 26.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/0.4532, allocations: 4 kB / 497.2 MB, free: 26.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.4533, allocations: 3.984 kB / 497.2 MB, free: 26.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007744/0.461, allocations: 3.391 MB / 0.4889 GB, free: 23.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/0.461, allocations: 6.234 kB / 0.4889 GB, free: 23.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003746/0.4614, allocations: 83.89 kB / 0.489 GB, free: 23.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003804/0.4652, allocations: 1.335 MB / 0.4903 GB, free: 21.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.663e-05/0.4653, allocations: 19.98 kB / 0.4903 GB, free: 21.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002141/0.4674, allocations: 1.733 MB / 0.492 GB, free: 20.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.4674, allocations: 0 / 0.492 GB, free: 20.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003268/0.4707, allocations: 2.269 MB / 0.4942 GB, free: 17.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006087/0.4713, allocations: 302.5 kB / 0.4945 GB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/0.4715, allocations: 17.78 kB / 0.4945 GB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008086/0.4723, allocations: 63.89 kB / 0.4945 GB, free: 17.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.387e-05/0.4724, allocations: 39.92 kB / 0.4946 GB, free: 17.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-05/0.4725, allocations: 30.36 kB / 0.4946 GB, free: 17.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001495/0.474, allocations: 1.288 MB / 0.4959 GB, free: 15.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.474, allocations: 0 / 0.4959 GB, free: 15.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002872/0.4768, allocations: 0.6004 MB / 0.4965 GB, free: 15.38 MB / 366.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.0004145/0.4772, allocations: 188.6 kB / 0.4966 GB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004333/0.4816, allocations: 2.95 MB / 0.4995 GB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4816, allocations: 0 / 0.4995 GB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.4828, allocations: 0.7023 MB / 0.5002 GB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.484, allocations: 169.8 kB / 0.5004 GB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005557/0.4895, allocations: 4.409 MB / 0.5047 GB, free: 6.961 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/0.4906, allocations: 1.269 MB / 0.5059 GB, free: 5.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00223/0.4929, allocations: 1.245 MB / 0.5071 GB, free: 4.414 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/0.4931, allocations: 128.5 kB / 0.5073 GB, free: 4.289 MB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4931, allocations: 4 kB / 0.5073 GB, free: 4.285 MB / 366.1 MB Notification: Performance of Templates: time 0.0376/0.5307, allocations: 19.46 MB / 0.5263 GB, free: 1.098 MB / 382.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.621450908482075] Failed to read output from testmodel.py, exit status != 0: 0.5406261868774891 0.556254034 0.5248335000000001 Calling exit ...