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.00149/0.00149, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001886/0.001886, allocations: 214.6 kB / 22.24 MB, free: 5.262 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.793 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.04576/0.04576, allocations: 8.097 MB / 320.5 MB, free: 11.07 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.001933/0.001933, allocations: 67.91 kB / 446.1 MB, free: 1.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1022, allocations: 55.24 MB / 0.4896 GB, free: 10.2 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.007574/0.1098, allocations: 4.964 MB / 0.4944 GB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004246/0.114, allocations: 1.932 MB / 0.4963 GB, free: 3.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007082/0.1148, allocations: 23.94 kB / 0.4963 GB, free: 3.246 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.116, allocations: 430 kB / 0.4967 GB, free: 2.824 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.1178, allocations: 0.7081 MB / 0.4974 GB, free: 2.113 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.1182, allocations: 139.6 kB / 0.4976 GB, free: 1.977 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002052/0.1202, allocations: 1.518 MB / 0.4991 GB, free: 468 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006608/0.1209, allocations: 353.5 kB / 0.4994 GB, free: 100 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009246/0.1218, allocations: 0.5096 MB / 0.4999 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/0.1232, allocations: 0.786 MB / 0.5007 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003443/0.1235, allocations: 84 kB / 0.5007 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008423/0.1243, allocations: 323.4 kB / 0.501 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000867/0.1252, allocations: 0.7203 MB / 0.5017 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009789/0.1262, allocations: 0.5931 MB / 0.5023 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003585/0.1298, allocations: 2.78 MB / 0.505 GB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1298, allocations: 0 / 0.505 GB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.1298, allocations: 0 / 0.505 GB, free: 10.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001228/0.1299, allocations: 0 / 0.505 GB, free: 10.29 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.00473/0.1346, allocations: 2.103 MB / 0.5071 GB, free: 8.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.1347, allocations: 11.97 kB / 0.5071 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006252/0.1353, allocations: 369.6 kB / 0.5075 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004901/0.1402, allocations: 1.501 MB / 0.5089 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.142, allocations: 0.8023 MB / 0.5097 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.298e-05/0.1421, allocations: 86.05 kB / 0.5098 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006741/0.1428, allocations: 251.7 kB / 0.51 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1905/0.3333, allocations: 5.043 MB / 0.515 GB, free: 24.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.338e-05/0.3333, allocations: 27.69 kB / 0.515 GB, free: 24.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/0.3335, allocations: 66.97 kB / 0.515 GB, free: 24.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001478/0.335, allocations: 1.15 MB / 0.5162 GB, free: 24.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006254/0.3412, allocations: 4.295 MB / 0.5204 GB, free: 24.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01776/0.359, allocations: 19.92 MB / 0.5398 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.3605, allocations: 0.8353 MB / 0.5406 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005043/0.361, allocations: 417.2 kB / 0.541 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.361, allocations: 6.422 kB / 0.541 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.361, allocations: 43.77 kB / 0.5411 GB, free: 8.992 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 2.855e-06/0.361, allocations: 5.469 kB / 0.5411 GB, free: 8.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01106/0.3721, allocations: 4.515 MB / 0.5455 GB, free: 7.113 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.3721, allocations: 140.7 kB / 0.5456 GB, free: 6.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002761/0.3749, allocations: 2.549 MB / 0.5481 GB, free: 5.949 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.78e-05/0.375, allocations: 41.34 kB / 0.5481 GB, free: 5.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007825/0.3757, allocations: 1.836 MB / 0.5499 GB, free: 4.469 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003055/0.376, allocations: 480 kB / 0.5504 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000923/0.377, allocations: 0.8346 MB / 0.5512 GB, free: 3.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.639e-05/0.3771, allocations: 355.6 kB / 0.5516 GB, free: 3.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/0.3788, allocations: 1.312 MB / 0.5528 GB, free: 2.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002868/0.3816, allocations: 3.927 MB / 0.5567 GB, free: 14.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006669/0.3883, allocations: 5.705 MB / 0.5622 GB, free: 8.465 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.366e-05/0.3883, allocations: 28 kB / 0.5623 GB, free: 8.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.007868/0.3962, allocations: 5.041 MB / 0.5672 GB, free: 3.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.333e-05/0.3963, allocations: 48.25 kB / 0.5672 GB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001187/0.3975, allocations: 0.8344 MB / 0.568 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001396/0.3976, allocations: 128 kB / 0.5682 GB, free: 2.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002784/0.4004, allocations: 0.9587 MB / 0.5691 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001508/0.4005, allocations: 179.3 kB / 0.5693 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/0.4029, allocations: 219.7 kB / 0.5695 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003312/0.4032, allocations: 260 kB / 0.5697 GB, free: 0.7969 MB / 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.001722/0.405, allocations: 1.207 MB / 0.5709 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003692/0.4053, allocations: 207.2 kB / 0.5711 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004386/0.4058, allocations: 262.9 kB / 0.5714 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001193/0.407, allocations: 0.7962 MB / 0.5721 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.407, allocations: 0 / 0.5721 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.407, allocations: 7.922 kB / 0.5721 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006135/0.4131, allocations: 3.182 MB / 0.5753 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.4131, allocations: 4 kB / 0.5753 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007431/0.4139, allocations: 171.7 kB / 0.5754 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/0.4139, allocations: 9.969 kB / 0.5754 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.974e-05/0.4139, allocations: 27.98 kB / 0.5755 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/0.414, allocations: 8.375 kB / 0.5755 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/0.414, allocations: 12 kB / 0.5755 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/0.4163, allocations: 1.787 MB / 0.5772 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000913/0.4172, allocations: 310.4 kB / 0.5775 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/0.4174, allocations: 20 kB / 0.5775 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007592/0.4182, allocations: 63.84 kB / 0.5776 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.4183, allocations: 63.83 kB / 0.5777 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.354e-05/0.4184, allocations: 39.98 kB / 0.5777 GB, free: 8.473 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002245/0.4206, allocations: 1.477 MB / 0.5791 GB, free: 6.977 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4206, allocations: 0 / 0.5791 GB, free: 6.977 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002879/0.4235, allocations: 0.5311 MB / 0.5797 GB, free: 6.445 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.002871/0.4264, allocations: 2.446 MB / 0.582 GB, free: 3.926 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004477/0.4309, allocations: 2.816 MB / 0.5848 GB, free: 1.137 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.4309, allocations: 0 / 0.5848 GB, free: 1.137 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008586/0.4317, allocations: 0.598 MB / 0.5854 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.4331, allocations: 181.2 kB / 0.5856 GB, free: 372 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03523/0.4683, allocations: 25.73 MB / 0.6107 GB, free: 3.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001748/0.47, allocations: 1.347 MB / 0.612 GB, free: 1.781 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003172/0.4732, allocations: 1.438 MB / 0.6134 GB, free: 348 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/0.4745, allocations: 0.8508 MB / 0.6142 GB, free: 15.48 MB / 462.1 MB Notification: Performance of SimCode: time 1.143e-06/0.4745, allocations: 0 / 0.6142 GB, free: 15.48 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0773/0.5518, allocations: 32.96 MB / 0.6464 GB, free: 14.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.84, allocations: 4 kB / 0.6464 GB, free: 14.98 MB / 494.1 MB " [Timeout remaining time 647] (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: 15.438368029892445] Failed to read output from testmodel.py, exit status != 0: 12.95873288391158 12.976249931 12.843041504 Calling exit ...