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.0009756/0.0009757, allocations: 109.8 kB / 16.29 MB, free: 6.43 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.0009547/0.0009548, allocations: 187.2 kB / 17.22 MB, free: 5.934 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.211/1.211, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02346/0.02346, allocations: 5.229 MB / 296.3 MB, free: 9.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 63.91 kB / 357.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1896, allocations: 50.55 MB / 408.5 MB, free: 30.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.006452/0.1961, allocations: 7.99 MB / 416.4 MB, free: 22.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00413/0.2003, allocations: 3.576 MB / 420 MB, free: 18.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004391/0.2007, allocations: 35.88 kB / 420.1 MB, free: 18.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.2023, allocations: 1.097 MB / 421.2 MB, free: 17.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.2041, allocations: 1.381 MB / 422.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007629/0.2048, allocations: 0.5848 MB / 423.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001822/0.2067, allocations: 2.784 MB / 425.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.2078, allocations: 1.669 MB / 427.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006599/0.2085, allocations: 0.9029 MB / 428.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009488/0.2095, allocations: 1.261 MB / 429.7 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002001/0.2097, allocations: 180 kB / 429.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009866/0.2107, allocations: 0.9282 MB / 430.8 MB, free: 7.641 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005459/0.2112, allocations: 1.102 MB / 431.9 MB, free: 6.535 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006821/0.2119, allocations: 1.351 MB / 433.3 MB, free: 5.176 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002361/0.2143, allocations: 4.422 MB / 437.7 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2143, allocations: 0 / 437.7 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2143, allocations: 0 / 437.7 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.782e-05/0.2143, allocations: 0 / 437.7 MB, free: 0.7383 MB / 302.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.004505/0.2188, allocations: 3.183 MB / 440.9 MB, free: 13.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.2189, allocations: 12.02 kB / 440.9 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005472/0.2244, allocations: 1.67 MB / 442.6 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002673/0.227, allocations: 1.469 MB / 444.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.303e-05/0.2272, allocations: 143.6 kB / 444.2 MB, free: 10.15 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003413/0.2275, allocations: 180 kB / 444.4 MB, free: 9.977 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008122/0.2356, allocations: 6.746 MB / 451.1 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.441e-05/0.2357, allocations: 35.66 kB / 451.1 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002378/0.236, allocations: 87.89 kB / 451.2 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002258/0.2382, allocations: 1.456 MB / 452.7 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009216/0.2474, allocations: 6.009 MB / 458.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02963/0.2771, allocations: 27.46 MB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00451/0.2816, allocations: 2.406 MB / 488.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.2831, allocations: 1.077 MB / 489.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-05/0.2832, allocations: 20.83 kB / 489.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.2832, allocations: 46.5 kB / 489.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=102): time 3.376e-06/0.2832, allocations: 0 / 489.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=110): time 0.01718/0.3004, allocations: 7.948 MB / 497.7 MB, free: 3.016 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.148e-05/0.3005, allocations: 162.7 kB / 497.8 MB, free: 2.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003378/0.3039, allocations: 2.931 MB / 0.489 GB, free: 15.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.292e-05/0.304, allocations: 37.7 kB / 0.489 GB, free: 15.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.3053, allocations: 2.191 MB / 0.4912 GB, free: 13.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003425/0.3056, allocations: 446.5 kB / 0.4916 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009779/0.3066, allocations: 0.9044 MB / 0.4925 GB, free: 12.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.338e-05/0.3067, allocations: 309.1 kB / 0.4928 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/0.3088, allocations: 1.492 MB / 0.4942 GB, free: 10.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003894/0.3127, allocations: 4.332 MB / 0.4985 GB, free: 4.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1593/0.4721, allocations: 6.267 MB / 0.5046 GB, free: 87.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.068e-05/0.4722, allocations: 33.62 kB / 0.5046 GB, free: 87.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008005/0.4802, allocations: 5.588 MB / 0.5101 GB, free: 85.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.556e-05/0.4803, allocations: 48.19 kB / 0.5101 GB, free: 85.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.506e-05/0.4803, allocations: 103 kB / 0.5102 GB, free: 85.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.475e-05/0.4804, allocations: 135.8 kB / 0.5104 GB, free: 85.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003486/0.4839, allocations: 1.24 MB / 0.5116 GB, free: 85.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.191e-05/0.484, allocations: 197.8 kB / 0.5118 GB, free: 85.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/0.4864, allocations: 253.1 kB / 0.512 GB, free: 85.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002455/0.4867, allocations: 282.1 kB / 0.5123 GB, free: 85.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002786/0.4895, allocations: 2.593 MB / 0.5148 GB, free: 84.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002373/0.4919, allocations: 4.324 MB / 0.519 GB, free: 80.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004164/0.496, allocations: 6.24 MB / 0.5251 GB, free: 73.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.026e-05/0.4961, allocations: 28 kB / 0.5251 GB, free: 73.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.005965/0.5021, allocations: 5.575 MB / 0.5306 GB, free: 69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/0.5021, allocations: 48 kB / 0.5306 GB, free: 68.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-05/0.5022, allocations: 100 kB / 0.5307 GB, free: 68.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.213e-05/0.5022, allocations: 136 kB / 0.5309 GB, free: 68.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003292/0.5055, allocations: 1.227 MB / 0.5321 GB, free: 67.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.243e-05/0.5056, allocations: 200.2 kB / 0.5322 GB, free: 67.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/0.508, allocations: 255.8 kB / 0.5325 GB, free: 67.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000235/0.5083, allocations: 281.9 kB / 0.5328 GB, free: 66.8 MB / 382.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.0007377/0.509, allocations: 0.5439 MB / 0.5333 GB, free: 66.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003062/0.5093, allocations: 243 kB / 0.5335 GB, free: 66.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/0.5111, allocations: 1.312 MB / 0.5348 GB, free: 64.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.5111, allocations: 15.59 kB / 0.5348 GB, free: 64.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.5111, allocations: 0.75 kB / 0.5348 GB, free: 64.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.5111, allocations: 8.859 kB / 0.5348 GB, free: 64.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005433/0.5166, allocations: 4.303 MB / 0.539 GB, free: 60.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.5166, allocations: 0 / 0.539 GB, free: 60.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/0.5183, allocations: 371.4 kB / 0.5394 GB, free: 60.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.5183, allocations: 7.984 kB / 0.5394 GB, free: 60.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.225e-05/0.5184, allocations: 20 kB / 0.5394 GB, free: 60.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.5184, allocations: 11.97 kB / 0.5394 GB, free: 60.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5184, allocations: 0 / 0.5394 GB, free: 60.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002933/0.5214, allocations: 3.218 MB / 0.5426 GB, free: 56.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008425/0.5222, allocations: 457.7 kB / 0.543 GB, free: 56.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/0.5224, allocations: 22.83 kB / 0.543 GB, free: 56.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008419/0.5233, allocations: 67.91 kB / 0.5431 GB, free: 56.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.5234, allocations: 52.3 kB / 0.5431 GB, free: 56.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.716e-05/0.5235, allocations: 36 kB / 0.5432 GB, free: 56.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001838/0.5253, allocations: 1.823 MB / 0.545 GB, free: 54.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5254, allocations: 0 / 0.545 GB, free: 54.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004584/0.5299, allocations: 1.187 MB / 0.5461 GB, free: 53.18 MB / 382.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.0002727/0.5302, allocations: 144.3 kB / 0.5463 GB, free: 53.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006591/0.5368, allocations: 5.959 MB / 0.5521 GB, free: 47.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.5369, allocations: 4.188 kB / 0.5521 GB, free: 47.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000845/0.5377, allocations: 0.8222 MB / 0.5529 GB, free: 46.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.5392, allocations: 284.3 kB / 0.5531 GB, free: 46.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006678/0.5459, allocations: 6.101 MB / 0.5591 GB, free: 39.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001416/0.5473, allocations: 2.301 MB / 0.5614 GB, free: 37.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006106/0.5479, allocations: 207.4 kB / 0.5616 GB, free: 37.39 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5479, allocations: 0 / 0.5616 GB, free: 37.39 MB / 382.1 MB Notification: Performance of Templates: time 0.03929/0.5872, allocations: 38.76 MB / 0.5994 GB, free: 14.77 MB / 398.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)