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.001424/0.001424, allocations: 112.5 kB / 15.73 MB, free: 76 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.001732/0.001732, allocations: 191.2 kB / 16.67 MB, free: 6.539 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.503/1.503, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1701/0.1701, allocations: 7.99 MB / 298.5 MB, free: 2.242 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 59.91 kB / 412.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2716, allocations: 51.21 MB / 463.8 MB, free: 18.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.005624/0.2773, allocations: 5.585 MB / 469.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003229/0.2805, allocations: 1.932 MB / 471.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004862/0.281, allocations: 22.81 kB / 471.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.2821, allocations: 403.5 kB / 471.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.2839, allocations: 0.7031 MB / 472.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.2842, allocations: 98.88 kB / 472.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002034/0.2863, allocations: 1.538 MB / 474.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004489/0.2867, allocations: 319.2 kB / 474.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005309/0.2873, allocations: 0.4962 MB / 474.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007946/0.2881, allocations: 0.7089 MB / 475.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.2883, allocations: 80.56 kB / 475.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007589/0.289, allocations: 383.1 kB / 476 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006466/0.2897, allocations: 0.7216 MB / 476.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006679/0.2904, allocations: 0.8705 MB / 477.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002918/0.2933, allocations: 2.792 MB / 480.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2933, allocations: 0 / 480.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2933, allocations: 0 / 480.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.939e-05/0.2934, allocations: 0 / 480.4 MB, free: 8.621 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.003384/0.2968, allocations: 2.202 MB / 482.6 MB, free: 6.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.2968, allocations: 9.375 kB / 482.6 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003603/0.2972, allocations: 372.8 kB / 483 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004817/0.302, allocations: 1.494 MB / 484.5 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.304, allocations: 0.8626 MB / 485.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.389e-05/0.3041, allocations: 81.06 kB / 485.4 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006899/0.3048, allocations: 254 kB / 485.7 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007146/0.3119, allocations: 5.039 MB / 490.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.557e-05/0.312, allocations: 31.2 kB / 490.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002067/0.3122, allocations: 67.03 kB / 490.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00166/0.3139, allocations: 1.151 MB / 492 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006854/0.3208, allocations: 4.301 MB / 496.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02577/0.3466, allocations: 20.63 MB / 0.5048 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.3485, allocations: 1.337 MB / 0.5061 GB, free: 6.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006236/0.3492, allocations: 443.2 kB / 0.5065 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.3492, allocations: 12.09 kB / 0.5065 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.3492, allocations: 46.44 kB / 0.5066 GB, free: 5.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=85): time 3.757e-06/0.3492, allocations: 0 / 0.5066 GB, free: 5.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.006534/0.3558, allocations: 4.072 MB / 0.5105 GB, free: 1.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.676e-05/0.3559, allocations: 140.5 kB / 0.5107 GB, free: 1.391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00331/0.3592, allocations: 2.398 MB / 0.513 GB, free: 14.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.105e-05/0.3593, allocations: 33.7 kB / 0.5131 GB, free: 14.92 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001514/0.3608, allocations: 1.847 MB / 0.5149 GB, free: 13.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004754/0.3613, allocations: 472.4 kB / 0.5153 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00109/0.3624, allocations: 0.8298 MB / 0.5161 GB, free: 11.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.3626, allocations: 357.9 kB / 0.5165 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001893/0.3645, allocations: 1.273 MB / 0.5177 GB, free: 10.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004282/0.3688, allocations: 3.916 MB / 0.5215 GB, free: 4.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007056/0.3759, allocations: 5.65 MB / 0.527 GB, free: 13.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.377e-05/0.376, allocations: 32 kB / 0.5271 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.008486/0.3845, allocations: 4.965 MB / 0.5319 GB, free: 8.926 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.072e-05/0.3846, allocations: 44 kB / 0.532 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001143/0.3857, allocations: 0.7633 MB / 0.5327 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001313/0.3858, allocations: 120.7 kB / 0.5328 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002593/0.3884, allocations: 0.9435 MB / 0.5337 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001554/0.3886, allocations: 183.3 kB / 0.5339 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/0.3909, allocations: 227.6 kB / 0.5341 GB, free: 6.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003714/0.3913, allocations: 252 kB / 0.5344 GB, free: 6.41 MB / 414.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.001917/0.3932, allocations: 1.206 MB / 0.5356 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003503/0.3935, allocations: 210.5 kB / 0.5358 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004944/0.3941, allocations: 259.1 kB / 0.536 GB, free: 4.723 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001011/0.3951, allocations: 0.7152 MB / 0.5367 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.3951, allocations: 4.125 kB / 0.5367 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.3951, allocations: 11.98 kB / 0.5367 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00511/0.4002, allocations: 3.21 MB / 0.5399 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/0.4003, allocations: 8 kB / 0.5399 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004895/0.4007, allocations: 156.1 kB / 0.54 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.532e-05/0.4008, allocations: 20.06 kB / 0.54 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.864e-05/0.4008, allocations: 35.97 kB / 0.5401 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.555e-05/0.4009, allocations: 15.94 kB / 0.5401 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.529e-05/0.4009, allocations: 23.81 kB / 0.5401 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/0.4028, allocations: 1.716 MB / 0.5418 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003774/0.4032, allocations: 283.5 kB / 0.542 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/0.4034, allocations: 31.97 kB / 0.5421 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006261/0.404, allocations: 47.95 kB / 0.5421 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.4042, allocations: 91.48 kB / 0.5422 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.497e-05/0.4043, allocations: 40 kB / 0.5422 GB, free: 13.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002128/0.4064, allocations: 1.486 MB / 0.5437 GB, free: 12.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4064, allocations: 0 / 0.5437 GB, free: 12.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003013/0.4094, allocations: 0.5116 MB / 0.5442 GB, free: 11.97 MB / 430.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.00278/0.4122, allocations: 2.373 MB / 0.5465 GB, free: 9.453 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004595/0.4168, allocations: 2.823 MB / 0.5493 GB, free: 6.656 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/0.4169, allocations: 0 / 0.5493 GB, free: 6.656 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007201/0.4176, allocations: 0.5352 MB / 0.5498 GB, free: 6.121 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.419, allocations: 206 kB / 0.55 GB, free: 5.918 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03795/0.457, allocations: 25.72 MB / 0.5751 GB, free: 8.582 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002362/0.4594, allocations: 1.918 MB / 0.577 GB, free: 6.629 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002839/0.4623, allocations: 1.416 MB / 0.5784 GB, free: 5.207 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/0.4635, allocations: 0.8469 MB / 0.5792 GB, free: 4.363 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4635, allocations: 0 / 0.5792 GB, free: 4.363 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2605/0.724, allocations: 32.19 MB / 0.6106 GB, free: 108.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.79, allocations: 5.141 kB / 0.6106 GB, free: 108.5 MB / 462.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)