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.001334/0.001334, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.413/1.413, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1378/0.1378, allocations: 5.211 MB / 295.6 MB, free: 2.996 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 59.91 kB / 357.3 MB, free: 1.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09645/0.09794, allocations: 50.56 MB / 407.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.005186/0.1032, allocations: 3.641 MB / 411.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005235/0.1084, allocations: 3.459 MB / 415 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004118/0.1089, allocations: 8 kB / 415 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008893/0.1098, allocations: 287 kB / 415.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00218/0.112, allocations: 0.9034 MB / 416.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004749/0.1125, allocations: 235.6 kB / 416.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.1139, allocations: 1.168 MB / 417.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005413/0.1145, allocations: 394.6 kB / 417.9 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006539/0.1151, allocations: 482.3 kB / 418.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.1162, allocations: 0.8179 MB / 419.2 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003025/0.1165, allocations: 115.9 kB / 419.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.1186, allocations: 1.061 MB / 420.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000666/0.1193, allocations: 0.4987 MB / 420.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009603/0.1202, allocations: 0.6221 MB / 421.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1743/0.2946, allocations: 1.979 MB / 423.5 MB, free: 39.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.2946, allocations: 0 / 423.5 MB, free: 39.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2946, allocations: 2.094 kB / 423.5 MB, free: 39.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.912e-05/0.2947, allocations: 0 / 423.5 MB, free: 39.1 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.006431/0.3011, allocations: 2.331 MB / 425.8 MB, free: 38.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.3012, allocations: 9.781 kB / 425.8 MB, free: 38.31 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001339/0.3013, allocations: 92.56 kB / 425.9 MB, free: 38.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005498/0.3068, allocations: 0.6068 MB / 426.5 MB, free: 38.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/0.3102, allocations: 1.665 MB / 428.2 MB, free: 37.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.05276/0.3629, allocations: 12 MB / 440.2 MB, free: 37.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007022/0.3637, allocations: 36.91 kB / 440.2 MB, free: 37.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06963/0.4333, allocations: 15.63 MB / 455.9 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.4334, allocations: 4.75 kB / 455.9 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004676/0.4339, allocations: 20.47 kB / 455.9 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.4339, allocations: 11.34 kB / 455.9 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1315/0.5654, allocations: 29.45 MB / 485.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006709/0.5722, allocations: 4.649 MB / 490 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07253/0.6448, allocations: 15.26 MB / 0.4934 GB, free: 9.688 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.07003/0.7148, allocations: 14.68 MB / 0.5077 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002628/0.7151, allocations: 8 kB / 0.5078 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.728e-05/0.7152, allocations: 46.2 kB / 0.5078 GB, free: 10.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 4.007e-06/0.7152, allocations: 0 / 0.5078 GB, free: 10.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.2574/0.9727, allocations: 42.37 MB / 0.5492 GB, free: 0.543 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001904/0.9729, allocations: 402.3 kB / 0.5496 GB, free: 60 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00451/0.9774, allocations: 2.14 MB / 0.5516 GB, free: 13.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005083/0.9779, allocations: 33.7 kB / 0.5517 GB, free: 13.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000378/0.9783, allocations: 445.1 kB / 0.5521 GB, free: 13.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005711/0.9789, allocations: 108.8 kB / 0.5522 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00124/0.9802, allocations: 197.5 kB / 0.5524 GB, free: 13.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.9803, allocations: 321.9 kB / 0.5527 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.08051/1.061, allocations: 14.64 MB / 0.567 GB, free: 14.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2433/1.304, allocations: 14.76 MB / 0.5814 GB, free: 142.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.123/1.427, allocations: 25.71 MB / 0.6065 GB, free: 139.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/1.427, allocations: 1.125 kB / 0.6065 GB, free: 139.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.1276/1.555, allocations: 27.73 MB / 0.6336 GB, free: 121.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/1.555, allocations: 4 kB / 0.6336 GB, free: 121.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/1.555, allocations: 4.5 kB / 0.6336 GB, free: 121.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/1.555, allocations: 4 kB / 0.6336 GB, free: 121.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03202/1.587, allocations: 6.391 MB / 0.6398 GB, free: 115.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/1.587, allocations: 3.984 kB / 0.6398 GB, free: 115.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03176/1.619, allocations: 6.357 MB / 0.6461 GB, free: 108.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005083/1.619, allocations: 88.73 kB / 0.6461 GB, free: 108.6 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.001225/1.621, allocations: 348.1 kB / 0.6465 GB, free: 108.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009086/1.621, allocations: 101.7 kB / 0.6466 GB, free: 108.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/1.622, allocations: 113.3 kB / 0.6467 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/1.622, allocations: 5.781 kB / 0.6467 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/1.622, allocations: 3.984 kB / 0.6467 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/1.622, allocations: 4 kB / 0.6467 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/1.624, allocations: 1.852 MB / 0.6485 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/1.624, allocations: 0 / 0.6485 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03184/1.656, allocations: 6.395 MB / 0.6547 GB, free: 99.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/1.656, allocations: 0.6562 kB / 0.6547 GB, free: 99.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004399/1.656, allocations: 63.89 kB / 0.6548 GB, free: 99.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/1.656, allocations: 0 / 0.6548 GB, free: 99.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.656, allocations: 5 kB / 0.6548 GB, free: 99.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1227/1.779, allocations: 28.19 MB / 0.6823 GB, free: 71.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006206/1.78, allocations: 329.3 kB / 0.6827 GB, free: 71.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000762/1.781, allocations: 15.98 kB / 0.6827 GB, free: 71.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03224/1.813, allocations: 6.341 MB / 0.6889 GB, free: 64.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001551/1.814, allocations: 0.7921 MB / 0.6896 GB, free: 64.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003865/1.815, allocations: 87.89 kB / 0.6897 GB, free: 63.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002745/1.818, allocations: 1.626 MB / 0.6913 GB, free: 62.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/1.818, allocations: 0 / 0.6913 GB, free: 62.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002094/1.82, allocations: 0.6861 MB / 0.692 GB, free: 61.66 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.1271/1.947, allocations: 29.01 MB / 0.7203 GB, free: 32.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1317/2.078, allocations: 29.41 MB / 0.749 GB, free: 3.211 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/2.078, allocations: 0 / 0.749 GB, free: 3.211 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2218/2.3, allocations: 17.82 MB / 0.7664 GB, free: 141.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/2.303, allocations: 259.6 kB / 0.7667 GB, free: 141.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4344/2.737, allocations: 97.1 MB / 0.8615 GB, free: 63.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005704/2.738, allocations: 1.114 MB / 0.8626 GB, free: 62.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004131/2.742, allocations: 0.8625 MB / 0.8634 GB, free: 61.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002053/2.744, allocations: 439.1 kB / 0.8638 GB, free: 60.93 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/2.744, allocations: 4 kB / 0.8639 GB, free: 60.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.266/3.01, allocations: 86.33 MB / 0.9482 GB, free: 134.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.514/12.52, allocations: 7.938 kB / 0.9482 GB, free: 134.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)