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.005082/0.005082, allocations: 109.6 kB / 15.74 MB, free: 5.984 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.001179/0.001179, allocations: 193.7 kB / 16.68 MB, free: 5.906 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1395/0.1395, allocations: 5.214 MB / 295.7 MB, free: 3.078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 63.91 kB / 408.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2548, allocations: 50.57 MB / 459.1 MB, free: 19.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.008063/0.2629, allocations: 7.971 MB / 467.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006528/0.2695, allocations: 3.571 MB / 470.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.2711, allocations: 37.59 kB / 470.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002792/0.2739, allocations: 1.095 MB / 471.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004165/0.2782, allocations: 1.386 MB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.2798, allocations: 0.5839 MB / 473.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004791/0.2846, allocations: 2.783 MB / 476.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003321/0.288, allocations: 1.662 MB / 478.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/0.2904, allocations: 0.9126 MB / 479.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002582/0.293, allocations: 1.262 MB / 480.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008732/0.2939, allocations: 177.7 kB / 480.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00254/0.2964, allocations: 0.9244 MB / 481.5 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001554/0.298, allocations: 1.109 MB / 482.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002498/0.3005, allocations: 1.362 MB / 484 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005638/0.3061, allocations: 4.424 MB / 488.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3062, allocations: 4 kB / 488.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.3062, allocations: 1.375 kB / 488.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001438/0.3063, allocations: 0 / 488.4 MB, free: 2.531 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.007449/0.3138, allocations: 3.202 MB / 491.6 MB, free: 248 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3138, allocations: 12.53 kB / 491.6 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006498/0.3145, allocations: 484.6 kB / 492.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006138/0.3206, allocations: 1.674 MB / 493.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004502/0.3252, allocations: 1.796 MB / 495.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.3253, allocations: 131.7 kB / 495.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007443/0.3261, allocations: 187.8 kB / 495.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/0.3374, allocations: 6.746 MB / 0.4908 GB, free: 5.902 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.831e-05/0.3375, allocations: 35.66 kB / 0.4909 GB, free: 5.867 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004451/0.3379, allocations: 91.89 kB / 0.4909 GB, free: 5.777 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002412/0.3404, allocations: 1.456 MB / 0.4924 GB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/0.351, allocations: 5.998 MB / 0.4982 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03237/0.3834, allocations: 27.46 MB / 0.525 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004642/0.3881, allocations: 2.42 MB / 0.5274 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.3895, allocations: 1.079 MB / 0.5285 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.781e-05/0.3896, allocations: 15.88 kB / 0.5285 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.3897, allocations: 50.5 kB / 0.5285 GB, free: 14.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=102): time 3.667e-06/0.3897, allocations: 0 / 0.5285 GB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.01868/0.4084, allocations: 7.952 MB / 0.5363 GB, free: 6.199 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.223e-05/0.4085, allocations: 170.6 kB / 0.5365 GB, free: 5.996 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004485/0.413, allocations: 2.94 MB / 0.5393 GB, free: 3.035 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.4131, allocations: 41.7 kB / 0.5394 GB, free: 2.988 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001483/0.4146, allocations: 2.188 MB / 0.5415 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000437/0.4151, allocations: 450.5 kB / 0.5419 GB, free: 328 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001306/0.4164, allocations: 0.8887 MB / 0.5428 GB, free: 15.42 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.4165, allocations: 313 kB / 0.5431 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002333/0.4188, allocations: 1.492 MB / 0.5446 GB, free: 13.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003973/0.4228, allocations: 4.32 MB / 0.5488 GB, free: 7.836 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006463/0.4293, allocations: 6.259 MB / 0.5549 GB, free: 164 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.923e-05/0.4294, allocations: 28 kB / 0.5549 GB, free: 136 kB / 430.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.008765/0.4382, allocations: 5.565 MB / 0.5603 GB, free: 10.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.889e-05/0.4383, allocations: 51.98 kB / 0.5604 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001463/0.4384, allocations: 100 kB / 0.5605 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001424/0.4386, allocations: 132.8 kB / 0.5606 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004122/0.4427, allocations: 1.232 MB / 0.5618 GB, free: 9.047 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002174/0.4429, allocations: 203.2 kB / 0.562 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003213/0.4461, allocations: 255.5 kB / 0.5623 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004158/0.4466, allocations: 280 kB / 0.5625 GB, free: 8.324 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003957/0.4505, allocations: 2.583 MB / 0.565 GB, free: 5.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003969/0.4545, allocations: 4.312 MB / 0.5693 GB, free: 15.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006425/0.461, allocations: 6.23 MB / 0.5753 GB, free: 8.324 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.242e-05/0.4611, allocations: 32 kB / 0.5754 GB, free: 8.293 MB / 462.1 MB Notification: Performance of matching and sorting (n=577) (initialization_lambda0): time 0.009206/0.4703, allocations: 5.552 MB / 0.5808 GB, free: 2.734 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.598e-05/0.4704, allocations: 48 kB / 0.5808 GB, free: 2.688 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001464/0.4706, allocations: 100 kB / 0.5809 GB, free: 2.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001345/0.4707, allocations: 132 kB / 0.5811 GB, free: 2.461 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003969/0.4747, allocations: 1.232 MB / 0.5823 GB, free: 1.227 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001576/0.4748, allocations: 195.2 kB / 0.5825 GB, free: 1.035 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002936/0.4778, allocations: 255.5 kB / 0.5827 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004364/0.4782, allocations: 276 kB / 0.583 GB, free: 0.5156 MB / 462.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.1988/0.677, allocations: 0.5401 MB / 0.5835 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007118/0.6778, allocations: 243 kB / 0.5837 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002983/0.6808, allocations: 1.301 MB / 0.585 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.222e-05/0.6808, allocations: 15.34 kB / 0.585 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.6808, allocations: 1 kB / 0.585 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/0.6809, allocations: 15.81 kB / 0.585 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009674/0.6905, allocations: 4.298 MB / 0.5892 GB, free: 107.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/0.6906, allocations: 2.656 kB / 0.5892 GB, free: 107.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001982/0.6926, allocations: 379.9 kB / 0.5896 GB, free: 107.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.619e-05/0.6926, allocations: 5.922 kB / 0.5896 GB, free: 107.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/0.6927, allocations: 15.48 kB / 0.5896 GB, free: 107.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/0.6927, allocations: 8.094 kB / 0.5896 GB, free: 107.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.6927, allocations: 7.625 kB / 0.5896 GB, free: 107.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004279/0.697, allocations: 3.216 MB / 0.5928 GB, free: 106.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/0.6984, allocations: 461.5 kB / 0.5932 GB, free: 106 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005933/0.699, allocations: 22.41 kB / 0.5932 GB, free: 106 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.7003, allocations: 62.22 kB / 0.5933 GB, free: 105.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.7005, allocations: 51.3 kB / 0.5933 GB, free: 105.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.391e-05/0.7006, allocations: 28.34 kB / 0.5934 GB, free: 105.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003612/0.7042, allocations: 1.836 MB / 0.5951 GB, free: 105.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.7042, allocations: 0 / 0.5951 GB, free: 105.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006715/0.7109, allocations: 1.18 MB / 0.5963 GB, free: 105.2 MB / 462.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.004526/0.7154, allocations: 3.845 MB / 0.6001 GB, free: 103.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009196/0.7247, allocations: 5.914 MB / 0.6058 GB, free: 101.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.7247, allocations: 3.469 kB / 0.6058 GB, free: 101.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.7259, allocations: 0.8345 MB / 0.6066 GB, free: 101.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/0.7281, allocations: 289.7 kB / 0.6069 GB, free: 100.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03665/0.7648, allocations: 30.03 MB / 0.6363 GB, free: 76.93 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002429/0.7672, allocations: 2.304 MB / 0.6385 GB, free: 75.06 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004498/0.7718, allocations: 2.499 MB / 0.6409 GB, free: 72.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/0.7732, allocations: 1.163 MB / 0.6421 GB, free: 71.61 MB / 462.1 MB Notification: Performance of SimCode: time 7.71e-07/0.7732, allocations: 0 / 0.6421 GB, free: 71.61 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06629/0.8395, allocations: 44.13 MB / 0.6852 GB, free: 27.76 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.95/16.79, allocations: 7.938 kB / 0.6852 GB, free: 27.75 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)