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.001043/0.001043, 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.001106/0.001106, allocations: 195.6 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1572/0.1572, allocations: 7.995 MB / 298.4 MB, free: 2.223 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 63.89 kB / 360.7 MB, free: 14.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09006/0.09151, allocations: 51.21 MB / 411.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.007118/0.09867, allocations: 5.626 MB / 417.5 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003754/0.1024, allocations: 2.002 MB / 419.5 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006595/0.1031, allocations: 23.94 kB / 419.6 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.1042, allocations: 406.2 kB / 420 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.1059, allocations: 0.7197 MB / 420.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.1063, allocations: 111.7 kB / 420.8 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001847/0.1082, allocations: 1.573 MB / 422.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005749/0.1087, allocations: 334.4 kB / 422.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.164/0.2727, allocations: 0.5081 MB / 423.2 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.2742, allocations: 0.7771 MB / 424 MB, free: 35.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004622/0.2747, allocations: 93.06 kB / 424.1 MB, free: 35.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.2758, allocations: 392.7 kB / 424.5 MB, free: 35.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007404/0.2765, allocations: 0.7128 MB / 425.2 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.2776, allocations: 0.8869 MB / 426.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002691/0.2803, allocations: 2.701 MB / 428.8 MB, free: 34.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2803, allocations: 0.5 kB / 428.8 MB, free: 34.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2804, allocations: 4.312 kB / 428.8 MB, free: 34.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.755e-05/0.2804, allocations: 0 / 428.8 MB, free: 34.76 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.003078/0.2835, allocations: 2.146 MB / 430.9 MB, free: 33.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.2836, allocations: 9.188 kB / 430.9 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000325/0.2839, allocations: 364.1 kB / 431.3 MB, free: 33.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00733/0.2913, allocations: 1.738 MB / 433 MB, free: 33.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.2927, allocations: 0.8893 MB / 433.9 MB, free: 33.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.149e-05/0.2928, allocations: 80.11 kB / 434 MB, free: 33.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002416/0.2931, allocations: 108.5 kB / 434.1 MB, free: 33.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006027/0.2991, allocations: 5.113 MB / 439.2 MB, free: 31.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.502e-05/0.2992, allocations: 24.47 kB / 439.2 MB, free: 31.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002315/0.2994, allocations: 64.72 kB / 439.3 MB, free: 31.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0024/0.3018, allocations: 1.235 MB / 440.5 MB, free: 31.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006788/0.3086, allocations: 4.494 MB / 445 MB, free: 29.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0193/0.328, allocations: 20.66 MB / 465.7 MB, free: 30 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/0.3304, allocations: 1.674 MB / 467.3 MB, free: 28.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.3316, allocations: 0.7633 MB / 468.1 MB, free: 28.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.3317, allocations: 88 kB / 468.2 MB, free: 28.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.3317, allocations: 41.19 kB / 468.2 MB, free: 28.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.246e-06/0.3318, allocations: 0 / 468.2 MB, free: 28.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=96): time 0.06697/0.3987, allocations: 12.57 MB / 480.8 MB, free: 26.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/0.3988, allocations: 146.8 kB / 480.9 MB, free: 26.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003953/0.4028, allocations: 2.402 MB / 483.3 MB, free: 25.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.403, allocations: 39.31 kB / 483.4 MB, free: 25.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008771/0.4038, allocations: 1.731 MB / 485.1 MB, free: 23.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003952/0.4043, allocations: 391 kB / 485.5 MB, free: 23.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001123/0.4054, allocations: 0.7981 MB / 486.3 MB, free: 22.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4055, allocations: 358.7 kB / 486.6 MB, free: 22.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/0.4074, allocations: 1.345 MB / 488 MB, free: 21.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002548/0.41, allocations: 3.954 MB / 491.9 MB, free: 17.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005138/0.4152, allocations: 5.692 MB / 497.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.731e-05/0.4152, allocations: 28 kB / 497.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06897/0.4842, allocations: 14.61 MB / 0.5003 GB, free: 13.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.4844, allocations: 53.72 kB / 0.5003 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000136/0.4845, allocations: 92 kB / 0.5004 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004503/0.489, allocations: 1.457 MB / 0.5018 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002632/0.4917, allocations: 0.8733 MB / 0.5027 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002798/0.4945, allocations: 1.909 MB / 0.5045 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003053/0.4976, allocations: 0.5901 MB / 0.5051 GB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005454/0.4981, allocations: 248 kB / 0.5054 GB, free: 8.047 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.001725/0.4999, allocations: 1.174 MB / 0.5065 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003512/0.5002, allocations: 193.4 kB / 0.5067 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004767/0.505, allocations: 1.89 MB / 0.5085 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006794/0.5057, allocations: 123.8 kB / 0.5087 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.5057, allocations: 0 / 0.5087 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.5057, allocations: 11.92 kB / 0.5087 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008678/0.5144, allocations: 3.85 MB / 0.5124 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.5144, allocations: 0 / 0.5124 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.5148, allocations: 83.89 kB / 0.5125 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004164/0.519, allocations: 1.349 MB / 0.5138 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.958e-05/0.5191, allocations: 19.98 kB / 0.5138 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002406/0.5215, allocations: 1.735 MB / 0.5155 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5215, allocations: 0 / 0.5155 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003684/0.5252, allocations: 2.299 MB / 0.5178 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007043/0.5259, allocations: 390.3 kB / 0.5182 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003145/0.5263, allocations: 15.92 kB / 0.5182 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009185/0.5272, allocations: 67.27 kB / 0.5182 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.789e-05/0.5273, allocations: 42.7 kB / 0.5183 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.186e-05/0.5274, allocations: 27.98 kB / 0.5183 GB, free: 10.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002138/0.5295, allocations: 1.486 MB / 0.5197 GB, free: 9.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5295, allocations: 3.938 kB / 0.5198 GB, free: 9.176 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002741/0.5323, allocations: 0.58 MB / 0.5203 GB, free: 8.598 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.004171/0.5365, allocations: 2.945 MB / 0.5232 GB, free: 5.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005219/0.5417, allocations: 3.196 MB / 0.5263 GB, free: 2.465 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.5417, allocations: 0 / 0.5263 GB, free: 2.465 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.5431, allocations: 0.764 MB / 0.5271 GB, free: 1.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.5444, allocations: 192.3 kB / 0.5272 GB, free: 1.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1555/0.7, allocations: 46.5 MB / 0.5727 GB, free: 14.97 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002029/0.702, allocations: 1.859 MB / 0.5745 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003038/0.7051, allocations: 1.28 MB / 0.5757 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/0.7062, allocations: 0.7844 MB / 0.5765 GB, free: 11.02 MB / 462.1 MB Notification: Performance of SimCode: time 7.02e-07/0.7062, allocations: 0 / 0.5765 GB, free: 11.02 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3243/1.031, allocations: 40.4 MB / 0.6159 GB, free: 141.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/16.68, allocations: 7.516 kB / 0.6159 GB, free: 141.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation_fmu --startTime=0 --stopTime=6.2 --timeout=50 --tolerance=1e-06 VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation.fmu > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe 2>&1)