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.0007977/0.0007978, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.000816/0.0008159, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1461/0.1461, allocations: 5.193 MB / 296.3 MB, free: 3.965 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003038, allocations: 8 kB / 358.4 MB, free: 1.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1021, allocations: 51.55 MB / 410 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.01471/0.1168, allocations: 13.44 MB / 423.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2241/0.3409, allocations: 4.418 MB / 427.8 MB, free: 34.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/0.3432, allocations: 64.22 kB / 427.9 MB, free: 34.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.345, allocations: 0.6647 MB / 428.6 MB, free: 34.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005813/0.3509, allocations: 2.2 MB / 430.8 MB, free: 33.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.3525, allocations: 469.8 kB / 431.2 MB, free: 33.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00391/0.3565, allocations: 2.971 MB / 434.2 MB, free: 33.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002529/0.359, allocations: 1.94 MB / 436.1 MB, free: 33.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.3602, allocations: 0.7867 MB / 436.9 MB, free: 32.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.3616, allocations: 1.25 MB / 438.2 MB, free: 32.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002372/0.3619, allocations: 88.97 kB / 438.3 MB, free: 32.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.3634, allocations: 0.7516 MB / 439 MB, free: 32.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008328/0.3642, allocations: 1.007 MB / 440 MB, free: 32.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005308/0.3648, allocations: 0.5369 MB / 440.5 MB, free: 32.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002954/0.3677, allocations: 3.317 MB / 443.9 MB, free: 32.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3677, allocations: 0 / 443.9 MB, free: 32.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3677, allocations: 0 / 443.9 MB, free: 32.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.267e-05/0.3678, allocations: 4 kB / 443.9 MB, free: 32.14 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.004836/0.3727, allocations: 2.699 MB / 446.6 MB, free: 30.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3727, allocations: 9.031 kB / 446.6 MB, free: 30.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005846/0.3733, allocations: 484.4 kB / 447.1 MB, free: 30.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007948/0.3813, allocations: 1.732 MB / 448.8 MB, free: 30.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005014/0.3863, allocations: 1.744 MB / 450.5 MB, free: 30.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.3866, allocations: 135.2 kB / 450.7 MB, free: 30.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008281/0.3874, allocations: 179.2 kB / 450.8 MB, free: 30.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01456/0.402, allocations: 6.752 MB / 457.6 MB, free: 27.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.576e-05/0.4021, allocations: 31.75 kB / 457.6 MB, free: 27.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003748/0.4025, allocations: 91.34 kB / 457.7 MB, free: 27.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003745/0.4063, allocations: 1.453 MB / 459.2 MB, free: 27.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01727/0.4236, allocations: 5.999 MB / 465.2 MB, free: 25.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04186/0.4655, allocations: 27.56 MB / 492.7 MB, free: 20.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006711/0.4723, allocations: 2.41 MB / 495.1 MB, free: 18.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002051/0.4743, allocations: 1.091 MB / 496.2 MB, free: 18.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.208e-05/0.4744, allocations: 18.47 kB / 496.2 MB, free: 18.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.4745, allocations: 47.03 kB / 496.3 MB, free: 17.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=102): time 3.968e-06/0.4745, allocations: 0 / 496.3 MB, free: 17.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=110): time 0.02625/0.5008, allocations: 7.976 MB / 0.4924 GB, free: 10.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.5009, allocations: 170.6 kB / 0.4926 GB, free: 10 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006219/0.5072, allocations: 2.923 MB / 0.4955 GB, free: 7.059 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002977/0.5075, allocations: 37.7 kB / 0.4955 GB, free: 7.016 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002258/0.5098, allocations: 2.192 MB / 0.4976 GB, free: 4.832 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007519/0.5105, allocations: 446.9 kB / 0.4981 GB, free: 4.398 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/0.5108, allocations: 92 kB / 0.4981 GB, free: 4.309 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0004529/0.5113, allocations: 0.4996 MB / 0.4986 GB, free: 3.801 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003646/0.515, allocations: 1.453 MB / 0.5001 GB, free: 2.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005884/0.5209, allocations: 4.32 MB / 0.5043 GB, free: 12.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003964/0.5249, allocations: 2.438 MB / 0.5067 GB, free: 10.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.25e-05/0.525, allocations: 28 kB / 0.5067 GB, free: 10.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009714/0.5347, allocations: 5.559 MB / 0.5121 GB, free: 4.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002701/0.5374, allocations: 3.07 MB / 0.5151 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001889/0.5376, allocations: 100 kB / 0.5152 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/0.5378, allocations: 148 kB / 0.5153 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004264/0.5421, allocations: 1.244 MB / 0.5166 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001751/0.5423, allocations: 195.2 kB / 0.5167 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003348/0.5456, allocations: 267.5 kB / 0.517 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005881/0.5462, allocations: 279.2 kB / 0.5173 GB, free: 13.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.5463, allocations: 2.5 kB / 0.5173 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00916/0.5554, allocations: 5.271 MB / 0.5224 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002807/0.5558, allocations: 100 kB / 0.5225 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001668/0.5559, allocations: 148 kB / 0.5227 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00407/0.56, allocations: 1.236 MB / 0.5239 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001999/0.5602, allocations: 199.2 kB / 0.524 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002935/0.5632, allocations: 247.5 kB / 0.5243 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006631/0.5639, allocations: 276 kB / 0.5245 GB, free: 6.395 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00307/0.567, allocations: 1.522 MB / 0.526 GB, free: 4.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006592/0.5676, allocations: 244.8 kB / 0.5263 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/0.5702, allocations: 1.324 MB / 0.5276 GB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-05/0.5703, allocations: 12 kB / 0.5276 GB, free: 3.277 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.5703, allocations: 4 kB / 0.5276 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.5703, allocations: 3.984 kB / 0.5276 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00817/0.5785, allocations: 4.328 MB / 0.5318 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.5785, allocations: 4 kB / 0.5318 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/0.5803, allocations: 379.4 kB / 0.5322 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/0.5803, allocations: 4 kB / 0.5322 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.065e-05/0.5804, allocations: 23.98 kB / 0.5322 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.227e-06/0.5804, allocations: 7.938 kB / 0.5322 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5804, allocations: 0 / 0.5322 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00425/0.5847, allocations: 3.237 MB / 0.5354 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.5857, allocations: 469.7 kB / 0.5358 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002533/0.586, allocations: 19.98 kB / 0.5358 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008536/0.5868, allocations: 71.91 kB / 0.5359 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.587, allocations: 56.31 kB / 0.536 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-05/0.5871, allocations: 30.89 kB / 0.536 GB, free: 10.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002721/0.5898, allocations: 1.82 MB / 0.5378 GB, free: 8.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.5898, allocations: 0 / 0.5378 GB, free: 8.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006122/0.5959, allocations: 1.183 MB / 0.5389 GB, free: 7.566 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004569/0.6005, allocations: 3.847 MB / 0.5427 GB, free: 3.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0105/0.6111, allocations: 5.904 MB / 0.5484 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.6111, allocations: 0 / 0.5484 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.6124, allocations: 0.8318 MB / 0.5493 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.6144, allocations: 274.7 kB / 0.5495 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03944/0.6538, allocations: 21.76 MB / 0.5708 GB, free: 4.344 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002014/0.6559, allocations: 2.304 MB / 0.573 GB, free: 2.012 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.2135/0.8694, allocations: 2.501 MB / 0.5755 GB, free: 116.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002319/0.8717, allocations: 1.159 MB / 0.5766 GB, free: 116.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.8718, allocations: 0 / 0.5766 GB, free: 116.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08608/0.9579, allocations: 50.28 MB / 0.6257 GB, free: 104.5 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.9581, allocations: 176.2 kB / 0.6259 GB, free: 104.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.036/3.994, allocations: 0 / 0.6259 GB, free: 104.3 MB / 446.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/linux/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) Environment - environmentSimulation: