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.0008092/0.0008092, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008121/0.0008121, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8409/0.8409, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.01514/0.01514, allocations: 4.091 MB / 263.3 MB, free: 9.23 MB / 250.7 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: "" <> buildModelFMU(DeltaRobot.Tests.IdealActuatorPos_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_IdealActuatorPos_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DeltaRobot.Tests.IdealActuatorPos_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_IdealActuatorPos_test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 387.6 MB, free: 9.047 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.296e-05, allocations: 5.234 kB / 387.6 MB, free: 9.043 MB / 314.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.005931/0.005954, allocations: 7.132 MB / 394.7 MB, free: 1.871 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004193/0.01015, allocations: 3.391 MB / 398.1 MB, free: 14.47 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000529/0.01068, allocations: 47.75 kB / 398.1 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.01211, allocations: 1.121 MB / 399.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.0138, allocations: 1.451 MB / 400.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006606/0.01446, allocations: 0.6232 MB / 401.3 MB, free: 11.22 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002266/0.01672, allocations: 3.16 MB / 404.5 MB, free: 8.051 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.01817, allocations: 1.692 MB / 406.2 MB, free: 6.336 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.01943, allocations: 1.411 MB / 407.6 MB, free: 4.922 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.02076, allocations: 1.43 MB / 409 MB, free: 3.488 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002449/0.02101, allocations: 184 kB / 409.2 MB, free: 3.309 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008442/0.02185, allocations: 0.8462 MB / 410.1 MB, free: 2.461 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005771/0.02243, allocations: 1.168 MB / 411.2 MB, free: 1.289 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005911/0.02302, allocations: 0.7319 MB / 412 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1454/0.1684, allocations: 4.418 MB / 416.4 MB, free: 20.15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1684, allocations: 0 / 416.4 MB, free: 20.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1684, allocations: 1.031 kB / 416.4 MB, free: 20.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.71e-05/0.1684, allocations: 0 / 416.4 MB, free: 20.15 MB / 330.7 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.004094/0.1725, allocations: 3.203 MB / 419.6 MB, free: 18.81 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1726, allocations: 10.12 kB / 419.6 MB, free: 18.81 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004235/0.173, allocations: 485.5 kB / 420.1 MB, free: 18.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003227/0.1762, allocations: 1.776 MB / 421.8 MB, free: 18.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/0.1781, allocations: 1.472 MB / 423.3 MB, free: 18.2 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.79e-05/0.1782, allocations: 129.7 kB / 423.4 MB, free: 18.19 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003259/0.1785, allocations: 182.3 kB / 423.6 MB, free: 18.19 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006657/0.1852, allocations: 6.791 MB / 430.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.476e-05/0.1852, allocations: 32.31 kB / 430.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001991/0.1854, allocations: 89.23 kB / 430.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001477/0.1869, allocations: 1.457 MB / 432 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006149/0.1931, allocations: 5.999 MB / 438 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01728/0.2103, allocations: 26.57 MB / 464.6 MB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/0.213, allocations: 1.919 MB / 466.5 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008409/0.2139, allocations: 1.01 MB / 467.5 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.242e-05/0.2139, allocations: 8 kB / 467.5 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.2139, allocations: 42.56 kB / 467.5 MB, free: 24 kB / 346.7 MB Notification: Performance of pre-optimization done (n=102): time 3.456e-06/0.2139, allocations: 0 / 467.5 MB, free: 24 kB / 346.7 MB Notification: Performance of matching and sorting (n=110): time 0.01055/0.2245, allocations: 8.253 MB / 475.8 MB, free: 7.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.2245, allocations: 166.7 kB / 475.9 MB, free: 7.527 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002557/0.2271, allocations: 3.264 MB / 479.2 MB, free: 4.246 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.715e-05/0.2272, allocations: 44.83 kB / 479.3 MB, free: 4.199 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.2282, allocations: 2.247 MB / 481.5 MB, free: 1.969 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/0.2284, allocations: 461.7 kB / 482 MB, free: 1.523 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007286/0.2291, allocations: 0.8895 MB / 482.8 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.264e-05/0.2292, allocations: 305.1 kB / 483.1 MB, free: 328 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.2306, allocations: 1.497 MB / 484.6 MB, free: 14.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00258/0.2332, allocations: 4.354 MB / 489 MB, free: 9.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004298/0.2375, allocations: 6.267 MB / 495.3 MB, free: 1.523 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.649e-05/0.2375, allocations: 32 kB / 495.3 MB, free: 1.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.005348/0.2428, allocations: 5.615 MB / 0.4892 GB, free: 11.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/0.2429, allocations: 48 kB / 0.4892 GB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.484e-05/0.2429, allocations: 100 kB / 0.4893 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.442e-05/0.243, allocations: 136 kB / 0.4894 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/0.2451, allocations: 1.24 MB / 0.4906 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.712e-05/0.2452, allocations: 199.2 kB / 0.4908 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.2467, allocations: 307.8 kB / 0.4911 GB, free: 9.867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002156/0.2469, allocations: 280 kB / 0.4914 GB, free: 9.594 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002565/0.2494, allocations: 2.585 MB / 0.4939 GB, free: 6.996 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002592/0.252, allocations: 4.346 MB / 0.4982 GB, free: 1.203 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004054/0.2561, allocations: 6.244 MB / 0.5043 GB, free: 9.535 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.328e-05/0.2561, allocations: 28 kB / 0.5043 GB, free: 9.508 MB / 410.7 MB Notification: Performance of matching and sorting (n=577) (initialization_lambda0): time 0.004947/0.2611, allocations: 5.589 MB / 0.5097 GB, free: 3.922 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.2611, allocations: 48 kB / 0.5098 GB, free: 3.875 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.78e-05/0.2611, allocations: 109.6 kB / 0.5099 GB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.941e-05/0.2612, allocations: 132 kB / 0.51 GB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/0.2632, allocations: 1.228 MB / 0.5112 GB, free: 2.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.917e-05/0.2632, allocations: 199.5 kB / 0.5114 GB, free: 2.215 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.2646, allocations: 307.5 kB / 0.5117 GB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002031/0.2648, allocations: 276.4 kB / 0.512 GB, free: 1.645 MB / 410.7 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 (553): * Single equations (assignments): 550 * 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.0003951/0.2652, allocations: 0.5492 MB / 0.5125 GB, free: 1.086 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/0.2654, allocations: 254.3 kB / 0.5127 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.2669, allocations: 1.31 MB / 0.514 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.2669, allocations: 15.94 kB / 0.514 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.2669, allocations: 0 / 0.514 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.2669, allocations: 9.344 kB / 0.5141 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004194/0.2711, allocations: 4.13 MB / 0.5181 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2711, allocations: 4.031 kB / 0.5181 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008947/0.272, allocations: 375.3 kB / 0.5184 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.272, allocations: 4 kB / 0.5185 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.279e-05/0.2721, allocations: 20 kB / 0.5185 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.2721, allocations: 4 kB / 0.5185 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2721, allocations: 0 / 0.5185 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/0.2747, allocations: 3.24 MB / 0.5216 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004647/0.2752, allocations: 418.1 kB / 0.522 GB, free: 7.258 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.2753, allocations: 12 kB / 0.522 GB, free: 7.246 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005594/0.2759, allocations: 109.9 kB / 0.5222 GB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.276, allocations: 56.34 kB / 0.5222 GB, free: 7.086 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/0.2761, allocations: 32.08 kB / 0.5222 GB, free: 7.055 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001594/0.2777, allocations: 1.956 MB / 0.5241 GB, free: 5.094 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2777, allocations: 0 / 0.5241 GB, free: 5.094 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003078/0.2807, allocations: 1.236 MB / 0.5254 GB, free: 3.855 MB / 426.7 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.003103/0.2838, allocations: 3.866 MB / 0.5291 GB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005362/0.2892, allocations: 5.691 MB / 0.5347 GB, free: 10.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2892, allocations: 3.719 kB / 0.5347 GB, free: 10.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007222/0.2899, allocations: 0.7702 MB / 0.5354 GB, free: 9.551 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.291, allocations: 293.9 kB / 0.5357 GB, free: 9.273 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0244/0.3154, allocations: 30.44 MB / 0.5655 GB, free: 6.949 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/0.3168, allocations: 1.732 MB / 0.5671 GB, free: 5.188 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003046/0.3199, allocations: 2.51 MB / 0.5696 GB, free: 2.672 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/0.3209, allocations: 1.164 MB / 0.5707 GB, free: 1.508 MB / 474.7 MB Notification: Performance of SimCode: time 9.51e-07/0.3209, allocations: 4 kB / 0.5707 GB, free: 1.504 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1736/0.4945, allocations: 44.89 MB / 0.6146 GB, free: 133.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.248/8.743, allocations: 4.062 kB / 0.6146 GB, free: 133.2 MB / 474.7 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_DeltaRobot_DeltaRobot_Tests_IdealActuatorPos_test_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --timeout=50 --tolerance=1e-06 DeltaRobot_DeltaRobot_Tests_IdealActuatorPos_test.fmu > DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.363587426953018] Failed to read output from testmodel.py, exit status != 0: 8.848409655503929 8.854233529 8.684528238 Calling exit ...