Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.001683/0.001683, allocations: 116.2 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.00229/0.00229, allocations: 219 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.533/1.533, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.2345/0.2345, allocations: 46.92 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.Test25,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 63.91 kB / 0.4917 GB, free: 7.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1325, allocations: 65.99 MB / 0.5561 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003414/0.1359, allocations: 1.735 MB / 0.5578 GB, free: 4.031 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.1379, allocations: 1.034 MB / 0.5588 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.138, allocations: 4 kB / 0.5589 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.1383, allocations: 43.77 kB / 0.5589 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003694/0.1387, allocations: 95.59 kB / 0.559 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.1389, allocations: 79.66 kB / 0.5591 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.1391, allocations: 107.6 kB / 0.5592 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1392, allocations: 8 kB / 0.5592 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1394, allocations: 51.78 kB / 0.5592 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.372e-05/0.1395, allocations: 31.84 kB / 0.5593 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.1395, allocations: 4 kB / 0.5593 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.1396, allocations: 43.98 kB / 0.5593 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.1396, allocations: 27.84 kB / 0.5593 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.836e-05/0.1397, allocations: 39.67 kB / 0.5594 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.1399, allocations: 119.5 kB / 0.5595 GB, free: 2.348 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1399, allocations: 0 / 0.5595 GB, free: 2.348 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1399, allocations: 0 / 0.5595 GB, free: 2.348 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.14, allocations: 0 / 0.5595 GB, free: 2.348 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.0006239/0.1406, allocations: 434.6 kB / 0.5599 GB, free: 1.875 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1406, allocations: 12.03 kB / 0.5599 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.764e-05/0.1406, allocations: 192 / 0.5599 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.564e-05/0.1407, allocations: 30.75 kB / 0.5599 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.1407, allocations: 12.89 kB / 0.5599 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.1411, allocations: 228 kB / 0.5602 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.1411, allocations: 4.125 kB / 0.5602 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.1411, allocations: 4 kB / 0.5602 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.1413, allocations: 61.66 kB / 0.5602 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1413, allocations: 0 / 0.5602 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1413, allocations: 0 / 0.5602 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1413, allocations: 0 / 0.5602 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.34e-05/0.1414, allocations: 19.98 kB / 0.5602 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.1418, allocations: 292.8 kB / 0.5605 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.142, allocations: 62.55 kB / 0.5606 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.639e-05/0.1421, allocations: 16.86 kB / 0.5606 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.1421, allocations: 0 / 0.5606 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.1423, allocations: 71.39 kB / 0.5607 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1423, allocations: 0 / 0.5607 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005825/0.1429, allocations: 181.3 kB / 0.5608 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.1429, allocations: 59.41 kB / 0.5609 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.1432, allocations: 218 kB / 0.5611 GB, free: 484 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1432, allocations: 25.7 kB / 0.5611 GB, free: 452 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.1432, allocations: 100.1 kB / 0.5612 GB, free: 348 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.1433, allocations: 31.77 kB / 0.5613 GB, free: 316 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.1433, allocations: 21.72 kB / 0.5613 GB, free: 288 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1435, allocations: 326.8 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.158e-05/0.1435, allocations: 20 kB / 0.5616 GB, free: 15.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.3e-05/0.1436, allocations: 37.7 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.1438, allocations: 61.7 kB / 0.5617 GB, free: 15.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1438, allocations: 0 / 0.5617 GB, free: 15.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002021/0.144, allocations: 97.53 kB / 0.5618 GB, free: 15.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.144, allocations: 11.94 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.144, allocations: 0 / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.144, allocations: 4.031 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-05/0.1441, allocations: 15.98 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.1441, allocations: 11.88 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.872e-05/0.1441, allocations: 4 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.1442, allocations: 4 kB / 0.5618 GB, free: 15.67 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.0001286/0.1443, allocations: 124 kB / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.1443, allocations: 19.91 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.977e-05/0.1444, allocations: 17.39 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.1444, allocations: 4 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.1444, allocations: 7.938 kB / 0.562 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1444, allocations: 0 / 0.562 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005418/0.1449, allocations: 391.3 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.1449, allocations: 3.984 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.145, allocations: 8 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.145, allocations: 3.938 kB / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.145, allocations: 4 kB / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.145, allocations: 192 / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.145, allocations: 4.031 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.1453, allocations: 208.5 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.388e-05/0.1453, allocations: 92.98 kB / 0.5627 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.1454, allocations: 0 / 0.5627 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.012e-05/0.1455, allocations: 12 kB / 0.5627 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.1455, allocations: 7.984 kB / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.1455, allocations: 11.98 kB / 0.5627 GB, free: 14.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001456/0.1457, allocations: 156.3 kB / 0.5629 GB, free: 14.51 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1457, allocations: 0 / 0.5629 GB, free: 14.51 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.1459, allocations: 23.94 kB / 0.5629 GB, free: 14.48 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.002511/0.1484, allocations: 1.108 MB / 0.564 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.1487, allocations: 51.92 kB / 0.564 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1487, allocations: 0 / 0.564 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.755e-05/0.1488, allocations: 28.05 kB / 0.5641 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.1491, allocations: 32.09 kB / 0.5641 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.1512, allocations: 1.693 MB / 0.5657 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.1516, allocations: 0.7158 MB / 0.5664 GB, free: 10.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.15e-05/0.1516, allocations: 20.78 kB / 0.5665 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.1517, allocations: 43.3 kB / 0.5665 GB, free: 10.84 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1517, allocations: 0 / 0.5665 GB, free: 10.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02051/0.1722, allocations: 3.559 MB / 0.57 GB, free: 7.359 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.43/8.602, allocations: 8 kB / 0.57 GB, free: 7.352 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.707873638020828] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.793146566022187 8.808408554 8.665565147 Calling exit ...