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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.02779/0.02779, allocations: 5.276 MB / 308 MB, free: 4.648 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002693/0.002693, allocations: 68.03 kB / 428.3 MB, free: 19.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1184, allocations: 53.33 MB / 481.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.005099/0.1235, allocations: 3.665 MB / 485.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005102/0.1286, allocations: 3.479 MB / 488.8 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002689/0.1288, allocations: 4 kB / 488.8 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008674/0.1297, allocations: 294.9 kB / 489.1 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002431/0.1321, allocations: 0.8918 MB / 489.9 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000592/0.1327, allocations: 246.1 kB / 490.2 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001665/0.1344, allocations: 1.164 MB / 491.3 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004834/0.1349, allocations: 280.1 kB / 491.6 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005365/0.1354, allocations: 490.3 kB / 492.1 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.1365, allocations: 0.8607 MB / 493 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002274/0.1367, allocations: 116 kB / 493.1 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002188/0.1389, allocations: 1.096 MB / 494.2 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005686/0.1395, allocations: 0.522 MB / 494.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000682/0.1402, allocations: 0.6143 MB / 495.3 MB, free: 188 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002587/0.1428, allocations: 2.001 MB / 497.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1428, allocations: 0 / 497.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1428, allocations: 0 / 497.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.1428, allocations: 0 / 497.3 MB, free: 14.18 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.006641/0.1494, allocations: 2.378 MB / 499.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1495, allocations: 12.03 kB / 499.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.1496, allocations: 90.72 kB / 499.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005288/0.1549, allocations: 0.6235 MB / 0.4887 GB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003908/0.1588, allocations: 1.674 MB / 0.4903 GB, free: 9.277 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004831/0.1593, allocations: 259.6 kB / 0.4906 GB, free: 9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.1594, allocations: 36 kB / 0.4906 GB, free: 8.965 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006624/0.166, allocations: 2.289 MB / 0.4928 GB, free: 6.598 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.1661, allocations: 11.88 kB / 0.4928 GB, free: 6.586 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-05/0.1662, allocations: 23.98 kB / 0.4929 GB, free: 6.562 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.1662, allocations: 12 kB / 0.4929 GB, free: 6.551 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01158/0.1778, allocations: 3.569 MB / 0.4964 GB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004803/0.1826, allocations: 3.147 MB / 0.4994 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007028/0.1896, allocations: 2.251 MB / 0.5016 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005548/0.1951, allocations: 1.749 MB / 0.5033 GB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.183e-05/0.1952, allocations: 11.98 kB / 0.5034 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/0.1953, allocations: 38.56 kB / 0.5034 GB, free: 11.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 2.564e-06/0.1953, allocations: 3.938 kB / 0.5034 GB, free: 11.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.01721/0.2125, allocations: 5.217 MB / 0.5085 GB, free: 6.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002854/0.2128, allocations: 401.4 kB / 0.5089 GB, free: 5.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004215/0.217, allocations: 2.149 MB / 0.511 GB, free: 3.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.2171, allocations: 29.7 kB / 0.511 GB, free: 3.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004223/0.2175, allocations: 441.4 kB / 0.5114 GB, free: 3.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.2177, allocations: 107.1 kB / 0.5115 GB, free: 3.129 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/0.218, allocations: 73.67 kB / 0.5116 GB, free: 3.051 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.2181, allocations: 318 kB / 0.5119 GB, free: 2.734 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005388/0.2235, allocations: 1.72 MB / 0.5136 GB, free: 1.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1849/0.4084, allocations: 1.83 MB / 0.5154 GB, free: 43.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009939/0.4183, allocations: 3.252 MB / 0.5185 GB, free: 43.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.4183, allocations: 0 / 0.5185 GB, free: 43.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.01165/0.43, allocations: 3.507 MB / 0.522 GB, free: 42.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/0.43, allocations: 5.938 kB / 0.522 GB, free: 42.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.43, allocations: 1.031 kB / 0.522 GB, free: 42.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.43, allocations: 2.938 kB / 0.522 GB, free: 42.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002702/0.4327, allocations: 0.6906 MB / 0.5226 GB, free: 42.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.4328, allocations: 4.234 kB / 0.5227 GB, free: 42.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003555/0.4363, allocations: 0.7478 MB / 0.5234 GB, free: 42.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.859e-05/0.4364, allocations: 20.02 kB / 0.5234 GB, free: 42.82 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.0005175/0.4369, allocations: 339.2 kB / 0.5237 GB, free: 42.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000346/0.4373, allocations: 102.7 kB / 0.5238 GB, free: 42.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.4374, allocations: 109.8 kB / 0.5239 GB, free: 42.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.4374, allocations: 9.609 kB / 0.5239 GB, free: 42.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.4374, allocations: 6.781 kB / 0.5239 GB, free: 42.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4374, allocations: 1.375 kB / 0.5239 GB, free: 42.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.4386, allocations: 1.049 MB / 0.525 GB, free: 41.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4386, allocations: 5.531 kB / 0.525 GB, free: 41.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002635/0.4412, allocations: 0.6879 MB / 0.5256 GB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.4412, allocations: 7.547 kB / 0.5257 GB, free: 41.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/0.4413, allocations: 8 kB / 0.5257 GB, free: 41.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.4413, allocations: 2.844 kB / 0.5257 GB, free: 41.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4413, allocations: 10.98 kB / 0.5257 GB, free: 41.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009868/0.4512, allocations: 3.968 MB / 0.5295 GB, free: 39.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006645/0.4519, allocations: 331.2 kB / 0.5299 GB, free: 39.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002541/0.4521, allocations: 8.906 kB / 0.5299 GB, free: 39.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003384/0.4555, allocations: 0.7186 MB / 0.5306 GB, free: 39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003499/0.4558, allocations: 135.5 kB / 0.5307 GB, free: 38.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.744e-05/0.4559, allocations: 19.73 kB / 0.5307 GB, free: 38.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002387/0.4583, allocations: 1.621 MB / 0.5323 GB, free: 38.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4583, allocations: 0 / 0.5323 GB, free: 38.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001109/0.4594, allocations: 419.3 kB / 0.5327 GB, free: 38.02 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.01012/0.4695, allocations: 4.775 MB / 0.5374 GB, free: 34.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009233/0.4788, allocations: 3.501 MB / 0.5408 GB, free: 30.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.4788, allocations: 4 kB / 0.5408 GB, free: 30.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004848/0.4836, allocations: 1.967 MB / 0.5427 GB, free: 28.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.4853, allocations: 254.7 kB / 0.543 GB, free: 28.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04328/0.5286, allocations: 21 MB / 0.5635 GB, free: 7.309 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.5291, allocations: 1.118 MB / 0.5646 GB, free: 6.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001202/0.5303, allocations: 353.1 kB / 0.5649 GB, free: 5.809 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007447/0.531, allocations: 351.3 kB / 0.5652 GB, free: 5.465 MB / 382.1 MB Notification: Performance of SimCode: time 1.503e-06/0.531, allocations: 0 / 0.5652 GB, free: 5.465 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07405/0.6051, allocations: 40.51 MB / 0.6048 GB, free: 13.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/10.68, allocations: 15.75 kB / 0.6048 GB, free: 13.2 MB / 430.1 MB " [Timeout remaining time 649] (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: 13.332454041112214] Failed to read output from testmodel.py, exit status != 0: 10.767847930081189 10.791685552 10.644446333 Calling exit ...