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.0009208/0.0009205, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008445/0.0008446, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.3 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.2747/0.2747, allocations: 7.99 MB / 299.1 MB, free: 3.297 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005461/0.0005461, allocations: 11.98 kB / 361.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1592, allocations: 52.2 MB / 414 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.01273/0.172, allocations: 8.07 MB / 422 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3194/0.4915, allocations: 2.33 MB / 424.4 MB, free: 33.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002475/0.494, allocations: 27.56 kB / 424.4 MB, free: 33.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.4958, allocations: 380.9 kB / 424.8 MB, free: 33.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004257/0.5, allocations: 1.13 MB / 425.9 MB, free: 33.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.5005, allocations: 84.84 kB / 426 MB, free: 33.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003064/0.5035, allocations: 1.696 MB / 427.7 MB, free: 33.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005962/0.5041, allocations: 379.1 kB / 428.1 MB, free: 33.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007931/0.5049, allocations: 499.7 kB / 428.5 MB, free: 33.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.506, allocations: 0.7662 MB / 429.3 MB, free: 33.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.5061, allocations: 56.95 kB / 429.4 MB, free: 33.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007867/0.5069, allocations: 334.8 kB / 429.7 MB, free: 33.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006806/0.5076, allocations: 0.6878 MB / 430.4 MB, free: 33.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003558/0.508, allocations: 391.3 kB / 430.8 MB, free: 33.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001906/0.5099, allocations: 2.058 MB / 432.8 MB, free: 33.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.5099, allocations: 0 / 432.8 MB, free: 33.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.5099, allocations: 0 / 432.8 MB, free: 33.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.562e-05/0.51, allocations: 0 / 432.8 MB, free: 33.22 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.003074/0.5131, allocations: 1.798 MB / 434.6 MB, free: 32.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.5131, allocations: 9.594 kB / 434.6 MB, free: 32.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004182/0.5173, allocations: 1.532 MB / 436.2 MB, free: 32.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/0.519, allocations: 0.8315 MB / 437 MB, free: 31.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.598e-05/0.519, allocations: 85.48 kB / 437.1 MB, free: 31.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000596/0.5196, allocations: 251.7 kB / 437.3 MB, free: 31.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006246/0.5259, allocations: 5.036 MB / 442.4 MB, free: 30.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.319e-05/0.526, allocations: 25.12 kB / 442.4 MB, free: 30.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/0.5262, allocations: 68.16 kB / 442.4 MB, free: 30.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001619/0.5278, allocations: 1.151 MB / 443.6 MB, free: 30.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007644/0.5355, allocations: 4.275 MB / 447.9 MB, free: 30.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02156/0.5571, allocations: 20.66 MB / 468.5 MB, free: 30.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/0.559, allocations: 1.326 MB / 469.9 MB, free: 29.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006012/0.5596, allocations: 450 kB / 470.3 MB, free: 29.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.5596, allocations: 5.594 kB / 470.3 MB, free: 29.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.5597, allocations: 45.81 kB / 470.4 MB, free: 29.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=85): time 4.669e-06/0.5597, allocations: 0 / 470.4 MB, free: 29.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=114): time 0.007429/0.5671, allocations: 3.929 MB / 474.3 MB, free: 27.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.5673, allocations: 137.8 kB / 474.4 MB, free: 27.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005299/0.5726, allocations: 2.389 MB / 476.8 MB, free: 26.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001327/0.5727, allocations: 39.27 kB / 476.8 MB, free: 26.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001454/0.5742, allocations: 1.76 MB / 478.6 MB, free: 25.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006037/0.5748, allocations: 457.6 kB / 479.1 MB, free: 24.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.575, allocations: 76.16 kB / 479.1 MB, free: 24.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0004454/0.5754, allocations: 0.5329 MB / 479.7 MB, free: 24.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002403/0.5778, allocations: 1.27 MB / 480.9 MB, free: 24.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004213/0.5821, allocations: 3.883 MB / 484.8 MB, free: 20.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004283/0.5864, allocations: 2.211 MB / 487 MB, free: 19.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.778e-05/0.5864, allocations: 26.12 kB / 487 MB, free: 19.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.00975/0.5962, allocations: 4.924 MB / 492 MB, free: 17.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.677e-05/0.5963, allocations: 46.12 kB / 492 MB, free: 17.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001124/0.5974, allocations: 0.7764 MB / 492.8 MB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001826/0.5976, allocations: 135.7 kB / 492.9 MB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002866/0.6005, allocations: 0.9408 MB / 493.9 MB, free: 17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001923/0.6007, allocations: 184.6 kB / 494 MB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00282/0.6035, allocations: 210.2 kB / 494.3 MB, free: 16.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000306/0.6039, allocations: 253.8 kB / 494.5 MB, free: 16.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001932/0.6058, allocations: 1.207 MB / 495.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003638/0.6062, allocations: 197.4 kB / 495.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005072/0.6067, allocations: 267.7 kB / 496.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009432/0.6076, allocations: 0.7127 MB / 496.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/0.6077, allocations: 4.516 kB / 496.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/0.6077, allocations: 4.266 kB / 496.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005282/0.613, allocations: 3.212 MB / 0.4884 GB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/0.613, allocations: 8 kB / 0.4884 GB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/0.6135, allocations: 155.7 kB / 0.4885 GB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-05/0.6135, allocations: 12 kB / 0.4885 GB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/0.6136, allocations: 36.61 kB / 0.4886 GB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.728e-05/0.6136, allocations: 15.94 kB / 0.4886 GB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/0.6136, allocations: 15.94 kB / 0.4886 GB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/0.6156, allocations: 1.714 MB / 0.4903 GB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005067/0.6161, allocations: 274.3 kB / 0.4905 GB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.6163, allocations: 29 kB / 0.4906 GB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006116/0.6169, allocations: 41.59 kB / 0.4906 GB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.6171, allocations: 93.78 kB / 0.4907 GB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.27e-05/0.6171, allocations: 41.25 kB / 0.4907 GB, free: 8.809 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00224/0.6194, allocations: 1.474 MB / 0.4922 GB, free: 7.316 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6194, allocations: 0 / 0.4922 GB, free: 7.316 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004436/0.6238, allocations: 0.5096 MB / 0.4927 GB, free: 6.809 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004505/0.6243, allocations: 182.7 kB / 0.4928 GB, free: 6.625 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00585/0.6302, allocations: 2.769 MB / 0.4956 GB, free: 3.875 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.6302, allocations: 0 / 0.4956 GB, free: 3.875 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007906/0.631, allocations: 0.5388 MB / 0.4961 GB, free: 3.344 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/0.633, allocations: 193.5 kB / 0.4963 GB, free: 3.152 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.6433, allocations: 5.382 MB / 0.5015 GB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002163/0.6456, allocations: 1.932 MB / 0.5034 GB, free: 11.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003767/0.6493, allocations: 1.394 MB / 0.5048 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/0.6497, allocations: 147.4 kB / 0.5049 GB, free: 10.11 MB / 382.1 MB Notification: Performance of SimCode: time 1.262e-06/0.6497, allocations: 3.938 kB / 0.5049 GB, free: 10.1 MB / 382.1 MB Notification: Performance of Templates: time 0.03272/0.6824, allocations: 15.16 MB / 0.5197 GB, free: 11.05 MB / 398.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)