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.007373/0.00738, allocations: 99.92 kB / 15.73 MB, free: 6.008 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.001688/0.001689, allocations: 193.3 kB / 16.67 MB, free: 5.93 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02975/0.02975, allocations: 5.228 MB / 295.8 MB, free: 9.586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.89 kB / 408.6 MB, free: 26.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.122, allocations: 50.58 MB / 459.1 MB, free: 8.109 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.006408/0.1284, allocations: 3.633 MB / 462.8 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006071/0.1345, allocations: 3.467 MB / 466.2 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003591/0.1349, allocations: 8 kB / 466.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.136, allocations: 291 kB / 466.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002444/0.1384, allocations: 0.8989 MB / 467.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000545/0.139, allocations: 239.6 kB / 467.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00161/0.1406, allocations: 1.16 MB / 468.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005646/0.1412, allocations: 388.2 kB / 469.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006212/0.1418, allocations: 486.4 kB / 469.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.1429, allocations: 0.8179 MB / 470.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002039/0.1431, allocations: 116 kB / 470.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.1453, allocations: 1.068 MB / 471.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005511/0.1459, allocations: 0.4948 MB / 472.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007497/0.1466, allocations: 0.626 MB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00277/0.1494, allocations: 2.005 MB / 474.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1494, allocations: 0 / 474.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1494, allocations: 0 / 474.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.896e-05/0.1495, allocations: 0 / 474.8 MB, free: 8.371 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.006499/0.156, allocations: 2.378 MB / 477.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.156, allocations: 11.97 kB / 477.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/0.1562, allocations: 90.72 kB / 477.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005775/0.162, allocations: 0.6157 MB / 477.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003581/0.1656, allocations: 1.674 MB / 479.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004865/0.1661, allocations: 255.7 kB / 479.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.1662, allocations: 36 kB / 479.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007239/0.1734, allocations: 2.3 MB / 482.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.1735, allocations: 7.875 kB / 482.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.721e-05/0.1736, allocations: 16 kB / 482.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.1736, allocations: 12 kB / 482.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01283/0.1864, allocations: 3.577 MB / 485.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004577/0.1911, allocations: 3.14 MB / 488.9 MB, free: 9.934 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007952/0.199, allocations: 2.263 MB / 491.2 MB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006279/0.2053, allocations: 1.757 MB / 492.9 MB, free: 5.836 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.2055, allocations: 19.88 kB / 493 MB, free: 5.816 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/0.2056, allocations: 38.56 kB / 493 MB, free: 5.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.615e-06/0.2056, allocations: 0 / 493 MB, free: 5.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.01998/0.2256, allocations: 5.229 MB / 498.2 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002647/0.2259, allocations: 401.5 kB / 498.6 MB, free: 44 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004596/0.2305, allocations: 2.146 MB / 0.489 GB, free: 13.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002582/0.2308, allocations: 29.7 kB / 0.4891 GB, free: 13.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004511/0.2312, allocations: 441.4 kB / 0.4895 GB, free: 13.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.2314, allocations: 111 kB / 0.4896 GB, free: 13.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002814/0.2317, allocations: 73.67 kB / 0.4896 GB, free: 13.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2319, allocations: 318 kB / 0.49 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006132/0.238, allocations: 1.716 MB / 0.4916 GB, free: 11.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006284/0.2443, allocations: 1.846 MB / 0.4934 GB, free: 9.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/0.2562, allocations: 3.239 MB / 0.4966 GB, free: 6.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.2562, allocations: 0 / 0.4966 GB, free: 6.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.01355/0.2698, allocations: 3.504 MB / 0.5 GB, free: 2.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.2698, allocations: 4 kB / 0.5 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.2699, allocations: 7.969 kB / 0.5 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/0.2699, allocations: 4 kB / 0.5 GB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003339/0.2732, allocations: 0.698 MB / 0.5007 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.2733, allocations: 0 / 0.5007 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004558/0.2778, allocations: 0.7408 MB / 0.5014 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.278, allocations: 12 kB / 0.5014 GB, free: 1.051 MB / 382.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.0007031/0.2787, allocations: 346.2 kB / 0.5018 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004713/0.2792, allocations: 103.3 kB / 0.5019 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.2794, allocations: 116.6 kB / 0.502 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.2794, allocations: 11.88 kB / 0.502 GB, free: 484 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/0.2794, allocations: 4 kB / 0.502 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.2794, allocations: 7.922 kB / 0.502 GB, free: 472 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2864/0.5659, allocations: 1.037 MB / 0.503 GB, free: 52.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.719e-06/0.5659, allocations: 1.969 kB / 0.503 GB, free: 52.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003865/0.5698, allocations: 0.6857 MB / 0.5037 GB, free: 52.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.528e-05/0.5698, allocations: 5.125 kB / 0.5037 GB, free: 52.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.57, allocations: 16.45 kB / 0.5037 GB, free: 52.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.094e-05/0.57, allocations: 6.5 kB / 0.5037 GB, free: 52.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.57, allocations: 2.391 kB / 0.5037 GB, free: 52.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01376/0.5838, allocations: 3.963 MB / 0.5076 GB, free: 52.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009267/0.5847, allocations: 336.2 kB / 0.5079 GB, free: 51.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003534/0.5851, allocations: 8.781 kB / 0.5079 GB, free: 51.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004493/0.5896, allocations: 0.7257 MB / 0.5086 GB, free: 51.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005479/0.5902, allocations: 138 kB / 0.5088 GB, free: 51.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.902e-05/0.5902, allocations: 11.75 kB / 0.5088 GB, free: 51.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00341/0.5937, allocations: 1.623 MB / 0.5104 GB, free: 51.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5937, allocations: 0.5 kB / 0.5104 GB, free: 51.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001876/0.5956, allocations: 415.2 kB / 0.5108 GB, free: 51.5 MB / 382.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.01434/0.6099, allocations: 4.791 MB / 0.5154 GB, free: 49.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01258/0.6225, allocations: 3.51 MB / 0.5189 GB, free: 47.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/0.6226, allocations: 3.812 kB / 0.5189 GB, free: 47.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006047/0.6286, allocations: 1.963 MB / 0.5208 GB, free: 46.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.6307, allocations: 251.8 kB / 0.521 GB, free: 46.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05153/0.6823, allocations: 21.01 MB / 0.5415 GB, free: 25.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005005/0.6828, allocations: 1.106 MB / 0.5426 GB, free: 24.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001371/0.6842, allocations: 347.8 kB / 0.543 GB, free: 24.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008166/0.685, allocations: 359.3 kB / 0.5433 GB, free: 23.66 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.685, allocations: 0 / 0.5433 GB, free: 23.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07461/0.7596, allocations: 39.07 MB / 0.5815 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.93, allocations: 9.719 kB / 0.5815 GB, free: 0.8633 MB / 398.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)