Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.Trajectory_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.Trajectory_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_Trajectory_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DeltaRobot.Tests.Trajectory_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_Trajectory_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.0007215/0.0007216, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004218/0.004218, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.174/1.174, allocations: 223.2 MB / 240.3 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1359/0.1359, allocations: 5.192 MB / 296.6 MB, free: 4.062 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000271/0.000271, allocations: 11.98 kB / 359 MB, free: 1.34 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0781/0.07839, allocations: 51.54 MB / 410.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.005056/0.08348, allocations: 5.997 MB / 416.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004674/0.08818, allocations: 4.01 MB / 420.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.08843, allocations: 8 kB / 420.6 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006045/0.08904, allocations: 270.8 kB / 420.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.09037, allocations: 0.798 MB / 421.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.0907, allocations: 211.7 kB / 421.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001229/0.09194, allocations: 1.418 MB / 423.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004348/0.09238, allocations: 377.3 kB / 423.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003397/0.09273, allocations: 402.4 kB / 424 MB, free: 228 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1402/0.233, allocations: 0.759 MB / 424.8 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.2332, allocations: 48.16 kB / 424.8 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.2348, allocations: 1.022 MB / 425.9 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.2351, allocations: 440.5 kB / 426.3 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004084/0.2355, allocations: 0.5639 MB / 426.9 MB, free: 34.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.2368, allocations: 1.896 MB / 428.8 MB, free: 34.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.2368, allocations: 3.188 kB / 428.8 MB, free: 34.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2368, allocations: 4.719 kB / 428.8 MB, free: 34.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.2368, allocations: 0 / 428.8 MB, free: 34.76 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.004763/0.2416, allocations: 2.16 MB / 430.9 MB, free: 33.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.2416, allocations: 8.781 kB / 430.9 MB, free: 33.97 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.2418, allocations: 95.28 kB / 431 MB, free: 33.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005228/0.247, allocations: 0.6056 MB / 431.6 MB, free: 33.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002432/0.2494, allocations: 1.662 MB / 433.3 MB, free: 33.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.05265/0.3021, allocations: 12.04 MB / 445.3 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004257/0.3026, allocations: 38.38 kB / 445.4 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06758/0.3701, allocations: 15.72 MB / 461.1 MB, free: 28.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.3702, allocations: 6.625 kB / 461.1 MB, free: 28.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002739/0.3705, allocations: 19.91 kB / 461.1 MB, free: 28.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.3705, allocations: 14.59 kB / 461.1 MB, free: 28.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1305/0.501, allocations: 29.66 MB / 490.8 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005756/0.5068, allocations: 4.642 MB / 495.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07529/0.5821, allocations: 15.35 MB / 0.4988 GB, free: 3.223 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.06884/0.651, allocations: 14.79 MB / 0.5133 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/0.6512, allocations: 7 kB / 0.5133 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.6512, allocations: 42.47 kB / 0.5133 GB, free: 4.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 3.637e-06/0.6512, allocations: 0 / 0.5133 GB, free: 4.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.2024/0.8537, allocations: 42.69 MB / 0.555 GB, free: 9.594 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001977/0.8539, allocations: 396.1 kB / 0.5554 GB, free: 9.117 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003927/0.8578, allocations: 2.142 MB / 0.5575 GB, free: 6.957 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003768/0.8582, allocations: 33.7 kB / 0.5575 GB, free: 6.918 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/0.8586, allocations: 440.7 kB / 0.5579 GB, free: 6.488 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003933/0.859, allocations: 102.5 kB / 0.558 GB, free: 6.387 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003378/0.8593, allocations: 33.64 kB / 0.558 GB, free: 6.348 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.8595, allocations: 325.2 kB / 0.5584 GB, free: 6.027 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0692/0.9287, allocations: 14.74 MB / 0.5727 GB, free: 7.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1962/1.125, allocations: 14.85 MB / 0.5872 GB, free: 140.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1198/1.245, allocations: 25.92 MB / 0.6126 GB, free: 134.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/1.245, allocations: 1.156 kB / 0.6126 GB, free: 134.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.1208/1.366, allocations: 27.94 MB / 0.6398 GB, free: 112 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/1.366, allocations: 4 kB / 0.6399 GB, free: 112 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.366, allocations: 0.75 kB / 0.6399 GB, free: 112 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/1.366, allocations: 4.844 kB / 0.6399 GB, free: 112 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03076/1.396, allocations: 6.439 MB / 0.6461 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/1.396, allocations: 1.203 kB / 0.6461 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02967/1.426, allocations: 6.417 MB / 0.6524 GB, free: 99.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003796/1.427, allocations: 89.2 kB / 0.6525 GB, free: 99.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * Array equations: 0 * 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.000907/1.427, allocations: 337.4 kB / 0.6528 GB, free: 98.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005897/1.428, allocations: 103 kB / 0.6529 GB, free: 98.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/1.428, allocations: 115.5 kB / 0.653 GB, free: 98.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/1.428, allocations: 4 kB / 0.653 GB, free: 98.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.428, allocations: 3.75 kB / 0.653 GB, free: 98.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.428, allocations: 8 kB / 0.653 GB, free: 98.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/1.43, allocations: 1.853 MB / 0.6549 GB, free: 97.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/1.43, allocations: 1.656 kB / 0.6549 GB, free: 97.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03128/1.462, allocations: 6.444 MB / 0.6611 GB, free: 90.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/1.462, allocations: 0 / 0.6611 GB, free: 90.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002346/1.462, allocations: 58.83 kB / 0.6612 GB, free: 90.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/1.462, allocations: 4.922 kB / 0.6612 GB, free: 90.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.462, allocations: 4.938 kB / 0.6612 GB, free: 90.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1246/1.586, allocations: 28.41 MB / 0.689 GB, free: 62.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006042/1.587, allocations: 341.6 kB / 0.6893 GB, free: 62.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007063/1.588, allocations: 9.922 kB / 0.6893 GB, free: 62.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03172/1.62, allocations: 6.382 MB / 0.6955 GB, free: 55.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001339/1.621, allocations: 0.7959 MB / 0.6963 GB, free: 54.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003099/1.621, allocations: 91.08 kB / 0.6964 GB, free: 54.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002465/1.624, allocations: 1.616 MB / 0.698 GB, free: 53.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.624, allocations: 0 / 0.698 GB, free: 53.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001875/1.626, allocations: 0.695 MB / 0.6986 GB, free: 52.61 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * 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.1275/1.753, allocations: 29.22 MB / 0.7272 GB, free: 23.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2598/2.013, allocations: 29.59 MB / 0.7561 GB, free: 139.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/2.013, allocations: 0 / 0.7561 GB, free: 139.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.06911/2.082, allocations: 17.92 MB / 0.7736 GB, free: 139 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/2.084, allocations: 240.2 kB / 0.7738 GB, free: 139 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3891/2.473, allocations: 97.86 MB / 0.8694 GB, free: 51.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004859/2.474, allocations: 1.106 MB / 0.8705 GB, free: 50.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003458/2.477, allocations: 0.8662 MB / 0.8713 GB, free: 49.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001853/2.479, allocations: 435.1 kB / 0.8717 GB, free: 49.28 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/2.479, allocations: 0 / 0.8717 GB, free: 49.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2104/2.69, allocations: 79.88 MB / 0.9497 GB, free: 128.3 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001196/2.69, allocations: 168.1 kB / 0.9499 GB, free: 128.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.869/5.559, allocations: 5.344 kB / 0.9499 GB, free: 128.1 MB / 446.1 MB (rm -f DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.Trajectory_test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_DeltaRobot_DeltaRobot_Tests_Trajectory_test_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 DeltaRobot_DeltaRobot_Tests_Trajectory_test.fmu > DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe 2>&1)