Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.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.CheckFunctionDifferentiation_FlatRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads",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.0007862/0.0007863, allocations: 97.88 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005555/0.005555, allocations: 171.8 kB / 16.27 MB, free: 6.648 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.241/1.241, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1314/0.1314, allocations: 7.982 MB / 299.4 MB, free: 3.234 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003213, allocations: 8.281 kB / 362.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1108, allocations: 52.21 MB / 414.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.008315/0.1192, allocations: 8.595 MB / 423.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.259/0.3783, allocations: 2.47 MB / 425.8 MB, free: 34.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001937/0.3803, allocations: 31 kB / 425.8 MB, free: 34.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.3813, allocations: 225.1 kB / 426 MB, free: 34.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.3839, allocations: 0.667 MB / 426.7 MB, free: 34.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.3843, allocations: 88.72 kB / 426.8 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00291/0.3873, allocations: 2.186 MB / 428.9 MB, free: 34.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006983/0.388, allocations: 397.2 kB / 429.3 MB, free: 33.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007365/0.3887, allocations: 436.6 kB / 429.8 MB, free: 33.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.3899, allocations: 0.7753 MB / 430.5 MB, free: 33.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.39, allocations: 55.16 kB / 430.6 MB, free: 33.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009545/0.391, allocations: 393.3 kB / 431 MB, free: 33.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007026/0.3917, allocations: 0.7155 MB / 431.7 MB, free: 33.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008014/0.3925, allocations: 0.8906 MB / 432.6 MB, free: 33.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.3951, allocations: 2.576 MB / 435.2 MB, free: 32.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.3951, allocations: 3.375 kB / 435.2 MB, free: 32.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3952, allocations: 3.938 kB / 435.2 MB, free: 32.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.966e-05/0.3952, allocations: 0 / 435.2 MB, free: 32.69 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: 763 * Number of variables: 763 Notification: Performance of Generate backend data structure: time 0.003419/0.3986, allocations: 1.768 MB / 436.9 MB, free: 31.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.691e-05/0.3987, allocations: 13.09 kB / 436.9 MB, free: 31.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005631/0.3993, allocations: 374.2 kB / 437.3 MB, free: 31.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005118/0.4044, allocations: 1.525 MB / 438.8 MB, free: 31.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/0.4063, allocations: 0.8544 MB / 439.7 MB, free: 31.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.189e-05/0.4064, allocations: 89.58 kB / 439.8 MB, free: 31.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007341/0.4071, allocations: 251.2 kB / 440 MB, free: 31.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007403/0.4146, allocations: 5.04 MB / 445.1 MB, free: 29.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.549e-05/0.4147, allocations: 25.59 kB / 445.1 MB, free: 29.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00022/0.4149, allocations: 62.88 kB / 445.1 MB, free: 29.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00214/0.417, allocations: 1.153 MB / 446.3 MB, free: 29.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008064/0.4251, allocations: 4.298 MB / 450.6 MB, free: 27.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02375/0.4489, allocations: 20.68 MB / 471.3 MB, free: 27.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.4511, allocations: 1.333 MB / 472.6 MB, free: 26.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006421/0.4518, allocations: 447 kB / 473 MB, free: 26.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.4518, allocations: 6.812 kB / 473 MB, free: 26.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.4518, allocations: 39.72 kB / 473.1 MB, free: 26.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=85): time 3.877e-06/0.4519, allocations: 2.531 kB / 473.1 MB, free: 26.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=114): time 0.006965/0.4588, allocations: 3.94 MB / 477 MB, free: 24.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.459, allocations: 139.5 kB / 477.2 MB, free: 24.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003928/0.4629, allocations: 2.397 MB / 479.6 MB, free: 23.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.345e-05/0.463, allocations: 40.08 kB / 479.6 MB, free: 23.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00123/0.4642, allocations: 1.766 MB / 481.4 MB, free: 22.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003908/0.4646, allocations: 452.9 kB / 481.8 MB, free: 22.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004805/0.4651, allocations: 350.3 kB / 482.2 MB, free: 21.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.4653, allocations: 358 kB / 482.5 MB, free: 21.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002216/0.4675, allocations: 1.278 MB / 483.8 MB, free: 21.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005016/0.4725, allocations: 3.9 MB / 487.7 MB, free: 17.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008124/0.4807, allocations: 5.654 MB / 493.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/0.4808, allocations: 30.84 kB / 493.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.009777/0.4906, allocations: 4.964 MB / 498.3 MB, free: 10.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.225e-05/0.4907, allocations: 48 kB / 498.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00126/0.492, allocations: 0.7681 MB / 499.1 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003381/0.4923, allocations: 124.7 kB / 499.3 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002953/0.4953, allocations: 0.9425 MB / 0.4885 GB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002775/0.4956, allocations: 187.5 kB / 0.4887 GB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003065/0.4987, allocations: 215 kB / 0.4889 GB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004603/0.4991, allocations: 262.3 kB / 0.4891 GB, free: 7.848 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * 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 (509): * Single equations (assignments): 503 * 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.002199/0.5013, allocations: 1.2 MB / 0.4903 GB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006278/0.502, allocations: 203.5 kB / 0.4905 GB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007229/0.5027, allocations: 263.2 kB / 0.4907 GB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001049/0.5038, allocations: 0.7147 MB / 0.4914 GB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.5038, allocations: 4 kB / 0.4914 GB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.5038, allocations: 7.703 kB / 0.4914 GB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006233/0.5101, allocations: 3.203 MB / 0.4946 GB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.5101, allocations: 11.94 kB / 0.4946 GB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005171/0.5106, allocations: 155.8 kB / 0.4947 GB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.67e-05/0.5106, allocations: 12 kB / 0.4947 GB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.16e-05/0.5107, allocations: 32.64 kB / 0.4948 GB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.619e-05/0.5107, allocations: 15.94 kB / 0.4948 GB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-05/0.5108, allocations: 15.94 kB / 0.4948 GB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.5128, allocations: 1.725 MB / 0.4965 GB, free: 448 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006314/0.5134, allocations: 278.3 kB / 0.4968 GB, free: 148 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004099/0.5138, allocations: 29.31 kB / 0.4968 GB, free: 120 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008744/0.5147, allocations: 43.95 kB / 0.4968 GB, free: 76 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.5149, allocations: 81.45 kB / 0.4969 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.834e-05/0.5149, allocations: 43.94 kB / 0.4969 GB, free: 15.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002403/0.5173, allocations: 1.482 MB / 0.4984 GB, free: 14.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5174, allocations: 0 / 0.4984 GB, free: 14.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003727/0.5211, allocations: 0.517 MB / 0.4989 GB, free: 13.94 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (84): * Single equations (assignments): 78 * 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.002683/0.5238, allocations: 2.358 MB / 0.5012 GB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004431/0.5282, allocations: 2.799 MB / 0.5039 GB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.5282, allocations: 0.5 kB / 0.5039 GB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006485/0.5289, allocations: 0.5422 MB / 0.5045 GB, free: 8.129 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003701/0.5326, allocations: 204 kB / 0.5047 GB, free: 7.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03956/0.5722, allocations: 28.09 MB / 0.5321 GB, free: 7.398 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002411/0.5746, allocations: 1.918 MB / 0.534 GB, free: 5.441 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00341/0.5781, allocations: 1.406 MB / 0.5353 GB, free: 4.031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/0.5794, allocations: 0.8468 MB / 0.5362 GB, free: 3.188 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5794, allocations: 0 / 0.5362 GB, free: 3.188 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3372/0.9166, allocations: 33.87 MB / 0.5692 GB, free: 1.598 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004057/0.9171, allocations: 242.1 kB / 0.5695 GB, free: 1.332 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/3.424, allocations: 0 / 0.5695 GB, free: 1.332 MB / 446.1 MB (rm -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads.fmu > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1)