Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001787/0.001787, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.001954/0.001954, allocations: 215 kB / 21.45 MB, free: 1.641 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.526/1.526, 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.3025/0.3025, 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.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 59.91 kB / 0.4917 GB, free: 7.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1219, allocations: 66 MB / 0.5562 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.004073/0.126, allocations: 1.762 MB / 0.5579 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002004/0.128, allocations: 1.029 MB / 0.5589 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.1281, allocations: 3.938 kB / 0.5589 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003934/0.1285, allocations: 107.7 kB / 0.559 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003759/0.1289, allocations: 123.5 kB / 0.5591 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.1291, allocations: 83.66 kB / 0.5592 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.1293, allocations: 119.7 kB / 0.5593 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1294, allocations: 23.91 kB / 0.5593 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.1295, allocations: 51.78 kB / 0.5594 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.1297, allocations: 79.72 kB / 0.5595 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.1297, allocations: 8 kB / 0.5595 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.1298, allocations: 59.97 kB / 0.5595 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.551e-05/0.1299, allocations: 23.92 kB / 0.5595 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.085e-05/0.1299, allocations: 43.67 kB / 0.5596 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.1302, allocations: 151.3 kB / 0.5597 GB, free: 2.082 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1302, allocations: 0 / 0.5597 GB, free: 2.082 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1302, allocations: 4 kB / 0.5597 GB, free: 2.078 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.1302, allocations: 0 / 0.5597 GB, free: 2.078 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006458/0.1308, allocations: 458.4 kB / 0.5602 GB, free: 1.582 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1309, allocations: 8.031 kB / 0.5602 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.508e-05/0.1309, allocations: 4.188 kB / 0.5602 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.1309, allocations: 30.75 kB / 0.5602 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.131, allocations: 16.84 kB / 0.5602 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.1313, allocations: 223.8 kB / 0.5604 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.1313, allocations: 8.125 kB / 0.5604 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.1313, allocations: 7.938 kB / 0.5605 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.1315, allocations: 69.59 kB / 0.5605 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1315, allocations: 4 kB / 0.5605 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1315, allocations: 0 / 0.5605 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1315, allocations: 7.938 kB / 0.5605 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.84e-05/0.1316, allocations: 19.98 kB / 0.5605 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.132, allocations: 304.8 kB / 0.5608 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.1322, allocations: 58.55 kB / 0.5609 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.975e-05/0.1323, allocations: 24.97 kB / 0.5609 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.1323, allocations: 0 / 0.5609 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.1325, allocations: 71.45 kB / 0.561 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.1325, allocations: 0 / 0.561 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007849/0.1333, allocations: 265.2 kB / 0.5612 GB, free: 356 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.1333, allocations: 55.41 kB / 0.5613 GB, free: 288 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.1336, allocations: 251.2 kB / 0.5615 GB, free: 24 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.1336, allocations: 25.7 kB / 0.5616 GB, free: 15.99 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.434e-05/0.1337, allocations: 112.1 kB / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.1338, allocations: 31.7 kB / 0.5617 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/0.1338, allocations: 29.7 kB / 0.5617 GB, free: 15.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.134, allocations: 330.8 kB / 0.562 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.263e-05/0.1341, allocations: 23.98 kB / 0.5621 GB, free: 15.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.341e-05/0.1342, allocations: 49.7 kB / 0.5621 GB, free: 15.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.1343, allocations: 85.58 kB / 0.5622 GB, free: 15.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1343, allocations: 0 / 0.5622 GB, free: 15.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002516/0.1346, allocations: 125.6 kB / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1346, allocations: 4 kB / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1346, allocations: 4 kB / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.1346, allocations: 3.938 kB / 0.5623 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.489e-05/0.1347, allocations: 27.95 kB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.1347, allocations: 4 kB / 0.5624 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.1348, allocations: 0 / 0.5624 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.1348, allocations: 8 kB / 0.5624 GB, free: 15.13 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 (13): * Single equations (assignments): 13 * 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.0001563/0.135, allocations: 144 kB / 0.5625 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.135, allocations: 11.91 kB / 0.5625 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.571e-05/0.1351, allocations: 21.39 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.1351, allocations: 11.88 kB / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.1351, allocations: 4 kB / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1351, allocations: 0 / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006866/0.1358, allocations: 460 kB / 0.563 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1358, allocations: 0 / 0.563 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.092e-05/0.1358, allocations: 20.02 kB / 0.563 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.309e-06/0.1358, allocations: 7.938 kB / 0.563 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1358, allocations: 4 kB / 0.563 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1358, allocations: 0 / 0.563 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1358, allocations: 8.062 kB / 0.563 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.1361, allocations: 229.1 kB / 0.5632 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.607e-05/0.1362, allocations: 89.02 kB / 0.5633 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.1363, allocations: 8 kB / 0.5633 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.1363, allocations: 0 / 0.5633 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.1364, allocations: 19.92 kB / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.1364, allocations: 4 kB / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001993/0.1366, allocations: 192.4 kB / 0.5635 GB, free: 13.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1366, allocations: 0 / 0.5635 GB, free: 13.81 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002949/0.1369, allocations: 31.92 kB / 0.5636 GB, free: 13.78 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002707/0.1396, allocations: 1.184 MB / 0.5647 GB, free: 12.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.1398, allocations: 71.91 kB / 0.5648 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1398, allocations: 4 kB / 0.5648 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.1399, allocations: 31.92 kB / 0.5648 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.1403, allocations: 41.03 kB / 0.5649 GB, free: 12.63 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.1426, allocations: 1.893 MB / 0.5667 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.143, allocations: 0.7236 MB / 0.5674 GB, free: 9.891 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.914e-05/0.1431, allocations: 16.62 kB / 0.5674 GB, free: 9.875 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.26e-05/0.1432, allocations: 47.42 kB / 0.5675 GB, free: 9.828 MB / 430.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1432, allocations: 4.125 kB / 0.5675 GB, free: 9.824 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.1627, allocations: 4.093 MB / 0.5715 GB, free: 5.801 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.432/8.594, allocations: 22.31 kB / 0.5715 GB, free: 5.785 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.865890023997054] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 8.77980001695687 8.810108141 8.674522052 Calling exit ...