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.001638/0.001639, allocations: 114.3 kB / 16.42 MB, free: 6.441 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.001791/0.001791, allocations: 192 kB / 17.35 MB, free: 5.738 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.438/1.438, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.0418/0.0418, allocations: 7.989 MB / 299.2 MB, free: 7.137 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 59.91 kB / 413.8 MB, free: 22.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.117, allocations: 51.22 MB / 465 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.007358/0.1244, allocations: 5.58 MB / 470.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003873/0.1283, allocations: 1.931 MB / 472.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000726/0.129, allocations: 20 kB / 472.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.1302, allocations: 410.1 kB / 472.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.1323, allocations: 0.7158 MB / 473.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.1327, allocations: 91.7 kB / 473.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00212/0.1348, allocations: 1.53 MB / 475.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006427/0.1355, allocations: 326.1 kB / 475.6 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008683/0.1364, allocations: 0.4939 MB / 476.1 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.1376, allocations: 0.7082 MB / 476.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003484/0.1379, allocations: 80 kB / 476.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.139, allocations: 391.3 kB / 477.2 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009801/0.1399, allocations: 0.7244 MB / 478 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001411/0.1414, allocations: 0.869 MB / 478.8 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003657/0.145, allocations: 2.778 MB / 481.6 MB, free: 2.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1451, allocations: 0 / 481.6 MB, free: 2.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1451, allocations: 0 / 481.6 MB, free: 2.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001025/0.1452, allocations: 0 / 481.6 MB, free: 2.914 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.005051/0.1502, allocations: 2.143 MB / 483.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/0.1503, allocations: 8.031 kB / 483.8 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005627/0.1559, allocations: 1.484 MB / 485.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/0.1582, allocations: 0.8547 MB / 486.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.961e-05/0.1583, allocations: 82.03 kB / 486.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008681/0.1592, allocations: 255.6 kB / 486.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008332/0.1675, allocations: 5.038 MB / 491.5 MB, free: 8.473 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.568e-05/0.1676, allocations: 31.72 kB / 491.5 MB, free: 8.441 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/0.1678, allocations: 63.84 kB / 491.5 MB, free: 8.379 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00185/0.1697, allocations: 1.146 MB / 492.7 MB, free: 7.227 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00731/0.177, allocations: 4.305 MB / 497 MB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2885/0.4655, allocations: 20.59 MB / 0.5055 GB, free: 30.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.4672, allocations: 1.33 MB / 0.5068 GB, free: 29.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005871/0.4678, allocations: 445.4 kB / 0.5072 GB, free: 29.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.4678, allocations: 5.594 kB / 0.5072 GB, free: 29.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.4678, allocations: 45.72 kB / 0.5072 GB, free: 29.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=85): time 3.697e-06/0.4679, allocations: 0 / 0.5072 GB, free: 29.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.00619/0.474, allocations: 3.973 MB / 0.5111 GB, free: 28.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.4741, allocations: 143.2 kB / 0.5112 GB, free: 28.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003397/0.4775, allocations: 2.4 MB / 0.5136 GB, free: 27.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.41e-05/0.4776, allocations: 38.92 kB / 0.5136 GB, free: 27.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009768/0.4786, allocations: 1.757 MB / 0.5153 GB, free: 26.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003784/0.479, allocations: 449.8 kB / 0.5158 GB, free: 26.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008809/0.4799, allocations: 0.8159 MB / 0.5166 GB, free: 25.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.48, allocations: 363.5 kB / 0.5169 GB, free: 25.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/0.4817, allocations: 1.274 MB / 0.5182 GB, free: 25.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002665/0.4844, allocations: 3.906 MB / 0.522 GB, free: 21.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004804/0.4892, allocations: 5.653 MB / 0.5275 GB, free: 16.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-05/0.4893, allocations: 27.38 kB / 0.5275 GB, free: 16.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.006533/0.4959, allocations: 4.964 MB / 0.5324 GB, free: 14.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.8e-05/0.496, allocations: 49.09 kB / 0.5324 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007531/0.4967, allocations: 0.7668 MB / 0.5332 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001106/0.4968, allocations: 125.2 kB / 0.5333 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002628/0.4995, allocations: 0.9416 MB / 0.5342 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001357/0.4996, allocations: 184.8 kB / 0.5344 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002854/0.5025, allocations: 217.4 kB / 0.5346 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002977/0.5028, allocations: 259.2 kB / 0.5348 GB, free: 13.97 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.001381/0.5042, allocations: 1.206 MB / 0.536 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004021/0.5046, allocations: 201.1 kB / 0.5362 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004998/0.5051, allocations: 261.3 kB / 0.5365 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.5051, allocations: 7.703 kB / 0.5365 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0007676/0.5059, allocations: 0.7016 MB / 0.5371 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004109/0.5063, allocations: 257.6 kB / 0.5374 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.5065, allocations: 12 kB / 0.5374 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006751/0.5072, allocations: 50.66 kB / 0.5375 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.5074, allocations: 58.66 kB / 0.5375 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001678/0.509, allocations: 1.721 MB / 0.5392 GB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001516/0.5106, allocations: 1.9 MB / 0.541 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006058/0.5112, allocations: 0.6814 MB / 0.5417 GB, free: 7.641 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00182/0.513, allocations: 1.482 MB / 0.5432 GB, free: 6.176 MB / 382.1 MB Notification: Performance of Backend: time 4.51e-07/0.513, allocations: 3.938 kB / 0.5432 GB, free: 6.172 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004298/0.5173, allocations: 2.522 MB / 0.5456 GB, free: 3.688 MB / 382.1 MB Notification: Performance of SimCode: time 0.006116/0.5235, allocations: 4.693 MB / 0.5502 GB, free: 14.95 MB / 398.1 MB Notification: Performance of Templates: time 0.03937/0.5629, allocations: 21.14 MB / 0.5709 GB, free: 9.945 MB / 414.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)