Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.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.001576/0.001576, allocations: 110.4 kB / 18.94 MB, free: 2.957 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.001771/0.001771, allocations: 214.7 kB / 22.25 MB, free: 5.133 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 8.023 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.06114/0.06114, allocations: 8.109 MB / 320.5 MB, free: 11.4 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: "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_CircleRoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_CircleRoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 63.91 kB / 446.2 MB, free: 2.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1215, allocations: 55.24 MB / 0.4896 GB, free: 10.69 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.007472/0.129, allocations: 5.579 MB / 0.4951 GB, free: 5.074 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004348/0.1333, allocations: 2.087 MB / 0.4971 GB, free: 2.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000583/0.1339, allocations: 19.94 kB / 0.4972 GB, free: 2.961 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.135, allocations: 442 kB / 0.4976 GB, free: 2.527 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.1366, allocations: 0.7042 MB / 0.4983 GB, free: 1.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.137, allocations: 143.6 kB / 0.4984 GB, free: 1.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001993/0.139, allocations: 1.51 MB / 0.4999 GB, free: 172 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005365/0.1395, allocations: 373.5 kB / 0.5002 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006769/0.1402, allocations: 0.4979 MB / 0.5007 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.1412, allocations: 0.7939 MB / 0.5015 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.1414, allocations: 84 kB / 0.5016 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008152/0.1422, allocations: 451.2 kB / 0.502 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006808/0.1429, allocations: 0.728 MB / 0.5027 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007927/0.1437, allocations: 0.8534 MB / 0.5035 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003136/0.1468, allocations: 2.788 MB / 0.5063 GB, free: 9.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1468, allocations: 0 / 0.5063 GB, free: 9.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1468, allocations: 0 / 0.5063 GB, free: 9.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.247e-05/0.1469, allocations: 0 / 0.5063 GB, free: 9.578 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: 764 * Number of variables: 764 Notification: Performance of Generate backend data structure: time 0.003554/0.1504, allocations: 2.103 MB / 0.5083 GB, free: 7.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.1505, allocations: 12.03 kB / 0.5083 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004267/0.1509, allocations: 373.6 kB / 0.5087 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004722/0.1556, allocations: 1.497 MB / 0.5102 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.1573, allocations: 0.8022 MB / 0.5109 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.82e-05/0.1573, allocations: 85.98 kB / 0.511 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006543/0.158, allocations: 247.7 kB / 0.5113 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2109/0.3689, allocations: 5.045 MB / 0.5162 GB, free: 24.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.952e-05/0.369, allocations: 29.66 kB / 0.5162 GB, free: 24.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001969/0.3692, allocations: 64.25 kB / 0.5163 GB, free: 24.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001576/0.3708, allocations: 1.15 MB / 0.5174 GB, free: 24.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00699/0.3777, allocations: 4.296 MB / 0.5216 GB, free: 24.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02104/0.3988, allocations: 20.57 MB / 0.5417 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.4003, allocations: 0.8385 MB / 0.5425 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005565/0.4009, allocations: 409.3 kB / 0.5429 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.4009, allocations: 5.344 kB / 0.5429 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.401, allocations: 47.75 kB / 0.5429 GB, free: 8.727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 3.717e-06/0.401, allocations: 0 / 0.5429 GB, free: 8.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01133/0.4123, allocations: 4.517 MB / 0.5473 GB, free: 6.824 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.4123, allocations: 141.7 kB / 0.5475 GB, free: 6.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003115/0.4155, allocations: 2.396 MB / 0.5498 GB, free: 5.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.4156, allocations: 40.19 kB / 0.5499 GB, free: 5.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000911/0.4165, allocations: 1.832 MB / 0.5516 GB, free: 3.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003657/0.4169, allocations: 486.9 kB / 0.5521 GB, free: 3.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008906/0.4177, allocations: 0.8293 MB / 0.5529 GB, free: 3.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.4178, allocations: 355.7 kB / 0.5533 GB, free: 2.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/0.4193, allocations: 1.316 MB / 0.5545 GB, free: 2.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003297/0.4226, allocations: 3.92 MB / 0.5584 GB, free: 13.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006691/0.4293, allocations: 5.714 MB / 0.564 GB, free: 8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.354e-05/0.4293, allocations: 28 kB / 0.564 GB, free: 7.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.008091/0.4374, allocations: 5.037 MB / 0.5689 GB, free: 2.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.633e-05/0.4375, allocations: 48.06 kB / 0.5689 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001354/0.4389, allocations: 0.8402 MB / 0.5698 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001367/0.439, allocations: 123.9 kB / 0.5699 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002967/0.442, allocations: 0.9552 MB / 0.5708 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001594/0.4421, allocations: 179.3 kB / 0.571 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/0.4446, allocations: 223.3 kB / 0.5712 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003377/0.445, allocations: 259.8 kB / 0.5714 GB, free: 348 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * 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 (512): * Single equations (assignments): 506 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001843/0.4468, allocations: 1.203 MB / 0.5726 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004394/0.4473, allocations: 206.6 kB / 0.5728 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005092/0.4478, allocations: 266.9 kB / 0.5731 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00121/0.449, allocations: 0.7903 MB / 0.5738 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.449, allocations: 0 / 0.5738 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.449, allocations: 7.984 kB / 0.5739 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006414/0.4554, allocations: 3.326 MB / 0.5771 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.4554, allocations: 4 kB / 0.5771 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007783/0.4562, allocations: 179.7 kB / 0.5773 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.938e-06/0.4562, allocations: 4 kB / 0.5773 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.187e-05/0.4563, allocations: 23.98 kB / 0.5773 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.074e-05/0.4563, allocations: 8.438 kB / 0.5773 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.4563, allocations: 11.94 kB / 0.5773 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002385/0.4587, allocations: 1.785 MB / 0.5791 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008298/0.4595, allocations: 314.4 kB / 0.5794 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/0.4597, allocations: 20.27 kB / 0.5794 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007565/0.4605, allocations: 59.92 kB / 0.5794 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.4606, allocations: 71.77 kB / 0.5795 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.34e-05/0.4607, allocations: 39.92 kB / 0.5796 GB, free: 7.859 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00211/0.4628, allocations: 1.474 MB / 0.581 GB, free: 6.367 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4628, allocations: 0 / 0.581 GB, free: 6.367 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002779/0.4656, allocations: 0.5349 MB / 0.5815 GB, free: 5.832 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (87): * Single equations (assignments): 81 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002825/0.4684, allocations: 2.438 MB / 0.5839 GB, free: 3.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004588/0.473, allocations: 2.819 MB / 0.5866 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.473, allocations: 3.938 kB / 0.5866 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008625/0.4739, allocations: 0.5828 MB / 0.5872 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.4753, allocations: 189.6 kB / 0.5874 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03705/0.5123, allocations: 25.76 MB / 0.6126 GB, free: 2.531 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002102/0.5144, allocations: 1.916 MB / 0.6144 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003266/0.5177, allocations: 1.441 MB / 0.6158 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/0.519, allocations: 0.8508 MB / 0.6167 GB, free: 14.29 MB / 462.1 MB Notification: Performance of SimCode: time 1.293e-06/0.519, allocations: 0 / 0.6167 GB, free: 14.29 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08452/0.6035, allocations: 37.06 MB / 0.6529 GB, free: 9.461 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.59/16.19, allocations: 4 kB / 0.6529 GB, free: 9.457 MB / 494.1 MB " [Timeout remaining time 644] (rm -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_CircleRoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_CircleRoads.fmu > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.81325089209713] Failed to read output from testmodel.py, exit status != 0: 16.32233165903017 16.349500986 16.197429724 Calling exit ...