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.001164/0.001164, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001176/0.001176, allocations: 194 kB / 16.14 MB, free: 6.66 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.168/1.168, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1159/0.1159, allocations: 5.198 MB / 295.2 MB, free: 3.051 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 59.91 kB / 356.6 MB, free: 2.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07239/0.07346, allocations: 50.58 MB / 407.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.01227/0.08576, allocations: 14.95 MB / 422.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1374/0.2232, allocations: 4.793 MB / 426.9 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.2249, allocations: 60.97 kB / 427 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.2266, allocations: 1.071 MB / 428 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.2285, allocations: 1.28 MB / 429.3 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000799/0.2293, allocations: 0.5354 MB / 429.9 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002042/0.2314, allocations: 3.734 MB / 433.6 MB, free: 34.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.2325, allocations: 1.61 MB / 435.2 MB, free: 33.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005074/0.233, allocations: 0.7944 MB / 436 MB, free: 33.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008957/0.2339, allocations: 1.348 MB / 437.3 MB, free: 33.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001863/0.2341, allocations: 123.6 kB / 437.5 MB, free: 33.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.2351, allocations: 0.9301 MB / 438.4 MB, free: 33.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005231/0.2356, allocations: 1.064 MB / 439.5 MB, free: 32.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006405/0.2363, allocations: 1.315 MB / 440.8 MB, free: 31.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002092/0.2384, allocations: 4.22 MB / 445 MB, free: 30.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2384, allocations: 0 / 445 MB, free: 30.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.2384, allocations: 0 / 445 MB, free: 30.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.554e-05/0.2384, allocations: 0 / 445 MB, free: 30.39 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.003512/0.242, allocations: 3.193 MB / 448.2 MB, free: 28.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.242, allocations: 9.75 kB / 448.2 MB, free: 28.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003549/0.2424, allocations: 481 kB / 448.7 MB, free: 28.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004682/0.247, allocations: 1.681 MB / 450.3 MB, free: 28.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/0.2492, allocations: 1.771 MB / 452.1 MB, free: 27.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.439e-05/0.2492, allocations: 145.9 kB / 452.3 MB, free: 27.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002529/0.2495, allocations: 175.9 kB / 452.4 MB, free: 27.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00613/0.2556, allocations: 6.758 MB / 459.2 MB, free: 23.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.305e-05/0.2557, allocations: 24.75 kB / 459.2 MB, free: 23.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002183/0.2559, allocations: 97.92 kB / 459.3 MB, free: 23.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002065/0.258, allocations: 1.455 MB / 460.8 MB, free: 23.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008545/0.2666, allocations: 5.993 MB / 466.8 MB, free: 21.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0212/0.2878, allocations: 27.57 MB / 494.3 MB, free: 16.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00354/0.2913, allocations: 2.405 MB / 496.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009664/0.2923, allocations: 1.081 MB / 497.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.077e-05/0.2924, allocations: 15.66 kB / 497.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.2924, allocations: 50.48 kB / 497.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=102): time 2.816e-06/0.2924, allocations: 0 / 497.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=110): time 0.01477/0.3072, allocations: 7.952 MB / 0.494 GB, free: 5.496 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.3073, allocations: 166.7 kB / 0.4941 GB, free: 5.297 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002886/0.3102, allocations: 2.94 MB / 0.497 GB, free: 2.336 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.788e-05/0.3102, allocations: 41.7 kB / 0.497 GB, free: 2.289 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.3113, allocations: 2.189 MB / 0.4992 GB, free: 104 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003017/0.3116, allocations: 450.1 kB / 0.4996 GB, free: 15.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008787/0.3125, allocations: 0.8988 MB / 0.5005 GB, free: 14.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.639e-05/0.3126, allocations: 309.1 kB / 0.5008 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001863/0.3145, allocations: 1.484 MB / 0.5022 GB, free: 12.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003244/0.3177, allocations: 4.328 MB / 0.5065 GB, free: 7.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00533/0.3231, allocations: 6.252 MB / 0.5126 GB, free: 15.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.349e-05/0.3231, allocations: 28 kB / 0.5126 GB, free: 15.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.006713/0.3298, allocations: 5.566 MB / 0.518 GB, free: 9.898 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.863e-05/0.3299, allocations: 48.22 kB / 0.5181 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.366e-05/0.33, allocations: 108 kB / 0.5182 GB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.435e-05/0.3301, allocations: 132 kB / 0.5183 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003314/0.3334, allocations: 1.228 MB / 0.5195 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001158/0.3335, allocations: 195.2 kB / 0.5197 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002099/0.3356, allocations: 257.8 kB / 0.5199 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002702/0.3359, allocations: 276 kB / 0.5202 GB, free: 7.676 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003075/0.339, allocations: 2.589 MB / 0.5227 GB, free: 5.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003198/0.3422, allocations: 4.32 MB / 0.5269 GB, free: 15.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005303/0.3475, allocations: 6.227 MB / 0.533 GB, free: 7.668 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.348e-05/0.3476, allocations: 32 kB / 0.533 GB, free: 7.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=577) (initialization_lambda0): time 0.006657/0.3542, allocations: 5.548 MB / 0.5385 GB, free: 2.082 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/0.3543, allocations: 48 kB / 0.5385 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.077e-05/0.3543, allocations: 104 kB / 0.5386 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.69e-05/0.3544, allocations: 136 kB / 0.5387 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003267/0.3577, allocations: 1.229 MB / 0.5399 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000114/0.3578, allocations: 200.7 kB / 0.5401 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/0.3599, allocations: 247.5 kB / 0.5404 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002743/0.3602, allocations: 280.5 kB / 0.5406 GB, free: 15.86 MB / 430.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.0005931/0.3608, allocations: 0.5471 MB / 0.5412 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/0.3611, allocations: 244.8 kB / 0.5414 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/0.3629, allocations: 1.308 MB / 0.5427 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.3629, allocations: 12 kB / 0.5427 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3629, allocations: 3.938 kB / 0.5427 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.363, allocations: 7.984 kB / 0.5427 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005518/0.3685, allocations: 4.312 MB / 0.5469 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.3685, allocations: 4 kB / 0.5469 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/0.3701, allocations: 375.4 kB / 0.5473 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.3701, allocations: 7.984 kB / 0.5473 GB, free: 8.984 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.664e-05/0.3702, allocations: 15.12 kB / 0.5473 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.3702, allocations: 7.938 kB / 0.5473 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3702, allocations: 7.969 kB / 0.5473 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003444/0.3736, allocations: 3.215 MB / 0.5505 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005557/0.3742, allocations: 457.7 kB / 0.5509 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/0.3744, allocations: 20 kB / 0.5509 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007974/0.3752, allocations: 59.91 kB / 0.551 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.3754, allocations: 64.23 kB / 0.551 GB, free: 5.109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.835e-05/0.3755, allocations: 26.11 kB / 0.5511 GB, free: 5.086 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001944/0.3774, allocations: 1.839 MB / 0.5529 GB, free: 3.242 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3774, allocations: 0 / 0.5529 GB, free: 3.242 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004135/0.3816, allocations: 1.18 MB / 0.554 GB, free: 2.062 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.00383/0.3854, allocations: 3.832 MB / 0.5577 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006931/0.3924, allocations: 5.912 MB / 0.5635 GB, free: 8.336 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3924, allocations: 8.188 kB / 0.5635 GB, free: 8.328 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009794/0.3934, allocations: 0.826 MB / 0.5643 GB, free: 7.504 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.3947, allocations: 281 kB / 0.5646 GB, free: 7.234 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1558/0.5505, allocations: 33.75 MB / 0.5976 GB, free: 130.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001737/0.5523, allocations: 2.302 MB / 0.5998 GB, free: 129.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004407/0.5567, allocations: 2.502 MB / 0.6023 GB, free: 129.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/0.5578, allocations: 1.162 MB / 0.6034 GB, free: 128.7 MB / 462.1 MB Notification: Performance of SimCode: time 6.42e-07/0.5578, allocations: 3.156 kB / 0.6034 GB, free: 128.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.778/2.336, allocations: 45.33 MB / 0.6477 GB, free: 113 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/2.336, allocations: 184.9 kB / 0.6478 GB, free: 112.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.712/5.048, allocations: 4 kB / 0.6478 GB, free: 112.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)