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: translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 111.9 kB / 16.41 MB, free: 6.469 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.001232/0.001232, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04135/0.04135, allocations: 7.992 MB / 299.2 MB, free: 7.137 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 67.89 kB / 413.8 MB, free: 22.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08671/0.08799, allocations: 51.21 MB / 465 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.006937/0.09497, allocations: 5.58 MB / 470.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003702/0.09871, allocations: 1.928 MB / 472.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006096/0.09935, allocations: 24 kB / 472.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.1005, allocations: 414 kB / 472.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.1024, allocations: 0.6963 MB / 473.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.1027, allocations: 99.69 kB / 473.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002074/0.1048, allocations: 1.543 MB / 475.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005425/0.1054, allocations: 314.1 kB / 475.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007157/0.1061, allocations: 0.494 MB / 476 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009685/0.1071, allocations: 0.7043 MB / 476.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002337/0.1073, allocations: 80 kB / 476.8 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008143/0.1082, allocations: 399.2 kB / 477.2 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006566/0.1088, allocations: 0.7167 MB / 477.9 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000889/0.1097, allocations: 0.8689 MB / 478.8 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002723/0.1125, allocations: 2.778 MB / 481.6 MB, free: 2.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.1125, allocations: 3.984 kB / 481.6 MB, free: 2.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1125, allocations: 4 kB / 481.6 MB, free: 2.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.541e-05/0.1126, allocations: 0 / 481.6 MB, free: 2.922 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.003899/0.1165, allocations: 2.139 MB / 483.7 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1165, allocations: 8.031 kB / 483.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005046/0.1216, allocations: 1.48 MB / 485.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.123, allocations: 0.8586 MB / 486.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.479e-05/0.1231, allocations: 82.03 kB / 486.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006851/0.1238, allocations: 251.6 kB / 486.4 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006461/0.1303, allocations: 5.042 MB / 491.4 MB, free: 8.484 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.052e-05/0.1304, allocations: 23.72 kB / 491.5 MB, free: 8.461 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002527/0.1306, allocations: 67.84 kB / 491.5 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001771/0.1324, allocations: 1.154 MB / 492.7 MB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006772/0.1392, allocations: 4.293 MB / 497 MB, free: 2.938 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2121/0.3513, allocations: 20.59 MB / 0.5054 GB, free: 30.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.3528, allocations: 1.327 MB / 0.5067 GB, free: 29.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004956/0.3533, allocations: 448.5 kB / 0.5072 GB, free: 29.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.3533, allocations: 10.02 kB / 0.5072 GB, free: 29.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.3533, allocations: 40.34 kB / 0.5072 GB, free: 29.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=85): time 2.755e-06/0.3533, allocations: 1.094 kB / 0.5072 GB, free: 29.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.005625/0.359, allocations: 3.973 MB / 0.5111 GB, free: 28.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.3591, allocations: 143.4 kB / 0.5112 GB, free: 27.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003082/0.3621, allocations: 2.4 MB / 0.5136 GB, free: 27.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.36e-05/0.3622, allocations: 38.95 kB / 0.5136 GB, free: 27.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009585/0.3632, allocations: 1.757 MB / 0.5153 GB, free: 26.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003919/0.3636, allocations: 453.3 kB / 0.5158 GB, free: 25.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008876/0.3645, allocations: 0.8194 MB / 0.5166 GB, free: 25.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.989e-05/0.3646, allocations: 359 kB / 0.5169 GB, free: 25.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.3662, allocations: 1.274 MB / 0.5181 GB, free: 24.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00256/0.3688, allocations: 3.904 MB / 0.522 GB, free: 20.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004514/0.3733, allocations: 5.658 MB / 0.5275 GB, free: 16.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.003e-05/0.3734, allocations: 26.94 kB / 0.5275 GB, free: 16.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.005891/0.3793, allocations: 4.971 MB / 0.5324 GB, free: 14.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.305e-05/0.3794, allocations: 45.06 kB / 0.5324 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007437/0.3801, allocations: 0.7657 MB / 0.5331 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.833e-05/0.3802, allocations: 123.8 kB / 0.5333 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002285/0.3825, allocations: 0.9403 MB / 0.5342 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.692e-05/0.3826, allocations: 185.2 kB / 0.5344 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/0.3848, allocations: 221.1 kB / 0.5346 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002386/0.3851, allocations: 259.8 kB / 0.5348 GB, free: 13.47 MB / 382.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.001153/0.3862, allocations: 1.205 MB / 0.536 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002775/0.3865, allocations: 201.3 kB / 0.5362 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004333/0.387, allocations: 266.8 kB / 0.5364 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007051/0.3877, allocations: 0.7115 MB / 0.5371 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.3877, allocations: 0 / 0.5371 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.3877, allocations: 3.75 kB / 0.5371 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00368/0.3914, allocations: 3.206 MB / 0.5403 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.3914, allocations: 8 kB / 0.5403 GB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004286/0.3919, allocations: 157.5 kB / 0.5404 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/0.3919, allocations: 12 kB / 0.5404 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/0.3919, allocations: 24 kB / 0.5405 GB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/0.3919, allocations: 26.19 kB / 0.5405 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.392, allocations: 11.94 kB / 0.5405 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.3931, allocations: 1.724 MB / 0.5422 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002678/0.3934, allocations: 274.3 kB / 0.5424 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/0.3936, allocations: 24 kB / 0.5425 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006109/0.3942, allocations: 47.47 kB / 0.5425 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.894e-05/0.3943, allocations: 87.67 kB / 0.5426 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.955e-05/0.3943, allocations: 36 kB / 0.5426 GB, free: 5.977 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001372/0.3957, allocations: 1.489 MB / 0.5441 GB, free: 4.469 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3957, allocations: 0 / 0.5441 GB, free: 4.469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002495/0.3982, allocations: 0.5132 MB / 0.5446 GB, free: 3.961 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.0002974/0.3985, allocations: 182.6 kB / 0.5448 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002939/0.4015, allocations: 2.818 MB / 0.5475 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.4015, allocations: 0 / 0.5475 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004862/0.402, allocations: 0.5494 MB / 0.548 GB, free: 468 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.4033, allocations: 208.7 kB / 0.5482 GB, free: 272 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006746/0.4101, allocations: 4.838 MB / 0.553 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/0.4118, allocations: 1.933 MB / 0.5549 GB, free: 9.316 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004586/0.4122, allocations: 179.4 kB / 0.555 GB, free: 9.141 MB / 398.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4122, allocations: 0 / 0.555 GB, free: 9.141 MB / 398.1 MB Notification: Performance of Templates: time 0.04223/0.4545, allocations: 30.44 MB / 0.5848 GB, free: 10.76 MB / 430.1 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.makefile (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 & ./VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1)