Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.00186/0.00186, allocations: 121 kB / 18.5 MB, free: 4.562 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.002273/0.002273, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.498/1.498, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.226/0.226, allocations: 46.93 MB / 357.8 MB, free: 10.3 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.Test28,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 63.91 kB / 0.4917 GB, free: 7.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1276, allocations: 65.99 MB / 0.5561 GB, free: 5.738 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003608/0.1312, allocations: 1.731 MB / 0.5578 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.1331, allocations: 1.036 MB / 0.5589 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.1332, allocations: 7.938 kB / 0.5589 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.1335, allocations: 35.77 kB / 0.5589 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003673/0.1338, allocations: 95.59 kB / 0.559 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.1341, allocations: 75.69 kB / 0.5591 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.1343, allocations: 111.6 kB / 0.5592 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1344, allocations: 15.98 kB / 0.5592 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.1345, allocations: 43.8 kB / 0.5592 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.776e-05/0.1346, allocations: 35.83 kB / 0.5593 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.1346, allocations: 4 kB / 0.5593 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.1347, allocations: 43.98 kB / 0.5593 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.428e-05/0.1348, allocations: 15.92 kB / 0.5593 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.621e-05/0.1348, allocations: 35.73 kB / 0.5593 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.1351, allocations: 127.4 kB / 0.5595 GB, free: 2.316 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1351, allocations: 0 / 0.5595 GB, free: 2.316 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1351, allocations: 0 / 0.5595 GB, free: 2.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.1351, allocations: 4 kB / 0.5595 GB, free: 2.312 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.000663/0.1358, allocations: 422.7 kB / 0.5599 GB, free: 1.852 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.1358, allocations: 8.031 kB / 0.5599 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.458e-05/0.1358, allocations: 192 / 0.5599 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/0.1359, allocations: 34.75 kB / 0.5599 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.1359, allocations: 12.88 kB / 0.5599 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.1362, allocations: 215.1 kB / 0.5601 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.1362, allocations: 8.109 kB / 0.5601 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.1363, allocations: 11.94 kB / 0.5602 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.1364, allocations: 53.67 kB / 0.5602 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1364, allocations: 0 / 0.5602 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.1365, allocations: 0 / 0.5602 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1365, allocations: 4 kB / 0.5602 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.042e-05/0.1365, allocations: 19.92 kB / 0.5602 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.137, allocations: 296.8 kB / 0.5605 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.1372, allocations: 58.61 kB / 0.5606 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.7e-05/0.1372, allocations: 16.86 kB / 0.5606 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.1372, allocations: 0 / 0.5606 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001862/0.1374, allocations: 67.39 kB / 0.5606 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1374, allocations: 0 / 0.5606 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005813/0.138, allocations: 177.3 kB / 0.5608 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.1381, allocations: 55.41 kB / 0.5609 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.1383, allocations: 198.3 kB / 0.5611 GB, free: 500 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1383, allocations: 25.7 kB / 0.5611 GB, free: 468 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.752e-05/0.1384, allocations: 104.1 kB / 0.5612 GB, free: 360 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.1384, allocations: 27.78 kB / 0.5612 GB, free: 332 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.1385, allocations: 21.72 kB / 0.5612 GB, free: 304 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.1386, allocations: 326.8 kB / 0.5615 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.906e-05/0.1387, allocations: 27.92 kB / 0.5616 GB, free: 15.94 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.24e-05/0.1388, allocations: 34.08 kB / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.1389, allocations: 53.72 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1389, allocations: 4 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002232/0.1391, allocations: 113.6 kB / 0.5618 GB, free: 15.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1391, allocations: 9.906 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.1391, allocations: 7.984 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1391, allocations: 0 / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.954e-05/0.1392, allocations: 15.98 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.1392, allocations: 3.938 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.139e-05/0.1393, allocations: 8 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1393, allocations: 4 kB / 0.5618 GB, free: 15.68 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.0001194/0.1394, allocations: 128 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.1395, allocations: 11.91 kB / 0.5619 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.937e-05/0.1395, allocations: 21.59 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1395, allocations: 0 / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1395, allocations: 7.875 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1395, allocations: 0 / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000504/0.14, allocations: 399.3 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.14, allocations: 0 / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/0.1401, allocations: 11.94 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.1401, allocations: 3.938 kB / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1401, allocations: 8.031 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1401, allocations: 0 / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1401, allocations: 3.984 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.1403, allocations: 200.3 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-05/0.1404, allocations: 92.95 kB / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.1404, allocations: 0 / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.204e-05/0.1405, allocations: 4 kB / 0.5627 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.1405, allocations: 15.98 kB / 0.5627 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.1405, allocations: 4 kB / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.1407, allocations: 148.2 kB / 0.5628 GB, free: 14.53 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1407, allocations: 0 / 0.5628 GB, free: 14.53 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.141, allocations: 19.94 kB / 0.5628 GB, free: 14.51 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.002199/0.1432, allocations: 1.094 MB / 0.5639 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.1434, allocations: 59.91 kB / 0.564 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1434, allocations: 0 / 0.564 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.514e-05/0.1434, allocations: 28.12 kB / 0.564 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.1438, allocations: 43.84 kB / 0.564 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.1458, allocations: 1.658 MB / 0.5657 GB, free: 11.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.1461, allocations: 0.7119 MB / 0.5664 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.269e-05/0.1462, allocations: 12.88 kB / 0.5664 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/0.1462, allocations: 35.42 kB / 0.5664 GB, free: 10.9 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1462, allocations: 0 / 0.5664 GB, free: 10.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.1653, allocations: 3.521 MB / 0.5698 GB, free: 7.465 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.446/8.611, allocations: 8 kB / 0.5698 GB, free: 7.457 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.6797813459998] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.794611497025471 8.822959468 8.683371756 Calling exit ...