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.001054/0.001054, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009948/0.0009948, allocations: 177.3 kB / 15.95 MB, free: 216 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.342/1.342, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1671/0.1671, allocations: 5.187 MB / 296.2 MB, free: 4.016 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003371, allocations: 8 kB / 358.3 MB, free: 1.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1181, allocations: 51.54 MB / 409.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.01798/0.1362, allocations: 12.75 MB / 422.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2757/0.4119, allocations: 4.493 MB / 427.1 MB, free: 33.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003483/0.4155, allocations: 60.53 kB / 427.2 MB, free: 33.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002433/0.4179, allocations: 0.604 MB / 427.8 MB, free: 33.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007699/0.4257, allocations: 1.998 MB / 429.8 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.4276, allocations: 459.6 kB / 430.2 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00404/0.4317, allocations: 1.575 MB / 431.8 MB, free: 33.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004134/0.4359, allocations: 1.951 MB / 433.7 MB, free: 33.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001909/0.4378, allocations: 0.6746 MB / 434.4 MB, free: 33.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002064/0.4399, allocations: 0.9242 MB / 435.3 MB, free: 33.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006722/0.4406, allocations: 90.34 kB / 435.4 MB, free: 33.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002461/0.4431, allocations: 0.733 MB / 436.2 MB, free: 33.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001629/0.4447, allocations: 0.9319 MB / 437.1 MB, free: 32.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001327/0.4461, allocations: 0.5407 MB / 437.6 MB, free: 32.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005461/0.4515, allocations: 3.314 MB / 440.9 MB, free: 32.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4516, allocations: 0 / 440.9 MB, free: 32.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.644e-06/0.4516, allocations: 0 / 440.9 MB, free: 32.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001813/0.4518, allocations: 0 / 440.9 MB, free: 32.55 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.008916/0.4607, allocations: 2.753 MB / 443.7 MB, free: 31.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.4608, allocations: 9.031 kB / 443.7 MB, free: 31.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001697/0.4625, allocations: 485.4 kB / 444.2 MB, free: 31.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/0.4749, allocations: 2.004 MB / 446.2 MB, free: 30.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00514/0.48, allocations: 1.538 MB / 447.7 MB, free: 30.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/0.4803, allocations: 140 kB / 447.9 MB, free: 30.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001145/0.4815, allocations: 179 kB / 448 MB, free: 30.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01702/0.4985, allocations: 6.779 MB / 454.8 MB, free: 28.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000143/0.4987, allocations: 39.59 kB / 454.9 MB, free: 28.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008458/0.4996, allocations: 87.97 kB / 454.9 MB, free: 28.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003887/0.5035, allocations: 1.461 MB / 456.4 MB, free: 28.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.019/0.5225, allocations: 6.033 MB / 462.4 MB, free: 26.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05184/0.5744, allocations: 27.61 MB / 490 MB, free: 21.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006181/0.5806, allocations: 2.426 MB / 492.5 MB, free: 20.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.5808, allocations: 12.73 kB / 492.5 MB, free: 20.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.5809, allocations: 48.48 kB / 492.5 MB, free: 20.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=102): time 3.978e-06/0.5809, allocations: 0 / 492.5 MB, free: 20.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=110): time 0.01967/0.6005, allocations: 8.239 MB / 0.489 GB, free: 13.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.663e-05/0.6007, allocations: 178.5 kB / 0.4892 GB, free: 13.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004829/0.6055, allocations: 3.025 MB / 0.4922 GB, free: 10.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002805/0.6058, allocations: 43.66 kB / 0.4922 GB, free: 10.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001589/0.6074, allocations: 2.185 MB / 0.4943 GB, free: 8.164 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006088/0.6081, allocations: 454.4 kB / 0.4948 GB, free: 7.723 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/0.6084, allocations: 84 kB / 0.4948 GB, free: 7.641 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003414/0.6088, allocations: 499.8 kB / 0.4953 GB, free: 7.145 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00255/0.6113, allocations: 1.461 MB / 0.4967 GB, free: 5.676 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004303/0.6156, allocations: 4.296 MB / 0.5009 GB, free: 15.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003955/0.6196, allocations: 2.452 MB / 0.5033 GB, free: 13.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.611e-05/0.6198, allocations: 32 kB / 0.5034 GB, free: 13.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01009/0.6299, allocations: 5.546 MB / 0.5088 GB, free: 7.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.01612/0.646, allocations: 40.3 MB / 0.5481 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003708/0.6464, allocations: 100 kB / 0.5482 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002253/0.6467, allocations: 148 kB / 0.5484 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005635/0.6523, allocations: 1.24 MB / 0.5496 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002046/0.6526, allocations: 195.2 kB / 0.5498 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003707/0.6563, allocations: 259.6 kB / 0.55 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008068/0.6571, allocations: 283.9 kB / 0.5503 GB, free: 10.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.436e-05/0.6572, allocations: 6.656 kB / 0.5503 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009815/0.667, allocations: 5.281 MB / 0.5555 GB, free: 5.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003271/0.6674, allocations: 104 kB / 0.5556 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001506/0.6675, allocations: 148.1 kB / 0.5557 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004493/0.672, allocations: 1.228 MB / 0.5569 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000152/0.6722, allocations: 203.2 kB / 0.5571 GB, free: 3.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002978/0.6752, allocations: 243.6 kB / 0.5573 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005458/0.6758, allocations: 283.3 kB / 0.5576 GB, free: 2.898 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002493/0.6783, allocations: 1.524 MB / 0.5591 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004677/0.6787, allocations: 244.8 kB / 0.5593 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/0.6809, allocations: 1.316 MB / 0.5606 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.387e-05/0.6809, allocations: 15.94 kB / 0.5606 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/0.6809, allocations: 4 kB / 0.5606 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.6809, allocations: 7.969 kB / 0.5606 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006966/0.6879, allocations: 4.332 MB / 0.5649 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.6879, allocations: 4 kB / 0.5649 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001942/0.6899, allocations: 379.4 kB / 0.5652 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.6899, allocations: 8 kB / 0.5652 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.915e-05/0.69, allocations: 16 kB / 0.5652 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.69, allocations: 8 kB / 0.5653 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.69, allocations: 7.953 kB / 0.5653 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003944/0.694, allocations: 3.326 MB / 0.5685 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.695, allocations: 469.7 kB / 0.569 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002545/0.6953, allocations: 16 kB / 0.569 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000935/0.6962, allocations: 71.91 kB / 0.569 GB, free: 7.027 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.6964, allocations: 48.36 kB / 0.5691 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.907e-05/0.6965, allocations: 33.17 kB / 0.5691 GB, free: 6.949 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002652/0.6991, allocations: 1.906 MB / 0.571 GB, free: 5.039 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6992, allocations: 0 / 0.571 GB, free: 5.039 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005815/0.705, allocations: 1.206 MB / 0.5722 GB, free: 3.836 MB / 446.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.1993/0.9043, allocations: 4.192 MB / 0.5763 GB, free: 123.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009982/0.9143, allocations: 5.893 MB / 0.582 GB, free: 123.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.9144, allocations: 0 / 0.582 GB, free: 123.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001198/0.9156, allocations: 0.8392 MB / 0.5828 GB, free: 123.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/0.9177, allocations: 261.5 kB / 0.5831 GB, free: 123.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04913/0.9669, allocations: 91.45 MB / 0.6724 GB, free: 41.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00202/0.9689, allocations: 2.363 MB / 0.6747 GB, free: 40.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005803/0.9747, allocations: 2.511 MB / 0.6771 GB, free: 39.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/0.9762, allocations: 1.162 MB / 0.6783 GB, free: 38.93 MB / 446.1 MB Notification: Performance of SimCode: time 7.52e-07/0.9762, allocations: 4 kB / 0.6783 GB, free: 38.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07682/1.053, allocations: 50.99 MB / 0.7281 GB, free: 4.121 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/1.053, allocations: 163.3 kB / 0.7282 GB, free: 3.883 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.522/4.575, allocations: 0 / 0.7282 GB, free: 3.883 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: