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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 108.3 kB / 16.45 MB, free: 6.395 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 195.7 kB / 19.41 MB, free: 3.742 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04664/0.04664, allocations: 8.114 MB / 310.8 MB, free: 2.125 MB / 238.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 55.91 kB / 432.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09922/0.1011, allocations: 54.03 MB / 486.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.007447/0.1086, allocations: 5.659 MB / 492.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003935/0.1125, allocations: 2.014 MB / 494.1 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005707/0.1131, allocations: 19.94 kB / 494.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.1142, allocations: 426 kB / 494.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.1159, allocations: 0.7236 MB / 495.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.1163, allocations: 115.7 kB / 495.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002085/0.1184, allocations: 1.584 MB / 497 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004948/0.1189, allocations: 266.2 kB / 497.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008271/0.1197, allocations: 0.5213 MB / 497.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.1209, allocations: 0.8563 MB / 498.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002761/0.1211, allocations: 92 kB / 498.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008113/0.122, allocations: 407.3 kB / 499.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007244/0.1227, allocations: 0.7359 MB / 499.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009449/0.1236, allocations: 0.8846 MB / 0.489 GB, free: 11.47 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003312/0.1269, allocations: 2.87 MB / 0.4918 GB, free: 8.586 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1269, allocations: 0 / 0.4918 GB, free: 8.586 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1269, allocations: 0 / 0.4918 GB, free: 8.586 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.326e-05/0.127, allocations: 0 / 0.4918 GB, free: 8.586 MB / 366.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.003789/0.1308, allocations: 2.202 MB / 0.494 GB, free: 6.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.1308, allocations: 12.03 kB / 0.494 GB, free: 6.309 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004827/0.1313, allocations: 365.3 kB / 0.4943 GB, free: 5.941 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006522/0.1379, allocations: 1.754 MB / 0.496 GB, free: 4.184 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002393/0.1402, allocations: 0.8938 MB / 0.4969 GB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-05/0.1403, allocations: 82 kB / 0.497 GB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002567/0.1406, allocations: 107.9 kB / 0.4971 GB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007061/0.1476, allocations: 5.111 MB / 0.5021 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.217e-05/0.1477, allocations: 27.75 kB / 0.5021 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/0.1479, allocations: 59.91 kB / 0.5022 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002375/0.1502, allocations: 1.244 MB / 0.5034 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007526/0.1578, allocations: 4.49 MB / 0.5078 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2257/0.3834, allocations: 20.63 MB / 0.5279 GB, free: 20.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002/0.3854, allocations: 1.594 MB / 0.5295 GB, free: 20.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.3865, allocations: 0.6985 MB / 0.5301 GB, free: 19.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.3866, allocations: 90.44 kB / 0.5302 GB, free: 19.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.3866, allocations: 39.78 kB / 0.5303 GB, free: 19.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 2.855e-06/0.3866, allocations: 0 / 0.5303 GB, free: 19.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.05874/0.4454, allocations: 12.57 MB / 0.5425 GB, free: 15.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.4454, allocations: 139 kB / 0.5427 GB, free: 15.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002779/0.4482, allocations: 2.419 MB / 0.545 GB, free: 14.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.4483, allocations: 33.52 kB / 0.5451 GB, free: 14.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000683/0.449, allocations: 1.811 MB / 0.5468 GB, free: 12.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.4492, allocations: 405.9 kB / 0.5472 GB, free: 12.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006867/0.4499, allocations: 0.8168 MB / 0.548 GB, free: 12.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.425e-05/0.45, allocations: 356.8 kB / 0.5484 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/0.4515, allocations: 1.345 MB / 0.5497 GB, free: 11.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00229/0.4538, allocations: 3.95 MB / 0.5535 GB, free: 6.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004732/0.4585, allocations: 5.69 MB / 0.5591 GB, free: 15.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.295e-05/0.4586, allocations: 24 kB / 0.5591 GB, free: 15.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06353/0.5221, allocations: 14.6 MB / 0.5734 GB, free: 1.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.512e-05/0.5222, allocations: 45.78 kB / 0.5734 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001301/0.5223, allocations: 96 kB / 0.5735 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00451/0.5268, allocations: 1.453 MB / 0.5749 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002728/0.5296, allocations: 0.8724 MB / 0.5758 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003017/0.5326, allocations: 1.904 MB / 0.5776 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003533/0.5361, allocations: 0.6059 MB / 0.5782 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007415/0.5369, allocations: 262.1 kB / 0.5785 GB, free: 12.09 MB / 414.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.002087/0.539, allocations: 1.161 MB / 0.5796 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00042/0.5394, allocations: 202.6 kB / 0.5798 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004843/0.5442, allocations: 1.877 MB / 0.5816 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000647/0.5449, allocations: 119.8 kB / 0.5818 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/0.5449, allocations: 3.984 kB / 0.5818 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/0.5449, allocations: 4 kB / 0.5818 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009777/0.5547, allocations: 3.831 MB / 0.5855 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.5547, allocations: 4 kB / 0.5855 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004249/0.5551, allocations: 88 kB / 0.5856 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00411/0.5592, allocations: 1.345 MB / 0.5869 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.5594, allocations: 19.98 kB / 0.5869 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00262/0.562, allocations: 1.738 MB / 0.5886 GB, free: 1.621 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.562, allocations: 4.312 kB / 0.5886 GB, free: 1.617 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004047/0.566, allocations: 2.281 MB / 0.5909 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/0.5671, allocations: 403.4 kB / 0.5912 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002723/0.5674, allocations: 19.38 kB / 0.5913 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008634/0.5682, allocations: 63.89 kB / 0.5913 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.5683, allocations: 43.89 kB / 0.5914 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.798e-05/0.5684, allocations: 36.06 kB / 0.5914 GB, free: 14.76 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002478/0.5709, allocations: 1.482 MB / 0.5928 GB, free: 13.26 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5709, allocations: 0 / 0.5928 GB, free: 13.26 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003365/0.5743, allocations: 0.5851 MB / 0.5934 GB, free: 12.67 MB / 430.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.004919/0.5792, allocations: 2.956 MB / 0.5963 GB, free: 9.699 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005855/0.585, allocations: 2.949 MB / 0.5992 GB, free: 6.773 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.585, allocations: 4 kB / 0.5992 GB, free: 6.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.5865, allocations: 0.7072 MB / 0.5999 GB, free: 6.066 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.5879, allocations: 189.7 kB / 0.6001 GB, free: 5.891 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1514/0.7393, allocations: 45.06 MB / 0.6441 GB, free: 5.449 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001888/0.7412, allocations: 1.85 MB / 0.6459 GB, free: 3.57 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002748/0.744, allocations: 1.275 MB / 0.6471 GB, free: 2.289 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/0.7451, allocations: 0.7844 MB / 0.6479 GB, free: 1.504 MB / 478.1 MB Notification: Performance of SimCode: time 1.162e-06/0.7451, allocations: 0 / 0.6479 GB, free: 1.504 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0851/0.8302, allocations: 41.18 MB / 0.6881 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.97/18.8, allocations: 10.5 kB / 0.6881 GB, free: 8.535 MB / 0.5137 GB " [Timeout remaining time 641] (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: 21.33108439296484] Failed to read output from testmodel.py, exit status != 0: 18.9279979406856 18.950113368 18.818968466 Calling exit ...