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.007218/0.007218, allocations: 101.1 kB / 15.73 MB, free: 6.473 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.00119/0.00119, allocations: 195 kB / 16.67 MB, free: 6.379 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.165/0.165, allocations: 5.203 MB / 295.7 MB, free: 2.977 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 67.89 kB / 408.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.258, allocations: 50.56 MB / 459.1 MB, free: 19.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.003629/0.2617, allocations: 3.636 MB / 462.8 MB, free: 16.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00387/0.2656, allocations: 3.457 MB / 466.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.2658, allocations: 6.656 kB / 466.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007431/0.2665, allocations: 295 kB / 466.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.2683, allocations: 0.8976 MB / 467.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.2687, allocations: 236.6 kB / 467.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.2699, allocations: 1.158 MB / 468.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005039/0.2705, allocations: 394.9 kB / 469.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004865/0.271, allocations: 486.2 kB / 469.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008824/0.2718, allocations: 0.8136 MB / 470.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001839/0.272, allocations: 117.4 kB / 470.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001806/0.2739, allocations: 1.061 MB / 471.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004893/0.2744, allocations: 0.5035 MB / 472.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000565/0.2749, allocations: 0.6167 MB / 472.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.2771, allocations: 1.993 MB / 474.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2772, allocations: 0 / 474.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2772, allocations: 1.344 kB / 474.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.2772, allocations: 0 / 474.8 MB, free: 11.07 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.006973/0.2842, allocations: 2.342 MB / 477.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.2842, allocations: 9.906 kB / 477.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001368/0.2844, allocations: 99.11 kB / 477.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004936/0.2893, allocations: 0.6129 MB / 477.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003151/0.2925, allocations: 1.664 MB / 479.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004152/0.2929, allocations: 250.6 kB / 479.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.293, allocations: 41.28 kB / 479.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005961/0.299, allocations: 2.3 MB / 482.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.299, allocations: 9.031 kB / 482.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.764e-05/0.2991, allocations: 21.64 kB / 482.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.2992, allocations: 10.97 kB / 482.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01026/0.3094, allocations: 3.575 MB / 485.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003474/0.3129, allocations: 3.146 MB / 488.8 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0063/0.3192, allocations: 2.258 MB / 491.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004636/0.3239, allocations: 1.769 MB / 492.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.672e-05/0.324, allocations: 4 kB / 492.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.324, allocations: 50.5 kB / 492.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.615e-06/0.3241, allocations: 0 / 492.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.0161/0.3402, allocations: 5.213 MB / 498.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/0.3403, allocations: 405.4 kB / 498.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004104/0.3445, allocations: 2.142 MB / 0.4889 GB, free: 7.891 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.3447, allocations: 33.7 kB / 0.489 GB, free: 7.852 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/0.345, allocations: 441.1 kB / 0.4894 GB, free: 7.418 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.3452, allocations: 106.5 kB / 0.4895 GB, free: 7.312 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002954/0.3455, allocations: 73.67 kB / 0.4896 GB, free: 7.234 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3456, allocations: 318 kB / 0.4899 GB, free: 6.918 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005242/0.3508, allocations: 1.716 MB / 0.4915 GB, free: 5.199 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005377/0.3562, allocations: 1.854 MB / 0.4934 GB, free: 3.301 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009891/0.3662, allocations: 3.243 MB / 0.4965 GB, free: 36 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3662, allocations: 0 / 0.4965 GB, free: 36 kB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.01099/0.3772, allocations: 3.496 MB / 0.4999 GB, free: 12.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.3772, allocations: 4 kB / 0.4999 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3772, allocations: 4 kB / 0.4999 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3773, allocations: 0 / 0.4999 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/0.3801, allocations: 0.6942 MB / 0.5006 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3801, allocations: 0 / 0.5006 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00385/0.384, allocations: 0.7445 MB / 0.5014 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.454e-05/0.3841, allocations: 19.98 kB / 0.5014 GB, free: 11.06 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.0005816/0.3847, allocations: 339.1 kB / 0.5017 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003781/0.3851, allocations: 98.78 kB / 0.5018 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.3852, allocations: 116.6 kB / 0.5019 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.3853, allocations: 7.938 kB / 0.5019 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.3853, allocations: 7.938 kB / 0.5019 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3853, allocations: 3.984 kB / 0.5019 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.3867, allocations: 1.045 MB / 0.5029 GB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3867, allocations: 0 / 0.5029 GB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002791/0.3895, allocations: 0.6942 MB / 0.5036 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.3895, allocations: 4 kB / 0.5036 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.46e-05/0.3896, allocations: 15.98 kB / 0.5036 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.3896, allocations: 3.938 kB / 0.5036 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.3896, allocations: 11.94 kB / 0.5036 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/0.4004, allocations: 3.952 MB / 0.5075 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006039/0.401, allocations: 335.6 kB / 0.5078 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.4012, allocations: 8 kB / 0.5078 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003645/0.4049, allocations: 0.7098 MB / 0.5085 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004128/0.4053, allocations: 139.8 kB / 0.5087 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.248e-05/0.4054, allocations: 15.98 kB / 0.5087 GB, free: 3.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002892/0.4083, allocations: 1.616 MB / 0.5103 GB, free: 1.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4083, allocations: 0 / 0.5103 GB, free: 1.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001655/0.41, allocations: 427.9 kB / 0.5107 GB, free: 1.422 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.01214/0.4221, allocations: 4.774 MB / 0.5153 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01092/0.4331, allocations: 3.5 MB / 0.5187 GB, free: 9.109 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.4331, allocations: 0 / 0.5187 GB, free: 9.109 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005739/0.4388, allocations: 1.982 MB / 0.5207 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.4408, allocations: 242.7 kB / 0.5209 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05125/0.492, allocations: 20.98 MB / 0.5414 GB, free: 1.719 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006726/0.4927, allocations: 1.109 MB / 0.5425 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001251/0.494, allocations: 349.1 kB / 0.5428 GB, free: 240 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009043/0.4949, allocations: 351.4 kB / 0.5431 GB, free: 15.89 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4949, allocations: 8 kB / 0.5432 GB, free: 15.88 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06551/0.5604, allocations: 39.06 MB / 0.5813 GB, free: 9.035 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.579/10.14, allocations: 20.14 kB / 0.5813 GB, free: 9.023 MB / 462.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)