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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 212.7 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02803/0.02803, allocations: 5.286 MB / 317.7 MB, free: 13.7 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: DeltaRobot requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003111/0.003111, allocations: 71.89 kB / 441.9 MB, free: 7.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.12, allocations: 54.56 MB / 496.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.004802/0.1248, allocations: 3.373 MB / 499.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004719/0.1295, allocations: 3.21 MB / 0.4913 GB, free: 10.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.1296, allocations: 4 kB / 0.4913 GB, free: 10.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006984/0.1303, allocations: 267.1 kB / 0.4915 GB, free: 10.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.1322, allocations: 0.9113 MB / 0.4924 GB, free: 9.547 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.1326, allocations: 235.6 kB / 0.4926 GB, free: 9.316 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001321/0.1339, allocations: 1.166 MB / 0.4938 GB, free: 8.148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003865/0.1343, allocations: 222.1 kB / 0.494 GB, free: 7.918 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005176/0.1348, allocations: 0.4906 MB / 0.4945 GB, free: 7.426 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.1358, allocations: 0.8217 MB / 0.4953 GB, free: 6.602 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.136, allocations: 116 kB / 0.4954 GB, free: 6.488 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.1377, allocations: 0.9749 MB / 0.4963 GB, free: 5.512 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00053/0.1382, allocations: 0.5142 MB / 0.4968 GB, free: 4.996 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005529/0.1387, allocations: 0.5211 MB / 0.4973 GB, free: 4.473 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.141, allocations: 1.994 MB / 0.4993 GB, free: 2.473 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.141, allocations: 0 / 0.4993 GB, free: 2.473 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.141, allocations: 0 / 0.4993 GB, free: 2.473 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.141, allocations: 0 / 0.4993 GB, free: 2.473 MB / 366.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.006284/0.1473, allocations: 2.306 MB / 0.5015 GB, free: 132 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1473, allocations: 8.031 kB / 0.5015 GB, free: 124 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.1474, allocations: 98.7 kB / 0.5016 GB, free: 16 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005551/0.153, allocations: 0.6118 MB / 0.5022 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003729/0.1567, allocations: 1.61 MB / 0.5038 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006133/0.1573, allocations: 0.4951 MB / 0.5043 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.1574, allocations: 40 kB / 0.5043 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007179/0.1646, allocations: 2.53 MB / 0.5068 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.1646, allocations: 3.938 kB / 0.5068 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.801e-05/0.1647, allocations: 16 kB / 0.5068 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.1647, allocations: 12 kB / 0.5068 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01246/0.1772, allocations: 3.569 MB / 0.5103 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004201/0.1814, allocations: 2.733 MB / 0.513 GB, free: 4.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007924/0.1893, allocations: 2.251 MB / 0.5152 GB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.188/0.3773, allocations: 1.747 MB / 0.5169 GB, free: 33.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.3774, allocations: 6.219 kB / 0.5169 GB, free: 33.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.3774, allocations: 44.81 kB / 0.5169 GB, free: 33.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 2.255e-06/0.3775, allocations: 0 / 0.5169 GB, free: 33.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.01881/0.3963, allocations: 5.223 MB / 0.522 GB, free: 32.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.426e-05/0.3964, allocations: 392.4 kB / 0.5224 GB, free: 32.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004121/0.4005, allocations: 2.148 MB / 0.5245 GB, free: 32.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001358/0.4006, allocations: 32.17 kB / 0.5245 GB, free: 32.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.4009, allocations: 439.4 kB / 0.525 GB, free: 32.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.401, allocations: 113.7 kB / 0.5251 GB, free: 32.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.4013, allocations: 76.02 kB / 0.5251 GB, free: 32.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.327e-05/0.4013, allocations: 316.7 kB / 0.5254 GB, free: 31.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00594/0.4073, allocations: 1.711 MB / 0.5271 GB, free: 31.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006065/0.4133, allocations: 2.041 MB / 0.5291 GB, free: 31.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/0.4241, allocations: 3.252 MB / 0.5323 GB, free: 30.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.4241, allocations: 1.594 kB / 0.5323 GB, free: 30.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.01154/0.4357, allocations: 3.502 MB / 0.5357 GB, free: 28.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.4357, allocations: 6.625 kB / 0.5357 GB, free: 28.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.4357, allocations: 3.719 kB / 0.5357 GB, free: 28.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.4358, allocations: 2.719 kB / 0.5357 GB, free: 28.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002976/0.4387, allocations: 0.6854 MB / 0.5364 GB, free: 28.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.4387, allocations: 2.75 kB / 0.5364 GB, free: 28.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004153/0.4429, allocations: 0.7457 MB / 0.5371 GB, free: 28.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.854e-05/0.443, allocations: 18.27 kB / 0.5371 GB, free: 28.09 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.0005413/0.4435, allocations: 338.3 kB / 0.5375 GB, free: 27.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003635/0.4439, allocations: 99.69 kB / 0.5376 GB, free: 27.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.4441, allocations: 118.6 kB / 0.5377 GB, free: 27.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.4441, allocations: 4.344 kB / 0.5377 GB, free: 27.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.4441, allocations: 4 kB / 0.5377 GB, free: 27.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.4441, allocations: 7.766 kB / 0.5377 GB, free: 27.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.4452, allocations: 0.6827 MB / 0.5383 GB, free: 27.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4453, allocations: 3.938 kB / 0.5383 GB, free: 27.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002821/0.4481, allocations: 0.6795 MB / 0.539 GB, free: 26.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.4481, allocations: 3.781 kB / 0.539 GB, free: 26.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-05/0.4481, allocations: 11.83 kB / 0.539 GB, free: 26.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.4481, allocations: 3.5 kB / 0.539 GB, free: 26.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.4482, allocations: 12.17 kB / 0.539 GB, free: 26.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/0.4589, allocations: 3.968 MB / 0.5429 GB, free: 23.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007497/0.4597, allocations: 268.9 kB / 0.5432 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/0.46, allocations: 8 kB / 0.5432 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003721/0.4637, allocations: 0.7163 MB / 0.5439 GB, free: 22.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003573/0.464, allocations: 135.7 kB / 0.544 GB, free: 22.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.447e-05/0.4641, allocations: 15.98 kB / 0.544 GB, free: 22.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002494/0.4666, allocations: 1.62 MB / 0.5456 GB, free: 20.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4666, allocations: 0 / 0.5456 GB, free: 20.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001217/0.4678, allocations: 439.5 kB / 0.546 GB, free: 20.28 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.01185/0.4797, allocations: 4.791 MB / 0.5507 GB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01083/0.4905, allocations: 3.492 MB / 0.5541 GB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.4905, allocations: 4 kB / 0.5541 GB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005657/0.4962, allocations: 1.96 MB / 0.556 GB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.4981, allocations: 254.6 kB / 0.5563 GB, free: 9.812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05501/0.5531, allocations: 21.02 MB / 0.5768 GB, free: 4.602 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006605/0.5538, allocations: 0.5064 MB / 0.5773 GB, free: 4.059 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001486/0.5552, allocations: 354.1 kB / 0.5776 GB, free: 3.719 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009466/0.5562, allocations: 355.3 kB / 0.578 GB, free: 3.371 MB / 398.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5562, allocations: 0 / 0.578 GB, free: 3.371 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08735/0.6435, allocations: 44.7 MB / 0.6216 GB, free: 7.055 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.17, allocations: 8 kB / 0.6216 GB, free: 7.047 MB / 446.1 MB " [Timeout remaining time 647] (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 --stepSize=0.008 --timeout=50 --tolerance=1e-06 DeltaRobot_DeltaRobot_Tests_Trajectory_test.fmu > DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.83030933700502] Failed to read output from testmodel.py, exit status != 0: 13.304492661263794 13.320568521 13.176550603 Calling exit ...