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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 114.8 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.1261/0.1261, allocations: 5.203 MB / 303.1 MB, free: 3.691 MB / 238.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.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=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: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 67.89 kB / 418.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2698, allocations: 50.57 MB / 469 MB, free: 21.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.008064/0.2779, allocations: 7.968 MB / 477 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006703/0.2847, allocations: 3.569 MB / 480.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.2863, allocations: 39.03 kB / 480.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002503/0.2888, allocations: 1.099 MB / 481.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004033/0.2929, allocations: 1.391 MB / 483.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.2944, allocations: 0.5813 MB / 483.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004136/0.2985, allocations: 2.787 MB / 486.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.3004, allocations: 1.662 MB / 488.1 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.3018, allocations: 0.8996 MB / 489 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.3032, allocations: 1.259 MB / 490.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003647/0.3036, allocations: 176.9 kB / 490.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.3053, allocations: 0.9356 MB / 491.4 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008962/0.3062, allocations: 1.106 MB / 492.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.3073, allocations: 1.362 MB / 493.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004498/0.3118, allocations: 4.434 MB / 498.3 MB, free: 3.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3118, allocations: 1.062 kB / 498.3 MB, free: 3.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3118, allocations: 0 / 498.3 MB, free: 3.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.457e-05/0.3119, allocations: 0 / 498.3 MB, free: 3.461 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.005748/0.3177, allocations: 3.27 MB / 0.4898 GB, free: 1.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3177, allocations: 9.719 kB / 0.4898 GB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005567/0.3233, allocations: 1.693 MB / 0.4915 GB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002922/0.3262, allocations: 1.497 MB / 0.4929 GB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.3264, allocations: 135.7 kB / 0.4931 GB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003384/0.3267, allocations: 184 kB / 0.4932 GB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.3374, allocations: 6.754 MB / 0.4998 GB, free: 6.273 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.171e-05/0.3375, allocations: 27.75 kB / 0.4999 GB, free: 6.246 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002629/0.3378, allocations: 87.89 kB / 0.4999 GB, free: 6.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002547/0.3403, allocations: 1.456 MB / 0.5014 GB, free: 4.703 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01232/0.3527, allocations: 6.001 MB / 0.5072 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03348/0.3862, allocations: 27.52 MB / 0.5341 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004894/0.3911, allocations: 2.395 MB / 0.5364 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/0.3927, allocations: 1.081 MB / 0.5375 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-05/0.3928, allocations: 16.12 kB / 0.5375 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.411e-05/0.3929, allocations: 50.44 kB / 0.5375 GB, free: 14.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=102): time 3.547e-06/0.3929, allocations: 4 kB / 0.5376 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.01866/0.4115, allocations: 8.092 MB / 0.5455 GB, free: 6.422 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.4117, allocations: 166.6 kB / 0.5456 GB, free: 6.223 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004089/0.4158, allocations: 2.951 MB / 0.5485 GB, free: 3.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.4159, allocations: 41.69 kB / 0.5485 GB, free: 3.203 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001679/0.4176, allocations: 2.268 MB / 0.5508 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004737/0.4181, allocations: 472.5 kB / 0.5512 GB, free: 456 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001177/0.4193, allocations: 0.9091 MB / 0.5521 GB, free: 15.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.4194, allocations: 305.1 kB / 0.5524 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002298/0.4217, allocations: 1.492 MB / 0.5538 GB, free: 13.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004633/0.4264, allocations: 4.332 MB / 0.5581 GB, free: 7.938 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00763/0.434, allocations: 6.268 MB / 0.5642 GB, free: 256 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.04e-05/0.4341, allocations: 39.94 kB / 0.5642 GB, free: 216 kB / 430.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009754/0.4439, allocations: 5.604 MB / 0.5697 GB, free: 10.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.873e-05/0.444, allocations: 48 kB / 0.5697 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001091/0.4441, allocations: 108 kB / 0.5698 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001312/0.4442, allocations: 132 kB / 0.57 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004152/0.4484, allocations: 1.244 MB / 0.5712 GB, free: 9.074 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001827/0.4486, allocations: 199.2 kB / 0.5714 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003314/0.4519, allocations: 247.7 kB / 0.5716 GB, free: 8.637 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004735/0.4524, allocations: 283.9 kB / 0.5719 GB, free: 8.359 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004544/0.457, allocations: 2.585 MB / 0.5744 GB, free: 5.762 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005046/0.462, allocations: 4.324 MB / 0.5786 GB, free: 16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007877/0.4699, allocations: 6.242 MB / 0.5847 GB, free: 8.332 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.459e-05/0.47, allocations: 28 kB / 0.5848 GB, free: 8.305 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.009106/0.4791, allocations: 5.593 MB / 0.5902 GB, free: 2.703 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.785e-05/0.4792, allocations: 52.25 kB / 0.5903 GB, free: 2.652 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001385/0.4794, allocations: 100 kB / 0.5904 GB, free: 2.555 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001309/0.4795, allocations: 132 kB / 0.5905 GB, free: 2.426 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004066/0.4836, allocations: 1.232 MB / 0.5917 GB, free: 1.191 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000179/0.4838, allocations: 195.2 kB / 0.5919 GB, free: 1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002987/0.4868, allocations: 251.6 kB / 0.5921 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004721/0.4873, allocations: 287.9 kB / 0.5924 GB, free: 484 kB / 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.2218/0.7091, allocations: 0.5455 MB / 0.5929 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006008/0.7097, allocations: 254.7 kB / 0.5932 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0026/0.7123, allocations: 1.304 MB / 0.5944 GB, free: 109.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-05/0.7123, allocations: 13.62 kB / 0.5945 GB, free: 109.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.7124, allocations: 3.469 kB / 0.5945 GB, free: 109.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.7124, allocations: 5.062 kB / 0.5945 GB, free: 109.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007493/0.7199, allocations: 4.292 MB / 0.5987 GB, free: 108.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.7199, allocations: 1.75 kB / 0.5987 GB, free: 108.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002023/0.7219, allocations: 376.4 kB / 0.599 GB, free: 108.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/0.722, allocations: 4.781 kB / 0.599 GB, free: 108.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.737e-05/0.7221, allocations: 19.03 kB / 0.599 GB, free: 108.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.208e-05/0.7221, allocations: 13.19 kB / 0.5991 GB, free: 108.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.7221, allocations: 6.156 kB / 0.5991 GB, free: 108.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005117/0.7272, allocations: 3.228 MB / 0.6022 GB, free: 107.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/0.7284, allocations: 477.8 kB / 0.6027 GB, free: 106.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002463/0.7286, allocations: 13.53 kB / 0.6027 GB, free: 106.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009401/0.7296, allocations: 70.27 kB / 0.6027 GB, free: 106.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.7298, allocations: 59.5 kB / 0.6028 GB, free: 106.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.271e-05/0.7298, allocations: 28.34 kB / 0.6028 GB, free: 106.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003047/0.7329, allocations: 1.829 MB / 0.6046 GB, free: 106.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7329, allocations: 1.062 kB / 0.6046 GB, free: 106.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005729/0.7386, allocations: 1.191 MB / 0.6058 GB, free: 106.1 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.0003509/0.739, allocations: 141.9 kB / 0.6059 GB, free: 106 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009272/0.7483, allocations: 5.948 MB / 0.6117 GB, free: 104.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.7483, allocations: 0 / 0.6117 GB, free: 104.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001458/0.7498, allocations: 0.8332 MB / 0.6125 GB, free: 103.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.7521, allocations: 289 kB / 0.6128 GB, free: 103.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.7635, allocations: 6.191 MB / 0.6189 GB, free: 101 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001698/0.7653, allocations: 2.303 MB / 0.6211 GB, free: 99.97 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008212/0.7661, allocations: 214.5 kB / 0.6213 GB, free: 99.95 MB / 462.1 MB Notification: Performance of SimCode: time 1.162e-06/0.7661, allocations: 0 / 0.6213 GB, free: 99.95 MB / 462.1 MB Notification: Performance of Templates: time 0.04803/0.8141, allocations: 39.23 MB / 0.6596 GB, free: 67.15 MB / 462.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 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.125552798854187] Failed to read output from testmodel.py, exit status != 0: 0.8207344990223646 0.828398368 0.514829224 Calling exit ...