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.001475/0.001475, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001485/0.001485, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.487/1.487, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.02653/0.02653, allocations: 5.292 MB / 314.8 MB, free: 1.652 MB / 238.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DeltaRobot.Tests.Trajectory_test,fileNamePrefix="DeltaRobot_DeltaRobot_Tests_Trajectory_test",fmuType="cs",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.001938/0.001938, allocations: 64.66 kB / 437.5 MB, free: 38.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09967/0.1016, allocations: 54.51 MB / 492 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.003882/0.1055, allocations: 3.674 MB / 495.7 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003786/0.1093, allocations: 3.541 MB / 499.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002272/0.1095, allocations: 4 kB / 499.2 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006482/0.1101, allocations: 290.9 kB / 499.5 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.1116, allocations: 0.9214 MB / 0.4887 GB, free: 4.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.112, allocations: 235.6 kB / 0.4889 GB, free: 4.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008179/0.1128, allocations: 1.172 MB / 0.4901 GB, free: 2.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003382/0.1131, allocations: 272.2 kB / 0.4903 GB, free: 2.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002958/0.1134, allocations: 0.4905 MB / 0.4908 GB, free: 2.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006106/0.114, allocations: 0.8529 MB / 0.4916 GB, free: 1.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.1142, allocations: 116 kB / 0.4918 GB, free: 1.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.1155, allocations: 1.123 MB / 0.4929 GB, free: 15.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005446/0.1161, allocations: 0.5142 MB / 0.4934 GB, free: 15.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006197/0.1167, allocations: 0.6143 MB / 0.494 GB, free: 14.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.119, allocations: 2.029 MB / 0.4959 GB, free: 12.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.119, allocations: 0 / 0.4959 GB, free: 12.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.119, allocations: 0 / 0.4959 GB, free: 12.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.1191, allocations: 0 / 0.4959 GB, free: 12.79 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.006605/0.1257, allocations: 2.386 MB / 0.4983 GB, free: 10.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.1257, allocations: 12.03 kB / 0.4983 GB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.111e-05/0.1257, allocations: 8.844 kB / 0.4983 GB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000146/0.1259, allocations: 94.66 kB / 0.4984 GB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005675/0.1316, allocations: 0.6194 MB / 0.499 GB, free: 9.609 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003691/0.1352, allocations: 1.663 MB / 0.5006 GB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005039/0.1357, allocations: 259.7 kB / 0.5008 GB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.1359, allocations: 36 kB / 0.5009 GB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007197/0.1431, allocations: 2.304 MB / 0.5031 GB, free: 5.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.1431, allocations: 7.984 kB / 0.5031 GB, free: 5.184 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.966e-05/0.1432, allocations: 16 kB / 0.5032 GB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.1432, allocations: 12 kB / 0.5032 GB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0126/0.1558, allocations: 3.569 MB / 0.5067 GB, free: 1.582 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005234/0.161, allocations: 3.163 MB / 0.5097 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008049/0.1691, allocations: 2.239 MB / 0.5119 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006403/0.1755, allocations: 1.757 MB / 0.5136 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.1756, allocations: 7.984 kB / 0.5137 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.669e-05/0.1757, allocations: 46.5 kB / 0.5137 GB, free: 10.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 2.725e-06/0.1757, allocations: 0 / 0.5137 GB, free: 10.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.02033/0.196, allocations: 5.221 MB / 0.5188 GB, free: 4.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00029/0.1963, allocations: 397.5 kB / 0.5192 GB, free: 4.461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00515/0.2014, allocations: 2.142 MB / 0.5213 GB, free: 2.301 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002408/0.2017, allocations: 33.7 kB / 0.5213 GB, free: 2.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004831/0.2022, allocations: 445.4 kB / 0.5217 GB, free: 1.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000312/0.2025, allocations: 107.1 kB / 0.5218 GB, free: 1.719 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003418/0.2028, allocations: 77.67 kB / 0.5219 GB, free: 1.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.203, allocations: 318 kB / 0.5222 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006407/0.2094, allocations: 1.713 MB / 0.5239 GB, free: 15.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006536/0.2159, allocations: 1.85 MB / 0.5257 GB, free: 13.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01231/0.2282, allocations: 3.252 MB / 0.5289 GB, free: 10.44 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.2282, allocations: 0 / 0.5289 GB, free: 10.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.01317/0.2414, allocations: 3.492 MB / 0.5323 GB, free: 6.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.2414, allocations: 10.03 kB / 0.5323 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.2414, allocations: 0 / 0.5323 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.874e-05/0.2415, allocations: 11.88 kB / 0.5323 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003217/0.2447, allocations: 0.6825 MB / 0.533 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.2447, allocations: 3.938 kB / 0.533 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004194/0.2489, allocations: 0.7447 MB / 0.5337 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.249, allocations: 19.98 kB / 0.5337 GB, free: 5.461 MB / 398.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.0006579/0.2497, allocations: 337.5 kB / 0.534 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005707/0.2502, allocations: 107.3 kB / 0.5341 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.2505, allocations: 116.6 kB / 0.5342 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.2505, allocations: 7.938 kB / 0.5342 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.2505, allocations: 4 kB / 0.5343 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.2506, allocations: 3.984 kB / 0.5343 GB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.2524, allocations: 1.041 MB / 0.5353 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.2524, allocations: 7.984 kB / 0.5353 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003154/0.2556, allocations: 0.6825 MB / 0.5359 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/0.2556, allocations: 8 kB / 0.536 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.939e-05/0.2557, allocations: 11.98 kB / 0.536 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.248e-06/0.2557, allocations: 11.95 kB / 0.536 GB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.2557, allocations: 4.219 kB / 0.536 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/0.2684, allocations: 3.964 MB / 0.5399 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008251/0.2692, allocations: 332.2 kB / 0.5402 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004583/0.2697, allocations: 15.98 kB / 0.5402 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004418/0.2741, allocations: 0.7176 MB / 0.5409 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004416/0.2746, allocations: 131.8 kB / 0.541 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.494e-05/0.2747, allocations: 27.98 kB / 0.541 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003667/0.2783, allocations: 1.62 MB / 0.5426 GB, free: 12.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2783, allocations: 0 / 0.5426 GB, free: 12.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001763/0.2801, allocations: 435.3 kB / 0.543 GB, free: 11.79 MB / 414.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.01518/0.2953, allocations: 4.786 MB / 0.5477 GB, free: 6.969 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01293/0.3082, allocations: 3.503 MB / 0.5511 GB, free: 3.461 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.3082, allocations: 0 / 0.5511 GB, free: 3.461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006957/0.3152, allocations: 1.962 MB / 0.553 GB, free: 1.496 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/0.3177, allocations: 250.3 kB / 0.5533 GB, free: 1.258 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06329/0.381, allocations: 21.02 MB / 0.5738 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.382, allocations: 1.109 MB / 0.5749 GB, free: 10.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001553/0.3836, allocations: 345.1 kB / 0.5752 GB, free: 10.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/0.3847, allocations: 363.3 kB / 0.5756 GB, free: 10.21 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3847, allocations: 0 / 0.5756 GB, free: 10.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3039/0.6887, allocations: 40.76 MB / 0.6154 GB, free: 81.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.71, allocations: 11.92 kB / 0.6154 GB, free: 81.57 MB / 446.1 MB " [Timeout remaining time 648] (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 os._exit(0), Time elapsed: 14.504106599022634] Failed to read output from testmodel.py, exit status != 0: 11.856077069998719 11.867927496 11.746554166 Calling exit ...