Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.002019/0.002019, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.001615/0.001615, allocations: 217.4 kB / 21.46 MB, free: 1.605 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.483/1.483, allocations: 230.6 MB / 254.8 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2616/0.2616, allocations: 46.92 MB / 357.8 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 67.89 kB / 0.4917 GB, free: 7.867 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1242, allocations: 65.98 MB / 0.5561 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.00313/0.1273, allocations: 1.741 MB / 0.5578 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.129, allocations: 1.034 MB / 0.5589 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.983e-05/0.1291, allocations: 3.938 kB / 0.5589 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.1294, allocations: 51.69 kB / 0.5589 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.1297, allocations: 103.6 kB / 0.559 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.1299, allocations: 75.67 kB / 0.5591 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.13, allocations: 111.6 kB / 0.5592 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.792e-05/0.1301, allocations: 11.98 kB / 0.5592 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.06e-05/0.1302, allocations: 43.78 kB / 0.5592 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.663e-05/0.1303, allocations: 31.86 kB / 0.5593 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.1303, allocations: 4 kB / 0.5593 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.614e-05/0.1304, allocations: 47.97 kB / 0.5593 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.262e-05/0.1305, allocations: 27.86 kB / 0.5593 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.134e-05/0.1305, allocations: 51.61 kB / 0.5594 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.1308, allocations: 135.4 kB / 0.5595 GB, free: 2.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1308, allocations: 0 / 0.5595 GB, free: 2.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1308, allocations: 0 / 0.5595 GB, free: 2.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.1308, allocations: 0 / 0.5595 GB, free: 2.27 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006074/0.1314, allocations: 454.3 kB / 0.56 GB, free: 1.777 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1314, allocations: 8.031 kB / 0.56 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.383e-05/0.1314, allocations: 4.188 kB / 0.56 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.29e-05/0.1315, allocations: 42.73 kB / 0.56 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.1315, allocations: 12.84 kB / 0.56 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.1318, allocations: 221 kB / 0.5602 GB, free: 1.445 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1318, allocations: 4.125 kB / 0.5602 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.1318, allocations: 8 kB / 0.5602 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.132, allocations: 53.67 kB / 0.5603 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.132, allocations: 0 / 0.5603 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.132, allocations: 4 kB / 0.5603 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.132, allocations: 4 kB / 0.5603 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.285e-05/0.1321, allocations: 19.98 kB / 0.5603 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.1325, allocations: 304.8 kB / 0.5606 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.1327, allocations: 50.62 kB / 0.5607 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.807e-05/0.1327, allocations: 20.84 kB / 0.5607 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.1328, allocations: 4 kB / 0.5607 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.1329, allocations: 67.39 kB / 0.5608 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1329, allocations: 0 / 0.5608 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005674/0.1335, allocations: 185.3 kB / 0.5609 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.1335, allocations: 51.41 kB / 0.561 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.1338, allocations: 274.7 kB / 0.5612 GB, free: 312 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.1338, allocations: 29.7 kB / 0.5613 GB, free: 276 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.096e-05/0.1339, allocations: 112.1 kB / 0.5614 GB, free: 160 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.134, allocations: 39.64 kB / 0.5614 GB, free: 120 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.134, allocations: 21.72 kB / 0.5614 GB, free: 92 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1342, allocations: 330.8 kB / 0.5617 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.977e-05/0.1342, allocations: 23.94 kB / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.154e-05/0.1343, allocations: 37.7 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1344, allocations: 57.7 kB / 0.5619 GB, free: 15.63 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1344, allocations: 0 / 0.5619 GB, free: 15.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002003/0.1346, allocations: 113.5 kB / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1346, allocations: 4 kB / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.1346, allocations: 0 / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1346, allocations: 4 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.677e-05/0.1347, allocations: 12 kB / 0.562 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1347, allocations: 12.02 kB / 0.562 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.489e-05/0.1348, allocations: 12.02 kB / 0.562 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1348, allocations: 4 kB / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001159/0.1349, allocations: 136 kB / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.1349, allocations: 15.91 kB / 0.5622 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/0.135, allocations: 17.41 kB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.135, allocations: 0 / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.135, allocations: 8.297 kB / 0.5622 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.135, allocations: 4 kB / 0.5622 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005283/0.1355, allocations: 411.3 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.1355, allocations: 4 kB / 0.5626 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/0.1356, allocations: 8 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1356, allocations: 3.938 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1356, allocations: 4 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1356, allocations: 0 / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1356, allocations: 0 / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.1359, allocations: 208.3 kB / 0.5628 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.25e-05/0.1359, allocations: 96.94 kB / 0.5629 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.136, allocations: 4 kB / 0.5629 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.055e-05/0.136, allocations: 0 / 0.5629 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.1361, allocations: 11.98 kB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.1361, allocations: 7.938 kB / 0.5629 GB, free: 14.44 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002256/0.1363, allocations: 200.6 kB / 0.5631 GB, free: 14.24 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1363, allocations: 0 / 0.5631 GB, free: 14.24 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.1366, allocations: 31.92 kB / 0.5631 GB, free: 14.21 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002177/0.1388, allocations: 1.091 MB / 0.5642 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.139, allocations: 59.91 kB / 0.5643 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.139, allocations: 0 / 0.5643 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.285e-05/0.139, allocations: 23.98 kB / 0.5643 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.1394, allocations: 35.88 kB / 0.5643 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.1415, allocations: 1.855 MB / 0.5661 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.1419, allocations: 0.7235 MB / 0.5668 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.5e-05/0.142, allocations: 16.89 kB / 0.5669 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.84e-05/0.142, allocations: 43.41 kB / 0.5669 GB, free: 10.41 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.142, allocations: 0 / 0.5669 GB, free: 10.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.1615, allocations: 3.853 MB / 0.5707 GB, free: 6.629 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.496/8.657, allocations: 15.81 kB / 0.5707 GB, free: 6.617 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.85376638697926] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.840561254008207 8.870045566 8.734033348 Calling exit ...