Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.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/DeltaRobot 1.0.2/package.mo", uses=false) Using package DeltaRobot with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/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(DeltaRobot.Tests.IdealActuatorPos_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test") translateModel(DeltaRobot.Tests.IdealActuatorPos_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001358, allocations: 112.8 kB / 16.42 MB, free: 6.457 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.001382/0.001382, allocations: 187.9 kB / 17.35 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02486/0.02486, allocations: 5.217 MB / 296.4 MB, free: 9.594 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 71.88 kB / 409.8 MB, free: 26.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1051, allocations: 50.55 MB / 460.3 MB, free: 7.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.009108/0.1143, allocations: 7.994 MB / 468.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006842/0.1211, allocations: 3.57 MB / 471.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.1225, allocations: 39.88 kB / 471.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002429/0.125, allocations: 1.097 MB / 473 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003611/0.1287, allocations: 1.42 MB / 474.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.1301, allocations: 0.5848 MB / 475 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003531/0.1336, allocations: 2.776 MB / 477.8 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/0.1355, allocations: 1.658 MB / 479.4 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.1367, allocations: 0.903 MB / 480.3 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.1382, allocations: 1.261 MB / 481.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003254/0.1385, allocations: 180 kB / 481.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.1401, allocations: 0.9359 MB / 482.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000882/0.141, allocations: 1.099 MB / 483.8 MB, free: 4 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001205/0.1422, allocations: 1.359 MB / 485.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004208/0.1464, allocations: 4.426 MB / 489.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1464, allocations: 0 / 489.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1464, allocations: 0 / 489.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.594e-05/0.1465, allocations: 0 / 489.6 MB, free: 10.2 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 996 * Number of variables: 996 Notification: Performance of Generate backend data structure: time 0.005475/0.152, allocations: 3.18 MB / 492.8 MB, free: 6.957 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.152, allocations: 8.031 kB / 492.8 MB, free: 6.949 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00585/0.1579, allocations: 1.674 MB / 494.5 MB, free: 5.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003089/0.161, allocations: 1.492 MB / 496 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.1611, allocations: 135.7 kB / 496.1 MB, free: 3.602 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003496/0.1615, allocations: 183.9 kB / 496.3 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00973/0.1712, allocations: 6.742 MB / 0.4912 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.415e-05/0.1714, allocations: 39.64 kB / 0.4913 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002595/0.1716, allocations: 87.89 kB / 0.4913 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002406/0.174, allocations: 1.456 MB / 0.4928 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/0.1845, allocations: 6.001 MB / 0.4986 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2675/0.4521, allocations: 27.46 MB / 0.5254 GB, free: 27.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004712/0.4568, allocations: 2.41 MB / 0.5278 GB, free: 26.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/0.4582, allocations: 1.082 MB / 0.5289 GB, free: 25.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.663e-05/0.4583, allocations: 17.44 kB / 0.5289 GB, free: 25.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.4584, allocations: 46.22 kB / 0.5289 GB, free: 25.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 3.206e-06/0.4584, allocations: 0 / 0.5289 GB, free: 25.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.01682/0.4752, allocations: 7.946 MB / 0.5367 GB, free: 22.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.4753, allocations: 173 kB / 0.5368 GB, free: 21.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003145/0.4784, allocations: 2.923 MB / 0.5397 GB, free: 20.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001135/0.4786, allocations: 41.33 kB / 0.5397 GB, free: 20.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009614/0.4795, allocations: 2.184 MB / 0.5419 GB, free: 18.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003066/0.4798, allocations: 456 kB / 0.5423 GB, free: 17.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008536/0.4807, allocations: 0.9023 MB / 0.5432 GB, free: 17.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.624e-05/0.4808, allocations: 305.1 kB / 0.5435 GB, free: 17.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/0.4825, allocations: 1.496 MB / 0.5449 GB, free: 15.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002713/0.4852, allocations: 4.333 MB / 0.5492 GB, free: 9.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004989/0.4902, allocations: 6.274 MB / 0.5553 GB, free: 2.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-05/0.4903, allocations: 29.88 kB / 0.5553 GB, free: 2.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008047/0.4983, allocations: 5.593 MB / 0.5608 GB, free: 12.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.561e-05/0.4984, allocations: 48 kB / 0.5608 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.7e-05/0.4985, allocations: 100 kB / 0.5609 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001265/0.4986, allocations: 136 kB / 0.5611 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00396/0.5026, allocations: 1.236 MB / 0.5623 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001473/0.5028, allocations: 199.2 kB / 0.5625 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003337/0.5061, allocations: 255.7 kB / 0.5627 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003728/0.5065, allocations: 280 kB / 0.563 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004466/0.511, allocations: 2.585 MB / 0.5655 GB, free: 7.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00477/0.5157, allocations: 4.32 MB / 0.5697 GB, free: 2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007386/0.5231, allocations: 6.25 MB / 0.5758 GB, free: 10.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.192e-05/0.5232, allocations: 29.78 kB / 0.5758 GB, free: 10.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.009035/0.5323, allocations: 5.571 MB / 0.5813 GB, free: 4.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.653e-05/0.5323, allocations: 52 kB / 0.5813 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.303e-05/0.5324, allocations: 100 kB / 0.5814 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001098/0.5326, allocations: 132.8 kB / 0.5815 GB, free: 4.453 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003894/0.5365, allocations: 1.236 MB / 0.5828 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001497/0.5366, allocations: 195.2 kB / 0.5829 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002982/0.5396, allocations: 251.6 kB / 0.5832 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003262/0.5399, allocations: 280.6 kB / 0.5835 GB, free: 2.504 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],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],idealActuatorPos.revolute.cylinderColor[3],idealActuatorPos.revolute.cylinderColor[2],idealActuatorPos.revolute.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (557): * Single equations (assignments): 554 * Array equations: 3 * 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.00104/0.541, allocations: 0.5428 MB / 0.584 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003817/0.5414, allocations: 248.8 kB / 0.5842 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002234/0.5436, allocations: 1.304 MB / 0.5855 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.5436, allocations: 8.781 kB / 0.5855 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.5437, allocations: 0 / 0.5855 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008716/0.5445, allocations: 466.8 kB / 0.5859 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002474/0.5448, allocations: 12 kB / 0.586 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008871/0.5457, allocations: 75.84 kB / 0.586 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.5459, allocations: 52.36 kB / 0.5861 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003888/0.5498, allocations: 2.168 MB / 0.5882 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004105/0.5539, allocations: 3.311 MB / 0.5914 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001062/0.5549, allocations: 0.7844 MB / 0.5922 GB, free: 9.512 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002941/0.5579, allocations: 1.827 MB / 0.594 GB, free: 7.68 MB / 430.1 MB Notification: Performance of Backend: time 2.184e-06/0.5579, allocations: 0 / 0.594 GB, free: 7.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01086/0.5688, allocations: 5.466 MB / 0.5993 GB, free: 2.277 MB / 430.1 MB Notification: Performance of SimCode: time 0.01142/0.5802, allocations: 6.046 MB / 0.6052 GB, free: 12.2 MB / 446.1 MB Notification: Performance of Templates: time 0.07274/0.653, allocations: 41.29 MB / 0.6455 GB, free: 3.047 MB / 478.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.makefile (rm -f DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.sim & ./DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe 2>&1)