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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008156/0.0008157, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.004591/0.004591, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.162/1.162, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1176/0.1176, allocations: 5.189 MB / 296.6 MB, free: 4.066 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002663/0.0002663, allocations: 8 kB / 359 MB, free: 1.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07808/0.07836, allocations: 51.56 MB / 410.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.1533/0.2317, allocations: 14.35 MB / 424.9 MB, free: 33.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006668/0.2384, allocations: 4.738 MB / 429.7 MB, free: 33.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008683/0.2393, allocations: 57.88 kB / 429.7 MB, free: 33.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006302/0.2399, allocations: 348.6 kB / 430.1 MB, free: 33.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001875/0.2418, allocations: 1.29 MB / 431.4 MB, free: 33.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007701/0.2426, allocations: 0.5315 MB / 431.9 MB, free: 33.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002349/0.2449, allocations: 3.726 MB / 435.6 MB, free: 32.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00171/0.2466, allocations: 2.132 MB / 437.8 MB, free: 32.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005229/0.2472, allocations: 0.7082 MB / 438.5 MB, free: 32.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009227/0.2481, allocations: 1.264 MB / 439.7 MB, free: 32.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.2483, allocations: 93.34 kB / 439.8 MB, free: 32.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.2493, allocations: 0.9045 MB / 440.7 MB, free: 31.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000516/0.2498, allocations: 1.033 MB / 441.8 MB, free: 31.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006133/0.2504, allocations: 1.294 MB / 443 MB, free: 31.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.2526, allocations: 4.12 MB / 447.2 MB, free: 29.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.2526, allocations: 0.6562 kB / 447.2 MB, free: 29.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2526, allocations: 0 / 447.2 MB, free: 29.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.557e-05/0.2526, allocations: 0 / 447.2 MB, free: 29.99 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.003113/0.2557, allocations: 2.656 MB / 449.8 MB, free: 28.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.2558, allocations: 13.5 kB / 449.8 MB, free: 28.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003636/0.2561, allocations: 485.2 kB / 450.3 MB, free: 28.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005006/0.2612, allocations: 1.728 MB / 452 MB, free: 27.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/0.2631, allocations: 1.779 MB / 453.8 MB, free: 27.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/0.2632, allocations: 142.4 kB / 454 MB, free: 27.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002813/0.2635, allocations: 175.4 kB / 454.1 MB, free: 27.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006384/0.2699, allocations: 6.761 MB / 460.9 MB, free: 23.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.936e-05/0.2699, allocations: 33.19 kB / 460.9 MB, free: 23.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/0.2702, allocations: 89.16 kB / 461 MB, free: 23.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002244/0.2724, allocations: 1.459 MB / 462.5 MB, free: 23.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008678/0.2811, allocations: 6.026 MB / 468.5 MB, free: 21.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02125/0.3024, allocations: 27.57 MB / 496.1 MB, free: 16.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003617/0.306, allocations: 2.424 MB / 498.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009886/0.307, allocations: 1.088 MB / 499.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.443e-05/0.3071, allocations: 18 kB / 499.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.3071, allocations: 50.44 kB / 499.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=102): time 2.805e-06/0.3071, allocations: 0 / 499.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=110): time 0.01519/0.3223, allocations: 7.976 MB / 0.4957 GB, free: 5.254 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.3e-05/0.3224, allocations: 162.7 kB / 0.4959 GB, free: 5.059 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003218/0.3256, allocations: 2.94 MB / 0.4988 GB, free: 2.098 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.536e-05/0.3257, allocations: 41.7 kB / 0.4988 GB, free: 2.051 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00121/0.3269, allocations: 2.183 MB / 0.5009 GB, free: 15.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003335/0.3273, allocations: 458.8 kB / 0.5014 GB, free: 15.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003771/0.3276, allocations: 383.5 kB / 0.5017 GB, free: 15.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.3277, allocations: 313 kB / 0.502 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/0.3297, allocations: 1.469 MB / 0.5035 GB, free: 13.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003454/0.3332, allocations: 4.335 MB / 0.5077 GB, free: 7.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005747/0.3389, allocations: 6.271 MB / 0.5138 GB, free: 15.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.603e-05/0.339, allocations: 28 kB / 0.5138 GB, free: 15.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.007001/0.346, allocations: 5.592 MB / 0.5193 GB, free: 10.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001578/0.3476, allocations: 3.069 MB / 0.5223 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.55e-05/0.3477, allocations: 100 kB / 0.5224 GB, free: 5.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001033/0.3478, allocations: 132 kB / 0.5225 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003535/0.3513, allocations: 1.24 MB / 0.5237 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001201/0.3515, allocations: 199.2 kB / 0.5239 GB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/0.3537, allocations: 255.6 kB / 0.5242 GB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002748/0.354, allocations: 282.6 kB / 0.5244 GB, free: 3.488 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.582e-06/0.354, allocations: 4 kB / 0.5244 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006147/0.3601, allocations: 5.323 MB / 0.5296 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.549e-05/0.3602, allocations: 100 kB / 0.5297 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.292e-05/0.3603, allocations: 132 kB / 0.5299 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003457/0.3638, allocations: 1.232 MB / 0.5311 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001179/0.3639, allocations: 199.2 kB / 0.5313 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/0.3659, allocations: 247.8 kB / 0.5315 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002685/0.3662, allocations: 279.7 kB / 0.5318 GB, free: 12 MB / 414.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 (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.001709/0.3679, allocations: 1.531 MB / 0.5333 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002951/0.3682, allocations: 244.8 kB / 0.5335 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.3701, allocations: 1.324 MB / 0.5348 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/0.3701, allocations: 12 kB / 0.5348 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.3702, allocations: 0 / 0.5348 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.3702, allocations: 7.922 kB / 0.5348 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005442/0.3756, allocations: 4.34 MB / 0.539 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.3756, allocations: 4 kB / 0.539 GB, free: 4.469 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/0.3774, allocations: 379.4 kB / 0.5394 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.3774, allocations: 4 kB / 0.5394 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.3775, allocations: 15.98 kB / 0.5394 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.3775, allocations: 8 kB / 0.5394 GB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3775, allocations: 7.969 kB / 0.5394 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003654/0.3812, allocations: 3.239 MB / 0.5426 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005636/0.3817, allocations: 465.7 kB / 0.543 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/0.382, allocations: 16 kB / 0.5431 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008509/0.3828, allocations: 73.94 kB / 0.5431 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.383, allocations: 60.23 kB / 0.5432 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.496e-05/0.383, allocations: 35.94 kB / 0.5432 GB, free: 148 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002002/0.385, allocations: 1.832 MB / 0.545 GB, free: 14.31 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3851, allocations: 0 / 0.545 GB, free: 14.31 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004184/0.3893, allocations: 1.182 MB / 0.5462 GB, free: 13.13 MB / 430.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.003848/0.3931, allocations: 3.86 MB / 0.5499 GB, free: 9.234 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006921/0.4, allocations: 5.936 MB / 0.5557 GB, free: 3.344 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4001, allocations: 192 / 0.5557 GB, free: 3.344 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009956/0.4011, allocations: 0.8438 MB / 0.5566 GB, free: 2.504 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.4027, allocations: 280.5 kB / 0.5568 GB, free: 2.234 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1775/0.5802, allocations: 33.88 MB / 0.5899 GB, free: 121.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/0.5817, allocations: 2.305 MB / 0.5922 GB, free: 120.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004381/0.5861, allocations: 2.5 MB / 0.5946 GB, free: 120.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001153/0.5873, allocations: 1.159 MB / 0.5957 GB, free: 120.8 MB / 462.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5873, allocations: 3 kB / 0.5957 GB, free: 120.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.006/5.594, allocations: 44.98 MB / 0.6397 GB, free: 108 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/5.594, allocations: 173.8 kB / 0.6398 GB, free: 107.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.837/8.431, allocations: 0 / 0.6398 GB, free: 107.7 MB / 462.1 MB (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 --timeout=50 --tolerance=1e-06 DeltaRobot_DeltaRobot_Tests_IdealActuatorPos_test.fmu > DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.pipe 2>&1)