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.005682/0.005682, allocations: 96.94 kB / 15.73 MB, free: 6.488 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.001287/0.001287, allocations: 191.5 kB / 16.67 MB, free: 6.391 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1368/0.1368, allocations: 5.193 MB / 295.7 MB, free: 2.973 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.91 kB / 409.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2365, allocations: 50.57 MB / 459.6 MB, free: 20.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.007368/0.2439, allocations: 7.975 MB / 467.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005622/0.2496, allocations: 3.574 MB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007297/0.2503, allocations: 39.5 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002158/0.2525, allocations: 1.093 MB / 472.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002951/0.2555, allocations: 1.387 MB / 473.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.2567, allocations: 0.5896 MB / 474.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0032/0.26, allocations: 2.782 MB / 477.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/0.2617, allocations: 1.665 MB / 478.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.2629, allocations: 0.8965 MB / 479.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.2643, allocations: 1.258 MB / 480.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000357/0.2647, allocations: 177 kB / 481.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.2662, allocations: 0.9324 MB / 482 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007875/0.267, allocations: 1.109 MB / 483.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.268, allocations: 1.353 MB / 484.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003838/0.2719, allocations: 4.439 MB / 488.9 MB, free: 2.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2719, allocations: 7.938 kB / 488.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2719, allocations: 0 / 488.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.195e-05/0.272, allocations: 0 / 488.9 MB, free: 2.922 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.004732/0.2767, allocations: 3.263 MB / 492.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.2768, allocations: 13.03 kB / 492.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005787/0.2825, allocations: 1.694 MB / 493.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/0.2849, allocations: 1.496 MB / 495.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.725e-05/0.285, allocations: 135.7 kB / 495.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003248/0.2854, allocations: 184 kB / 495.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008684/0.2941, allocations: 6.75 MB / 0.4906 GB, free: 6.668 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.288e-05/0.2941, allocations: 27.75 kB / 0.4907 GB, free: 6.641 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002572/0.2944, allocations: 91.89 kB / 0.4908 GB, free: 6.551 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002378/0.2968, allocations: 1.456 MB / 0.4922 GB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009483/0.3063, allocations: 5.998 MB / 0.498 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02885/0.3351, allocations: 27.52 MB / 0.5249 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004789/0.34, allocations: 2.395 MB / 0.5273 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001511/0.3415, allocations: 1.095 MB / 0.5283 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.919e-05/0.3416, allocations: 12.14 kB / 0.5283 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.3416, allocations: 46.5 kB / 0.5284 GB, free: 15.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=102): time 3.868e-06/0.3417, allocations: 0 / 0.5284 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.01903/0.3607, allocations: 8.091 MB / 0.5363 GB, free: 6.816 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.323e-05/0.3608, allocations: 166.7 kB / 0.5364 GB, free: 6.617 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004505/0.3653, allocations: 2.947 MB / 0.5393 GB, free: 3.648 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.3654, allocations: 41.69 kB / 0.5394 GB, free: 3.602 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001531/0.367, allocations: 2.268 MB / 0.5416 GB, free: 1.309 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004127/0.3674, allocations: 476.5 kB / 0.542 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001304/0.3687, allocations: 0.9052 MB / 0.5429 GB, free: 15.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.22e-05/0.3688, allocations: 309.1 kB / 0.5432 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002351/0.3712, allocations: 1.496 MB / 0.5447 GB, free: 14.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004087/0.3753, allocations: 4.336 MB / 0.5489 GB, free: 8.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006747/0.382, allocations: 6.267 MB / 0.555 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.269e-05/0.3821, allocations: 32 kB / 0.5551 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008526/0.3906, allocations: 5.609 MB / 0.5605 GB, free: 10.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.689e-05/0.3907, allocations: 48 kB / 0.5606 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001367/0.3909, allocations: 108 kB / 0.5607 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001509/0.391, allocations: 132 kB / 0.5608 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004021/0.3951, allocations: 1.236 MB / 0.562 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001516/0.3952, allocations: 199.2 kB / 0.5622 GB, free: 9.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/0.3979, allocations: 251.8 kB / 0.5624 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003236/0.3983, allocations: 283.9 kB / 0.5627 GB, free: 8.754 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003668/0.4019, allocations: 2.593 MB / 0.5652 GB, free: 6.148 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003774/0.4057, allocations: 4.316 MB / 0.5695 GB, free: 400 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006448/0.4122, allocations: 6.244 MB / 0.5756 GB, free: 8.723 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.717e-05/0.4122, allocations: 31.98 kB / 0.5756 GB, free: 8.691 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.007837/0.4201, allocations: 5.593 MB / 0.581 GB, free: 3.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.033e-05/0.4201, allocations: 48 kB / 0.5811 GB, free: 3.043 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.387e-05/0.4202, allocations: 100 kB / 0.5812 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-05/0.4203, allocations: 140.7 kB / 0.5813 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003767/0.4241, allocations: 1.232 MB / 0.5825 GB, free: 1.574 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001321/0.4242, allocations: 195.2 kB / 0.5827 GB, free: 1.383 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002484/0.4267, allocations: 251.6 kB / 0.583 GB, free: 1.137 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003047/0.4271, allocations: 279.9 kB / 0.5832 GB, free: 0.8672 MB / 462.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.0008302/0.4279, allocations: 0.5507 MB / 0.5838 GB, free: 316 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003378/0.4282, allocations: 258.3 kB / 0.584 GB, free: 56 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2095/0.6377, allocations: 1.3 MB / 0.5853 GB, free: 110.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.223e-05/0.6378, allocations: 16.19 kB / 0.5853 GB, free: 110.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.6378, allocations: 1.75 kB / 0.5853 GB, free: 110.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.6379, allocations: 5.031 kB / 0.5853 GB, free: 110.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00754/0.6454, allocations: 4.29 MB / 0.5895 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.6454, allocations: 1.938 kB / 0.5895 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001999/0.6474, allocations: 373.8 kB / 0.5898 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/0.6475, allocations: 4.75 kB / 0.5898 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.6476, allocations: 23.44 kB / 0.5899 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.357e-06/0.6476, allocations: 4.234 kB / 0.5899 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.6476, allocations: 8.375 kB / 0.5899 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004253/0.6519, allocations: 3.235 MB / 0.593 GB, free: 107.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008598/0.6527, allocations: 474.2 kB / 0.5935 GB, free: 107.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/0.653, allocations: 15.83 kB / 0.5935 GB, free: 107.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009299/0.6539, allocations: 65.41 kB / 0.5936 GB, free: 107.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.6541, allocations: 57.28 kB / 0.5936 GB, free: 107.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.837e-05/0.6542, allocations: 25.48 kB / 0.5937 GB, free: 107.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002507/0.6567, allocations: 1.833 MB / 0.5954 GB, free: 106.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6567, allocations: 1.406 kB / 0.5954 GB, free: 106.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005397/0.6621, allocations: 1.191 MB / 0.5966 GB, free: 106.5 MB / 462.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.0003009/0.6624, allocations: 146.9 kB / 0.5967 GB, free: 106.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008561/0.671, allocations: 5.949 MB / 0.6026 GB, free: 104.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.6711, allocations: 0 / 0.6026 GB, free: 104.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.6723, allocations: 0.8356 MB / 0.6034 GB, free: 104.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/0.6742, allocations: 289.9 kB / 0.6036 GB, free: 104.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009098/0.6833, allocations: 5.891 MB / 0.6094 GB, free: 101.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002167/0.6855, allocations: 2.3 MB / 0.6116 GB, free: 100.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004484/0.69, allocations: 2.508 MB / 0.6141 GB, free: 100.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004482/0.6905, allocations: 172.1 kB / 0.6143 GB, free: 100.3 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.6905, allocations: 0 / 0.6143 GB, free: 100.3 MB / 462.1 MB Notification: Performance of Templates: time 0.03388/0.7243, allocations: 20.98 MB / 0.6348 GB, free: 84.11 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)