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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 193 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1384/0.1384, allocations: 7.978 MB / 298.4 MB, free: 2.301 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.91 kB / 360.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08123/0.08244, allocations: 51.2 MB / 411.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.006141/0.08862, allocations: 5.626 MB / 417.5 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003188/0.09183, allocations: 2.005 MB / 419.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004567/0.09232, allocations: 20 kB / 419.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009015/0.09323, allocations: 414.1 kB / 420 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.09465, allocations: 0.7118 MB / 420.7 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.09493, allocations: 111.7 kB / 420.8 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001616/0.09656, allocations: 1.576 MB / 422.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004557/0.09703, allocations: 338.4 kB / 422.7 MB, free: 496 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1405/0.2376, allocations: 0.5078 MB / 423.2 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.2386, allocations: 0.7796 MB / 424 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002413/0.2389, allocations: 94.31 kB / 424.1 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006728/0.2396, allocations: 390.6 kB / 424.5 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004074/0.24, allocations: 0.7131 MB / 425.2 MB, free: 36.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005061/0.2405, allocations: 0.8841 MB / 426.1 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.2422, allocations: 2.705 MB / 428.8 MB, free: 35.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2422, allocations: 0.6562 kB / 428.8 MB, free: 35.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2422, allocations: 0 / 428.8 MB, free: 35.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.044e-05/0.2423, allocations: 0.7188 kB / 428.8 MB, free: 35.37 MB / 350.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.002284/0.2445, allocations: 2.147 MB / 430.9 MB, free: 34.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.2446, allocations: 9.438 kB / 430.9 MB, free: 34.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002855/0.2449, allocations: 365.2 kB / 431.3 MB, free: 34.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006155/0.251, allocations: 1.741 MB / 433 MB, free: 34.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.2521, allocations: 0.8843 MB / 433.9 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/0.2522, allocations: 83.22 kB / 434 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/0.2524, allocations: 110.1 kB / 434.1 MB, free: 33.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004207/0.2566, allocations: 5.115 MB / 439.2 MB, free: 31.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.2566, allocations: 24.56 kB / 439.2 MB, free: 31.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/0.2568, allocations: 60.98 kB / 439.3 MB, free: 31.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001982/0.2588, allocations: 1.238 MB / 440.5 MB, free: 31.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005066/0.2638, allocations: 4.49 MB / 445 MB, free: 30.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01362/0.2775, allocations: 20.66 MB / 465.7 MB, free: 30.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.2792, allocations: 1.669 MB / 467.4 MB, free: 29.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.2802, allocations: 0.7534 MB / 468.1 MB, free: 29.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.2803, allocations: 88.89 kB / 468.2 MB, free: 28.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.2803, allocations: 42.97 kB / 468.2 MB, free: 28.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.745e-06/0.2804, allocations: 0 / 468.2 MB, free: 28.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=96): time 0.06386/0.3442, allocations: 12.57 MB / 480.8 MB, free: 26.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/0.3443, allocations: 142.4 kB / 480.9 MB, free: 26.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00295/0.3473, allocations: 2.41 MB / 483.4 MB, free: 25.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001216/0.3474, allocations: 35.64 kB / 483.4 MB, free: 25.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007213/0.3482, allocations: 1.731 MB / 485.1 MB, free: 23.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002617/0.3484, allocations: 397.3 kB / 485.5 MB, free: 23.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008183/0.3493, allocations: 0.7979 MB / 486.3 MB, free: 22.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3494, allocations: 355 kB / 486.6 MB, free: 22.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/0.3511, allocations: 1.353 MB / 488 MB, free: 21.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002291/0.3534, allocations: 3.952 MB / 492 MB, free: 17.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004792/0.3582, allocations: 5.683 MB / 497.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.044e-05/0.3582, allocations: 28 kB / 497.7 MB, free: 12 MB / 366.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06585/0.4241, allocations: 14.61 MB / 0.5003 GB, free: 13.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.145e-05/0.4242, allocations: 54.27 kB / 0.5003 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001024/0.4243, allocations: 92 kB / 0.5004 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004335/0.4286, allocations: 1.454 MB / 0.5018 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/0.4312, allocations: 0.8655 MB / 0.5027 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00265/0.4339, allocations: 1.92 MB / 0.5046 GB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003003/0.4369, allocations: 0.5839 MB / 0.5051 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004885/0.4374, allocations: 248 kB / 0.5054 GB, free: 8.133 MB / 382.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.001708/0.4391, allocations: 1.172 MB / 0.5065 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003354/0.4395, allocations: 193.4 kB / 0.5067 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004652/0.4441, allocations: 1.893 MB / 0.5085 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006742/0.4448, allocations: 131.8 kB / 0.5087 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.4448, allocations: 0 / 0.5087 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.4448, allocations: 7.938 kB / 0.5087 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00838/0.4532, allocations: 3.847 MB / 0.5124 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.4532, allocations: 4 kB / 0.5124 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/0.4536, allocations: 79.89 kB / 0.5125 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004188/0.4578, allocations: 1.348 MB / 0.5138 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.212e-05/0.4579, allocations: 22.09 kB / 0.5138 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002428/0.4603, allocations: 1.73 MB / 0.5155 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4603, allocations: 9.875 kB / 0.5155 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003629/0.464, allocations: 2.3 MB / 0.5178 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000685/0.4647, allocations: 386.2 kB / 0.5182 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002651/0.465, allocations: 15.94 kB / 0.5182 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008656/0.4658, allocations: 70.02 kB / 0.5182 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.922e-05/0.4659, allocations: 37.98 kB / 0.5183 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.989e-05/0.466, allocations: 27.98 kB / 0.5183 GB, free: 10.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001948/0.468, allocations: 1.482 MB / 0.5197 GB, free: 9.266 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.468, allocations: 3.938 kB / 0.5198 GB, free: 9.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002555/0.4705, allocations: 0.5833 MB / 0.5203 GB, free: 8.68 MB / 398.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.004104/0.4746, allocations: 2.955 MB / 0.5232 GB, free: 5.703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004833/0.4795, allocations: 3.189 MB / 0.5263 GB, free: 2.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4795, allocations: 0 / 0.5263 GB, free: 2.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001347/0.4809, allocations: 0.7619 MB / 0.5271 GB, free: 1.781 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.482, allocations: 196.2 kB / 0.5273 GB, free: 1.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1515/0.6335, allocations: 46.5 MB / 0.5727 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/0.6355, allocations: 1.849 MB / 0.5745 GB, free: 13.17 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002902/0.6384, allocations: 1.28 MB / 0.5757 GB, free: 11.88 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/0.6395, allocations: 0.7844 MB / 0.5765 GB, free: 11.1 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6396, allocations: 4 kB / 0.5765 GB, free: 11.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2034/0.8429, allocations: 40.41 MB / 0.6159 GB, free: 141.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.99, allocations: 11.66 kB / 0.616 GB, free: 141.7 MB / 462.1 MB (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 & python3 -m fmpy simulate --output-file VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation_res.csv --start-time 0 --stop-time 6.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00248 VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation.fmu > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe 2>&1)