Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.001441/0.001441, 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.00155/0.00155, 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.52/1.52, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.2319/0.2319, allocations: 46.93 MB / 357.8 MB, free: 10.34 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.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 71.89 kB / 0.4917 GB, free: 7.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1316, allocations: 65.98 MB / 0.5561 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003908/0.1355, allocations: 1.735 MB / 0.5578 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.1376, allocations: 1.034 MB / 0.5588 GB, free: 3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.1378, allocations: 3.938 kB / 0.5589 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000328/0.1381, allocations: 39.83 kB / 0.5589 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004224/0.1385, allocations: 99.53 kB / 0.559 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.1388, allocations: 75.67 kB / 0.5591 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.139, allocations: 107.7 kB / 0.5592 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1392, allocations: 8 kB / 0.5592 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.1393, allocations: 47.78 kB / 0.5592 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.739e-05/0.1393, allocations: 35.78 kB / 0.5592 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.1394, allocations: 8 kB / 0.5593 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.1395, allocations: 43.98 kB / 0.5593 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.806e-05/0.1396, allocations: 19.92 kB / 0.5593 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.95e-05/0.1396, allocations: 31.75 kB / 0.5593 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.1399, allocations: 127.4 kB / 0.5595 GB, free: 2.363 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1399, allocations: 0 / 0.5595 GB, free: 2.363 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1399, allocations: 0 / 0.5595 GB, free: 2.363 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.1399, allocations: 0 / 0.5595 GB, free: 2.363 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.0006633/0.1406, allocations: 426.6 kB / 0.5599 GB, free: 1.898 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.1406, allocations: 12.03 kB / 0.5599 GB, free: 1.887 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.796e-05/0.1407, allocations: 4.188 kB / 0.5599 GB, free: 1.883 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.1407, allocations: 34.73 kB / 0.5599 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.371e-05/0.1408, allocations: 12.89 kB / 0.5599 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.1411, allocations: 219.1 kB / 0.5601 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1411, allocations: 4.125 kB / 0.5601 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.1411, allocations: 4 kB / 0.5602 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.1413, allocations: 57.61 kB / 0.5602 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1413, allocations: 0 / 0.5602 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1413, allocations: 4 kB / 0.5602 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1413, allocations: 0 / 0.5602 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.253e-05/0.1414, allocations: 23.92 kB / 0.5602 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.1418, allocations: 284.8 kB / 0.5605 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.142, allocations: 62.61 kB / 0.5606 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.887e-05/0.1421, allocations: 24.84 kB / 0.5606 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.1421, allocations: 3.984 kB / 0.5606 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.1422, allocations: 63.39 kB / 0.5607 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1422, allocations: 0 / 0.5607 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005947/0.1428, allocations: 177.5 kB / 0.5608 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.1429, allocations: 51.41 kB / 0.5609 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.1431, allocations: 202.3 kB / 0.5611 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.1431, allocations: 29.7 kB / 0.5611 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.37e-05/0.1432, allocations: 96.14 kB / 0.5612 GB, free: 404 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.1432, allocations: 27.78 kB / 0.5612 GB, free: 376 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.1433, allocations: 25.72 kB / 0.5612 GB, free: 344 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1435, allocations: 318.8 kB / 0.5615 GB, free: 16 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.871e-05/0.1435, allocations: 24.22 kB / 0.5616 GB, free: 15.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.954e-05/0.1436, allocations: 45.59 kB / 0.5616 GB, free: 15.94 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.1437, allocations: 57.7 kB / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1437, allocations: 0 / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002041/0.144, allocations: 109.5 kB / 0.5618 GB, free: 15.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.144, allocations: 4 kB / 0.5618 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.144, allocations: 160 / 0.5618 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.144, allocations: 0 / 0.5618 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.1441, allocations: 19.98 kB / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-05/0.1441, allocations: 11.95 kB / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.418e-05/0.1442, allocations: 0 / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1442, allocations: 4 kB / 0.5618 GB, free: 15.73 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.000117/0.1443, allocations: 132 kB / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.1443, allocations: 15.91 kB / 0.5619 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.678e-05/0.1444, allocations: 17.58 kB / 0.562 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1444, allocations: 0 / 0.562 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1444, allocations: 11.88 kB / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1444, allocations: 0 / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005137/0.1449, allocations: 391.3 kB / 0.5623 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.1449, allocations: 4 kB / 0.5623 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.621e-05/0.1449, allocations: 15.92 kB / 0.5624 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1449, allocations: 3.938 kB / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.1449, allocations: 4 kB / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1449, allocations: 0 / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1449, allocations: 4 kB / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.1452, allocations: 196.4 kB / 0.5626 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/0.1453, allocations: 88.95 kB / 0.5626 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.1453, allocations: 11.94 kB / 0.5627 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.1454, allocations: 3.984 kB / 0.5627 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.1454, allocations: 7.984 kB / 0.5627 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.1455, allocations: 4 kB / 0.5627 GB, free: 14.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.1456, allocations: 148.2 kB / 0.5628 GB, free: 14.58 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1456, allocations: 4 kB / 0.5628 GB, free: 14.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.1459, allocations: 27.92 kB / 0.5628 GB, free: 14.55 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.00216/0.148, allocations: 1.099 MB / 0.5639 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.1482, allocations: 55.95 kB / 0.564 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1482, allocations: 0 / 0.564 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.15e-05/0.1483, allocations: 27.92 kB / 0.564 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.1486, allocations: 35.34 kB / 0.564 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.1506, allocations: 1.669 MB / 0.5657 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.151, allocations: 0.7002 MB / 0.5663 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.827e-05/0.151, allocations: 20.88 kB / 0.5664 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.954e-05/0.1511, allocations: 39.42 kB / 0.5664 GB, free: 10.94 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1511, allocations: 0 / 0.5664 GB, free: 10.94 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.1699, allocations: 3.513 MB / 0.5698 GB, free: 7.508 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.468/8.638, allocations: 7.875 kB / 0.5698 GB, free: 7.5 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.67418341699522] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.816889895999338 8.831234033 8.688407378 Calling exit ...