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.0008114/0.0008114, 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.0008443/0.0008443, allocations: 170.3 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.8441/0.8441, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.01585/0.01585, allocations: 4.087 MB / 263.3 MB, free: 9.246 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.784e-06/1.784e-06, allocations: 0 / 387.6 MB, free: 9.035 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412e-05/1.59e-05, allocations: 5.375 kB / 387.6 MB, free: 9.031 MB / 314.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.005868/0.005884, allocations: 7.124 MB / 394.7 MB, free: 1.867 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004362/0.01025, allocations: 3.391 MB / 398.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005568/0.0108, allocations: 47.75 kB / 398.1 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.01225, allocations: 1.132 MB / 399.3 MB, free: 13.28 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.01427, allocations: 1.439 MB / 400.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008069/0.01508, allocations: 0.6197 MB / 401.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002231/0.01731, allocations: 3.172 MB / 404.5 MB, free: 8.039 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.01881, allocations: 1.692 MB / 406.2 MB, free: 6.324 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.02014, allocations: 1.403 MB / 407.6 MB, free: 4.918 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/0.02144, allocations: 1.43 MB / 409 MB, free: 3.484 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001741/0.02161, allocations: 180 kB / 409.2 MB, free: 3.309 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008912/0.0225, allocations: 0.8539 MB / 410.1 MB, free: 2.453 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000591/0.0231, allocations: 1.165 MB / 411.2 MB, free: 1.285 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004959/0.02359, allocations: 0.7358 MB / 412 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1383/0.1619, allocations: 4.408 MB / 416.4 MB, free: 20.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1619, allocations: 1.719 kB / 416.4 MB, free: 20.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1619, allocations: 3.938 kB / 416.4 MB, free: 20.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001458/0.162, allocations: 2.531 kB / 416.4 MB, free: 20.11 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.006191/0.1682, allocations: 3.201 MB / 419.6 MB, free: 18.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1682, allocations: 13.77 kB / 419.6 MB, free: 18.77 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005767/0.1688, allocations: 485.7 kB / 420.1 MB, free: 18.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003435/0.1723, allocations: 1.774 MB / 421.8 MB, free: 18.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/0.1744, allocations: 1.466 MB / 423.3 MB, free: 18.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.1745, allocations: 136.3 kB / 423.4 MB, free: 18.15 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003925/0.1749, allocations: 178 kB / 423.6 MB, free: 18.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007/0.1819, allocations: 6.8 MB / 430.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.491e-05/0.182, allocations: 33.83 kB / 430.4 MB, free: 15.67 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002177/0.1822, allocations: 91.73 kB / 430.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001401/0.1836, allocations: 1.457 MB / 432 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006202/0.1898, allocations: 5.996 MB / 438 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01763/0.2074, allocations: 26.56 MB / 464.6 MB, free: 3.031 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002642/0.2101, allocations: 1.915 MB / 466.5 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008811/0.2109, allocations: 0.9971 MB / 467.5 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.515e-05/0.211, allocations: 16 kB / 467.5 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.211, allocations: 50.02 kB / 467.5 MB, free: 12 kB / 346.7 MB Notification: Performance of pre-optimization done (n=102): time 3.336e-06/0.211, allocations: 0 / 467.5 MB, free: 12 kB / 346.7 MB Notification: Performance of matching and sorting (n=110): time 0.01137/0.2224, allocations: 8.257 MB / 475.8 MB, free: 7.719 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.2224, allocations: 165.1 kB / 476 MB, free: 7.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003075/0.2255, allocations: 3.264 MB / 479.2 MB, free: 4.234 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.365e-05/0.2256, allocations: 41.7 kB / 479.3 MB, free: 4.188 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000937/0.2265, allocations: 2.255 MB / 481.5 MB, free: 1.953 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002852/0.2268, allocations: 466.2 kB / 482 MB, free: 1.508 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007787/0.2276, allocations: 0.8817 MB / 482.8 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.447e-05/0.2277, allocations: 305.1 kB / 483.1 MB, free: 320 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.2293, allocations: 1.494 MB / 484.6 MB, free: 14.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002573/0.2318, allocations: 4.356 MB / 489 MB, free: 9.047 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004556/0.2364, allocations: 6.273 MB / 495.3 MB, free: 1.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.055e-05/0.2364, allocations: 28 kB / 495.3 MB, free: 1.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.005655/0.2421, allocations: 5.609 MB / 0.4892 GB, free: 11.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.2421, allocations: 48 kB / 0.4892 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.457e-05/0.2422, allocations: 104.1 kB / 0.4893 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.864e-05/0.2423, allocations: 132 kB / 0.4894 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/0.2444, allocations: 1.244 MB / 0.4907 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.76e-05/0.2445, allocations: 195.2 kB / 0.4908 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/0.2463, allocations: 303.5 kB / 0.4911 GB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000245/0.2466, allocations: 280 kB / 0.4914 GB, free: 9.582 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003006/0.2496, allocations: 2.601 MB / 0.4939 GB, free: 6.973 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002749/0.2523, allocations: 4.342 MB / 0.4982 GB, free: 1.184 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004423/0.2567, allocations: 6.244 MB / 0.5043 GB, free: 9.516 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.582e-05/0.2568, allocations: 28 kB / 0.5043 GB, free: 9.488 MB / 410.7 MB Notification: Performance of matching and sorting (n=577) (initialization_lambda0): time 0.005403/0.2622, allocations: 5.584 MB / 0.5098 GB, free: 3.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/0.2622, allocations: 48.22 kB / 0.5098 GB, free: 3.863 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000238/0.2625, allocations: 104 kB / 0.5099 GB, free: 3.762 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.02e-05/0.2625, allocations: 140 kB / 0.51 GB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002081/0.2646, allocations: 1.232 MB / 0.5112 GB, free: 2.391 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.765e-05/0.2647, allocations: 195.2 kB / 0.5114 GB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.2664, allocations: 303.5 kB / 0.5117 GB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000234/0.2667, allocations: 280.4 kB / 0.512 GB, free: 1.629 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.0005923/0.2673, allocations: 0.5427 MB / 0.5125 GB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/0.2675, allocations: 258.2 kB / 0.5128 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.269, allocations: 1.306 MB / 0.514 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.269, allocations: 18.52 kB / 0.514 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.269, allocations: 0 / 0.514 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.269, allocations: 7.984 kB / 0.5141 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004864/0.2739, allocations: 4.128 MB / 0.5181 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.2739, allocations: 4 kB / 0.5181 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009351/0.2748, allocations: 379.4 kB / 0.5184 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.2748, allocations: 4 kB / 0.5185 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.843e-05/0.2749, allocations: 19.98 kB / 0.5185 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-06/0.2749, allocations: 15.66 kB / 0.5185 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.2749, allocations: 4 kB / 0.5185 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002673/0.2776, allocations: 3.225 MB / 0.5216 GB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005279/0.2781, allocations: 418.1 kB / 0.522 GB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.2783, allocations: 25.62 kB / 0.5221 GB, free: 7.219 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005997/0.2789, allocations: 102.5 kB / 0.5222 GB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.279, allocations: 60.33 kB / 0.5222 GB, free: 7.062 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.176e-05/0.279, allocations: 28 kB / 0.5222 GB, free: 7.035 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001831/0.2809, allocations: 1.956 MB / 0.5242 GB, free: 5.074 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2809, allocations: 0 / 0.5242 GB, free: 5.074 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003689/0.2845, allocations: 1.237 MB / 0.5254 GB, free: 3.836 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.003119/0.2877, allocations: 3.861 MB / 0.5291 GB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00558/0.2932, allocations: 5.692 MB / 0.5347 GB, free: 10.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2932, allocations: 4.188 kB / 0.5347 GB, free: 10.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007048/0.294, allocations: 0.7769 MB / 0.5355 GB, free: 9.527 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.295, allocations: 285.9 kB / 0.5357 GB, free: 9.258 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02634/0.3213, allocations: 30.44 MB / 0.5655 GB, free: 6.941 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/0.3228, allocations: 1.733 MB / 0.5671 GB, free: 5.18 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003294/0.3261, allocations: 2.518 MB / 0.5696 GB, free: 2.656 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/0.3273, allocations: 1.16 MB / 0.5707 GB, free: 1.496 MB / 474.7 MB Notification: Performance of SimCode: time 1.543e-06/0.3273, allocations: 0 / 0.5707 GB, free: 1.496 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1828/0.5101, allocations: 44.89 MB / 0.6146 GB, free: 124.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.136/9.647, allocations: 3.938 kB / 0.6146 GB, free: 124.9 MB / 474.7 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 DeltaRobot_DeltaRobot_Tests_IdealActuatorPos_test.fmu > DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.345294445753098] Failed to read output from testmodel.py, exit status != 0: 9.750209332443774 9.756918932 9.593687401 Calling exit ...