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.001213/0.001213, allocations: 103 kB / 15.06 MB, free: 1.098 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.001836/0.001836, allocations: 173.3 kB / 15.95 MB, free: 212 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.348/1.348, 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.1689/0.1689, allocations: 5.185 MB / 296.2 MB, free: 3.953 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002907, allocations: 8 kB / 358.3 MB, free: 1.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1007, allocations: 51.56 MB / 409.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.004908/0.1057, allocations: 5.185 MB / 415.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005362/0.1111, allocations: 3.674 MB / 418.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007298/0.1118, allocations: 11.94 kB / 418.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009705/0.1128, allocations: 338.2 kB / 419.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003188/0.116, allocations: 1.626 MB / 420.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005558/0.1166, allocations: 235.3 kB / 420.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.1177, allocations: 0.7914 MB / 421.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004274/0.1181, allocations: 312.8 kB / 422 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003959/0.1186, allocations: 386.7 kB / 422.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007071/0.1193, allocations: 0.6778 MB / 423.1 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.1194, allocations: 48 kB / 423.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.121, allocations: 0.8581 MB / 424 MB, free: 12 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.216/0.337, allocations: 416.3 kB / 424.4 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003996/0.3375, allocations: 204.4 kB / 424.6 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.3397, allocations: 1.426 MB / 426 MB, free: 34.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3397, allocations: 0 / 426 MB, free: 34.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3397, allocations: 0 / 426 MB, free: 34.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.3397, allocations: 0 / 426 MB, free: 34.93 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.005842/0.3456, allocations: 2.174 MB / 428.2 MB, free: 34.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/0.3456, allocations: 12.5 kB / 428.2 MB, free: 34.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001899/0.3458, allocations: 89.7 kB / 428.3 MB, free: 34.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005384/0.3512, allocations: 0.6039 MB / 428.9 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003547/0.3548, allocations: 1.629 MB / 430.5 MB, free: 33.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.05251/0.4073, allocations: 12.04 MB / 442.6 MB, free: 33.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006084/0.408, allocations: 38.75 kB / 442.6 MB, free: 33.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07081/0.4788, allocations: 15.72 MB / 458.3 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.4789, allocations: 0 / 458.3 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003456/0.4792, allocations: 18.84 kB / 458.3 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.4793, allocations: 10.62 kB / 458.3 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1302/0.6094, allocations: 29.66 MB / 488 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008145/0.6176, allocations: 4.648 MB / 492.6 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07201/0.6897, allocations: 15.36 MB / 0.4961 GB, free: 6.348 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.6899, allocations: 7.047 kB / 0.4961 GB, free: 6.344 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/0.6899, allocations: 44 kB / 0.4961 GB, free: 6.301 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.986e-06/0.69, allocations: 4 kB / 0.4961 GB, free: 6.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.2078/0.8978, allocations: 42.68 MB / 0.5378 GB, free: 12.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001851/0.898, allocations: 397.5 kB / 0.5382 GB, free: 12.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004107/0.9021, allocations: 2.13 MB / 0.5403 GB, free: 10.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006034/0.9028, allocations: 37.7 kB / 0.5403 GB, free: 10.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003785/0.9032, allocations: 429.3 kB / 0.5407 GB, free: 9.938 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006428/0.9038, allocations: 113.8 kB / 0.5408 GB, free: 9.828 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004367/0.9043, allocations: 4 kB / 0.5408 GB, free: 9.824 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.9044, allocations: 318 kB / 0.5411 GB, free: 9.508 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.08981/0.9942, allocations: 14.74 MB / 0.5555 GB, free: 10.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07214/1.066, allocations: 14.86 MB / 0.57 GB, free: 11.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2673/1.334, allocations: 12.95 MB / 0.5827 GB, free: 139.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/1.334, allocations: 0 / 0.5827 GB, free: 139.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.1434/1.477, allocations: 27.94 MB / 0.61 GB, free: 136.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/1.477, allocations: 10.34 kB / 0.61 GB, free: 136.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/1.477, allocations: 2.844 kB / 0.61 GB, free: 136.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/1.477, allocations: 2.5 kB / 0.61 GB, free: 136.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03215/1.51, allocations: 6.44 MB / 0.6163 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.736e-05/1.51, allocations: 7.484 kB / 0.6163 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03224/1.542, allocations: 6.406 MB / 0.6225 GB, free: 130.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006826/1.543, allocations: 89.8 kB / 0.6226 GB, free: 130.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001353/1.544, allocations: 329.3 kB / 0.6229 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008604/1.545, allocations: 105.8 kB / 0.623 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/1.545, allocations: 111.4 kB / 0.6231 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/1.545, allocations: 3.625 kB / 0.6232 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/1.545, allocations: 5.797 kB / 0.6232 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.545, allocations: 1.781 kB / 0.6232 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002757/1.548, allocations: 1.858 MB / 0.625 GB, free: 128.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/1.548, allocations: 15.3 kB / 0.625 GB, free: 128.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03251/1.581, allocations: 6.434 MB / 0.6313 GB, free: 122.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-05/1.581, allocations: 4.797 kB / 0.6313 GB, free: 122.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005632/1.581, allocations: 55.08 kB / 0.6313 GB, free: 122.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/1.581, allocations: 4.75 kB / 0.6313 GB, free: 122.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.581, allocations: 0 / 0.6313 GB, free: 122.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1262/1.707, allocations: 28.48 MB / 0.6591 GB, free: 94.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009477/1.708, allocations: 342.3 kB / 0.6595 GB, free: 94.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009762/1.709, allocations: 8.688 kB / 0.6595 GB, free: 94.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03319/1.743, allocations: 6.376 MB / 0.6657 GB, free: 87.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001787/1.744, allocations: 0.9994 MB / 0.6667 GB, free: 86.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004617/1.745, allocations: 98.75 kB / 0.6668 GB, free: 86.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003028/1.748, allocations: 1.605 MB / 0.6683 GB, free: 85.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/1.748, allocations: 0 / 0.6683 GB, free: 85.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002869/1.751, allocations: 0.6866 MB / 0.669 GB, free: 84.69 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 (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.1272/1.878, allocations: 29.52 MB / 0.6978 GB, free: 55.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.129/2.007, allocations: 29.58 MB / 0.7267 GB, free: 25.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/2.007, allocations: 0 / 0.7267 GB, free: 25.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.06964/2.077, allocations: 17.93 MB / 0.7442 GB, free: 7.555 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/2.079, allocations: 229.4 kB / 0.7445 GB, free: 7.352 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4894/2.568, allocations: 66.72 MB / 0.8096 GB, free: 114.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007391/2.569, allocations: 1.13 MB / 0.8107 GB, free: 113.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0044/2.574, allocations: 0.8651 MB / 0.8116 GB, free: 112.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002289/2.576, allocations: 439.1 kB / 0.812 GB, free: 112.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.483e-06/2.576, allocations: 0 / 0.812 GB, free: 112.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09817/2.674, allocations: 78.36 MB / 0.8885 GB, free: 33.9 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000126/2.674, allocations: 161 kB / 0.8887 GB, free: 33.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.972/6.646, allocations: 3.938 kB / 0.8887 GB, free: 33.65 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/linux/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) Environment - environmentSimulation: