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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 84.91 kB / 19.76 MB, free: 2.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 159.9 kB / 23.01 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.0273/0.0273, allocations: 4.1 MB / 263.9 MB, free: 12.66 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(DeltaRobot.Tests.IdealActuatorPos_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test") translateModel(DeltaRobot.Tests.IdealActuatorPos_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test") [Timeout 660] "Notification: DeltaRobot requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 68.17 kB / 388.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1144, allocations: 54.53 MB / 443.1 MB, free: 8.961 MB / 414.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.009624/0.124, allocations: 7.128 MB / 450.2 MB, free: 1.789 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006898/0.1309, allocations: 3.384 MB / 453.6 MB, free: 14.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009569/0.1319, allocations: 47.75 kB / 453.6 MB, free: 14.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002419/0.1343, allocations: 1.082 MB / 454.7 MB, free: 13.26 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003247/0.1375, allocations: 1.389 MB / 456.1 MB, free: 11.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.1389, allocations: 0.5885 MB / 456.7 MB, free: 11.28 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003808/0.1427, allocations: 2.808 MB / 459.5 MB, free: 8.469 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001909/0.1446, allocations: 1.442 MB / 460.9 MB, free: 7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.1459, allocations: 0.9186 MB / 461.9 MB, free: 6.078 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.1477, allocations: 1.312 MB / 463.2 MB, free: 4.762 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003429/0.148, allocations: 176 kB / 463.3 MB, free: 4.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.1496, allocations: 0.8151 MB / 464.2 MB, free: 3.773 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.1507, allocations: 1.11 MB / 465.3 MB, free: 2.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.1518, allocations: 0.9702 MB / 466.2 MB, free: 1.684 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005267/0.1571, allocations: 4.412 MB / 470.6 MB, free: 13.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1571, allocations: 0 / 470.6 MB, free: 13.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1571, allocations: 0 / 470.6 MB, free: 13.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.046e-05/0.1572, allocations: 0 / 470.6 MB, free: 13.25 MB / 446.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.006344/0.1635, allocations: 3.166 MB / 473.8 MB, free: 10.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.1636, allocations: 16.03 kB / 473.8 MB, free: 10.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006504/0.1701, allocations: 1.762 MB / 475.6 MB, free: 8.262 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003068/0.1731, allocations: 1.412 MB / 477 MB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.1732, allocations: 139.7 kB / 477.1 MB, free: 6.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003509/0.1736, allocations: 176 kB / 477.3 MB, free: 6.508 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2374/0.411, allocations: 6.783 MB / 484.1 MB, free: 75.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.559e-05/0.4111, allocations: 29.36 kB / 484.1 MB, free: 75.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002644/0.4114, allocations: 95.31 kB / 484.2 MB, free: 75.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00212/0.4135, allocations: 1.452 MB / 485.7 MB, free: 75.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008939/0.4225, allocations: 6.005 MB / 491.7 MB, free: 74.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02294/0.4454, allocations: 25.95 MB / 0.5055 GB, free: 55.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004347/0.4497, allocations: 1.919 MB / 0.5074 GB, free: 54.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/0.451, allocations: 0.9998 MB / 0.5083 GB, free: 54.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.728e-05/0.4511, allocations: 13.09 kB / 0.5084 GB, free: 54.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.4511, allocations: 49.78 kB / 0.5084 GB, free: 54.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=102): time 3.637e-06/0.4511, allocations: 0 / 0.5084 GB, free: 54.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=110): time 0.01672/0.4678, allocations: 8.126 MB / 0.5163 GB, free: 51.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.4679, allocations: 167.8 kB / 0.5165 GB, free: 50.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003217/0.4711, allocations: 2.752 MB / 0.5192 GB, free: 49.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.43e-05/0.4712, allocations: 37.52 kB / 0.5192 GB, free: 49.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009836/0.4722, allocations: 2.298 MB / 0.5215 GB, free: 47.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000352/0.4725, allocations: 473.4 kB / 0.5219 GB, free: 47.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/0.4735, allocations: 0.9033 MB / 0.5228 GB, free: 47.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.299e-05/0.4736, allocations: 365.8 kB / 0.5231 GB, free: 46.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/0.4758, allocations: 1.502 MB / 0.5246 GB, free: 46.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003172/0.479, allocations: 4.37 MB / 0.5289 GB, free: 42.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005636/0.4846, allocations: 6.281 MB / 0.535 GB, free: 36.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-05/0.4847, allocations: 31.61 kB / 0.535 GB, free: 36.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.007811/0.4925, allocations: 5.598 MB / 0.5405 GB, free: 33.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.948e-05/0.4926, allocations: 48.66 kB / 0.5406 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-05/0.4926, allocations: 100 kB / 0.5407 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001032/0.4927, allocations: 136 kB / 0.5408 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003985/0.4967, allocations: 1.243 MB / 0.542 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001194/0.4968, allocations: 197.7 kB / 0.5422 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003096/0.4999, allocations: 283.5 kB / 0.5425 GB, free: 31.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003317/0.5003, allocations: 280.3 kB / 0.5427 GB, free: 31.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003564/0.5038, allocations: 2.607 MB / 0.5453 GB, free: 29.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002813/0.5066, allocations: 4.358 MB / 0.5495 GB, free: 23.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0051/0.5117, allocations: 6.261 MB / 0.5556 GB, free: 16.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.808e-05/0.5118, allocations: 28.7 kB / 0.5557 GB, free: 16.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.007624/0.5194, allocations: 5.573 MB / 0.5611 GB, free: 11.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.767e-05/0.5195, allocations: 49.03 kB / 0.5612 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.646e-05/0.5195, allocations: 100.5 kB / 0.5613 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.925e-05/0.5196, allocations: 132 kB / 0.5614 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003969/0.5236, allocations: 1.245 MB / 0.5626 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001229/0.5237, allocations: 201.8 kB / 0.5628 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00309/0.5268, allocations: 278.7 kB / 0.5631 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003105/0.5271, allocations: 277.2 kB / 0.5633 GB, free: 9.582 MB / 446.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.001043/0.5282, allocations: 0.5484 MB / 0.5639 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004132/0.5286, allocations: 231.2 kB / 0.5641 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00186/0.5304, allocations: 1.278 MB / 0.5653 GB, free: 7.715 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.5305, allocations: 14.03 kB / 0.5653 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.5305, allocations: 3.844 kB / 0.5653 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.5305, allocations: 8.781 kB / 0.5653 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005279/0.5358, allocations: 3.654 MB / 0.5689 GB, free: 4.594 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.5358, allocations: 0 / 0.5689 GB, free: 4.594 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001895/0.5377, allocations: 371.6 kB / 0.5693 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.5377, allocations: 4 kB / 0.5693 GB, free: 4.355 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.982e-05/0.5377, allocations: 21.08 kB / 0.5693 GB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.5377, allocations: 4 kB / 0.5693 GB, free: 4.332 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.5378, allocations: 3.938 kB / 0.5693 GB, free: 4.328 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003401/0.5412, allocations: 3.215 MB / 0.5724 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009053/0.5421, allocations: 360.1 kB / 0.5728 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004478/0.5425, allocations: 16 kB / 0.5728 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.5437, allocations: 75.89 kB / 0.5729 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.5438, allocations: 60.27 kB / 0.5729 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.681e-05/0.5439, allocations: 32 kB / 0.573 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002872/0.5468, allocations: 1.573 MB / 0.5745 GB, free: 15.07 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5468, allocations: 0 / 0.5745 GB, free: 15.07 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007155/0.5539, allocations: 1.16 MB / 0.5756 GB, free: 13.91 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.0004017/0.5543, allocations: 135 kB / 0.5758 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01076/0.5651, allocations: 5.705 MB / 0.5813 GB, free: 8.105 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.5651, allocations: 0 / 0.5813 GB, free: 8.105 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.5664, allocations: 0.7838 MB / 0.5821 GB, free: 7.324 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/0.5686, allocations: 245.2 kB / 0.5823 GB, free: 7.094 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.58, allocations: 5.852 MB / 0.588 GB, free: 1.203 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00295/0.583, allocations: 1.734 MB / 0.5897 GB, free: 15.44 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00613/0.5891, allocations: 2.486 MB / 0.5922 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006204/0.5897, allocations: 160.5 kB / 0.5923 GB, free: 12.79 MB / 478.1 MB Notification: Performance of SimCode: time 9.01e-07/0.5897, allocations: 0 / 0.5923 GB, free: 12.79 MB / 478.1 MB Notification: Performance of Templates: time 0.04279/0.6325, allocations: 17.77 MB / 0.6097 GB, free: 11.34 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.makefile [Timeout 660] (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 -s ida -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.670826921006665] Failed to read output from testmodel.py, exit status != 0: 0.6423438910860568 0.667930991 0.50597835 Calling exit ...