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.001128/0.001128, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001269/0.00127, allocations: 190.8 kB / 16.14 MB, free: 6.703 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.382/1.382, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1885/0.1885, allocations: 5.211 MB / 295.2 MB, free: 3.113 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 59.91 kB / 356.5 MB, free: 2.316 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1019, allocations: 50.55 MB / 407.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.01356/0.1155, allocations: 14.95 MB / 422 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2318/0.3473, allocations: 4.799 MB / 426.8 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003249/0.3506, allocations: 58.66 kB / 426.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002327/0.3529, allocations: 1.072 MB / 427.9 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003476/0.3565, allocations: 1.28 MB / 429.2 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.3578, allocations: 0.5361 MB / 429.8 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003885/0.3617, allocations: 3.724 MB / 433.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0022/0.3639, allocations: 1.625 MB / 435.1 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.3651, allocations: 0.7847 MB / 435.9 MB, free: 33.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.3664, allocations: 1.35 MB / 437.2 MB, free: 33.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002677/0.3667, allocations: 118.7 kB / 437.4 MB, free: 33.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.3683, allocations: 0.9247 MB / 438.3 MB, free: 33.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007696/0.3691, allocations: 1.076 MB / 439.4 MB, free: 32.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000897/0.37, allocations: 1.32 MB / 440.7 MB, free: 31.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003178/0.3732, allocations: 4.209 MB / 444.9 MB, free: 30.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3732, allocations: 0 / 444.9 MB, free: 30.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3732, allocations: 0 / 444.9 MB, free: 30.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.842e-05/0.3733, allocations: 1.5 kB / 444.9 MB, free: 30.38 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: 996 * Number of variables: 996 Notification: Performance of Generate backend data structure: time 0.005206/0.3785, allocations: 3.188 MB / 448.1 MB, free: 28.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3786, allocations: 9.344 kB / 448.1 MB, free: 28.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005172/0.3838, allocations: 1.67 MB / 449.8 MB, free: 28.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002862/0.3866, allocations: 1.46 MB / 451.2 MB, free: 27.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.908e-05/0.3868, allocations: 140.9 kB / 451.4 MB, free: 27.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003373/0.3871, allocations: 185.6 kB / 451.5 MB, free: 27.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009178/0.3963, allocations: 6.746 MB / 458.3 MB, free: 24.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-05/0.3964, allocations: 32.94 kB / 458.3 MB, free: 24.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003148/0.3967, allocations: 92.42 kB / 458.4 MB, free: 24.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002769/0.3995, allocations: 1.459 MB / 459.9 MB, free: 23.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01182/0.4113, allocations: 5.997 MB / 465.9 MB, free: 22.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03139/0.4428, allocations: 27.57 MB / 493.4 MB, free: 17.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004187/0.447, allocations: 2.408 MB / 495.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.4482, allocations: 1.077 MB / 496.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.046e-05/0.4483, allocations: 22.78 kB / 496.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.4483, allocations: 42.55 kB / 497 MB, free: 14.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=102): time 2.865e-06/0.4483, allocations: 0 / 497 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=110): time 0.0179/0.4662, allocations: 7.946 MB / 0.4931 GB, free: 6.344 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.4664, allocations: 166.7 kB / 0.4932 GB, free: 6.145 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004122/0.4705, allocations: 2.931 MB / 0.4961 GB, free: 3.191 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002163/0.4707, allocations: 41.7 kB / 0.4961 GB, free: 3.145 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00163/0.4724, allocations: 2.179 MB / 0.4983 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005109/0.4729, allocations: 456.4 kB / 0.4987 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001145/0.4741, allocations: 0.9031 MB / 0.4996 GB, free: 15.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4742, allocations: 309.1 kB / 0.4999 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002129/0.4763, allocations: 1.488 MB / 0.5013 GB, free: 13.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004007/0.4803, allocations: 4.34 MB / 0.5056 GB, free: 8.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007383/0.4877, allocations: 6.266 MB / 0.5117 GB, free: 336 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.686e-05/0.4878, allocations: 28 kB / 0.5117 GB, free: 308 kB / 382.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01019/0.498, allocations: 5.593 MB / 0.5172 GB, free: 10.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.459e-05/0.4981, allocations: 52.06 kB / 0.5172 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-05/0.4982, allocations: 100 kB / 0.5173 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001343/0.4984, allocations: 132 kB / 0.5175 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004069/0.5025, allocations: 1.24 MB / 0.5187 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001591/0.5026, allocations: 195.5 kB / 0.5189 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00304/0.5057, allocations: 251.6 kB / 0.5191 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005103/0.5062, allocations: 282 kB / 0.5194 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004708/0.5109, allocations: 2.597 MB / 0.5219 GB, free: 5.863 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004277/0.5152, allocations: 4.328 MB / 0.5261 GB, free: 96 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008557/0.5238, allocations: 6.248 MB / 0.5322 GB, free: 8.426 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001932/0.524, allocations: 32 kB / 0.5323 GB, free: 8.395 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01243/0.5365, allocations: 5.567 MB / 0.5377 GB, free: 2.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.753e-05/0.5366, allocations: 48 kB / 0.5377 GB, free: 2.773 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001578/0.5368, allocations: 100 kB / 0.5378 GB, free: 2.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001376/0.5369, allocations: 136 kB / 0.538 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004422/0.5413, allocations: 1.236 MB / 0.5392 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002209/0.5416, allocations: 203.2 kB / 0.5394 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003919/0.5455, allocations: 247.5 kB / 0.5396 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007504/0.5463, allocations: 282.3 kB / 0.5399 GB, free: 0.5898 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.001573/0.5479, allocations: 0.5506 MB / 0.5404 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007408/0.5486, allocations: 237.1 kB / 0.5406 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00282/0.5514, allocations: 1.312 MB / 0.5419 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.412e-05/0.5515, allocations: 12 kB / 0.5419 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.5515, allocations: 4 kB / 0.5419 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.851e-05/0.5515, allocations: 3.984 kB / 0.5419 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008822/0.5604, allocations: 4.317 MB / 0.5462 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.5604, allocations: 0 / 0.5462 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001834/0.5622, allocations: 375.3 kB / 0.5465 GB, free: 9.723 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.427e-05/0.5623, allocations: 4 kB / 0.5465 GB, free: 9.719 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.5624, allocations: 20 kB / 0.5465 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.177e-06/0.5624, allocations: 4 kB / 0.5465 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.5624, allocations: 8.016 kB / 0.5465 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004527/0.567, allocations: 3.217 MB / 0.5497 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/0.5681, allocations: 465.7 kB / 0.5501 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005624/0.5686, allocations: 16 kB / 0.5501 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.5699, allocations: 67.91 kB / 0.5502 GB, free: 5.891 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/0.5701, allocations: 52.31 kB / 0.5503 GB, free: 5.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.475e-05/0.5702, allocations: 31.98 kB / 0.5503 GB, free: 5.809 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003469/0.5736, allocations: 1.827 MB / 0.5521 GB, free: 3.977 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5737, allocations: 0 / 0.5521 GB, free: 3.977 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007021/0.5807, allocations: 1.189 MB / 0.5532 GB, free: 2.789 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (idealActuatorPos.revolute.phi,idealActuatorPos.revolute.w,idealActuatorPos.firstOrder.y) * 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 (88): * Single equations (assignments): 85 * 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 Backend phase and start with SimCode phase: time 0.0004239/0.5811, allocations: 141.5 kB / 0.5534 GB, free: 2.645 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01018/0.5913, allocations: 5.94 MB / 0.5592 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.5914, allocations: 0 / 0.5592 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.5927, allocations: 0.8299 MB / 0.56 GB, free: 11.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/0.5951, allocations: 266.3 kB / 0.5602 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/0.6086, allocations: 7.114 MB / 0.5672 GB, free: 4.516 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004641/0.6133, allocations: 2.305 MB / 0.5694 GB, free: 2.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006316/0.6196, allocations: 2.516 MB / 0.5719 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005411/0.6202, allocations: 171.4 kB / 0.5721 GB, free: 15.49 MB / 462.1 MB Notification: Performance of SimCode: time 1.142e-06/0.6202, allocations: 0 / 0.5721 GB, free: 15.49 MB / 462.1 MB Notification: Performance of Templates: time 0.2369/0.8571, allocations: 22.43 MB / 0.594 GB, free: 134.1 MB / 462.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)