Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.001816/0.001816, 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.002123/0.002123, 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.505/1.505, 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.232/0.232, allocations: 46.93 MB / 357.8 MB, free: 10.35 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.Test24,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 67.91 kB / 0.4917 GB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1382, allocations: 65.98 MB / 0.5561 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003402/0.1416, allocations: 1.741 MB / 0.5578 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.1434, allocations: 1.038 MB / 0.5589 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.308e-05/0.1435, allocations: 0 / 0.5589 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.1438, allocations: 47.77 kB / 0.5589 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.1441, allocations: 95.53 kB / 0.559 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.1443, allocations: 79.72 kB / 0.5591 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.1445, allocations: 107.6 kB / 0.5592 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.1447, allocations: 12 kB / 0.5592 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.1448, allocations: 43.78 kB / 0.5592 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.279e-05/0.1448, allocations: 31.84 kB / 0.5593 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.1449, allocations: 4 kB / 0.5593 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.997e-05/0.145, allocations: 47.92 kB / 0.5593 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.145, allocations: 31.84 kB / 0.5593 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.016e-05/0.1451, allocations: 35.75 kB / 0.5594 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.1453, allocations: 115.5 kB / 0.5595 GB, free: 2.355 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1453, allocations: 4 kB / 0.5595 GB, free: 2.352 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1453, allocations: 0 / 0.5595 GB, free: 2.352 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1453, allocations: 0 / 0.5595 GB, free: 2.352 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.000741/0.1461, allocations: 430.6 kB / 0.5599 GB, free: 1.883 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.1461, allocations: 8.031 kB / 0.5599 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.913e-05/0.1461, allocations: 4.125 kB / 0.5599 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.325e-05/0.1462, allocations: 38.75 kB / 0.5599 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.1462, allocations: 12.89 kB / 0.56 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.1466, allocations: 216.1 kB / 0.5602 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.1466, allocations: 8.125 kB / 0.5602 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.1466, allocations: 4 kB / 0.5602 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.1467, allocations: 53.67 kB / 0.5602 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1468, allocations: 0 / 0.5602 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.1468, allocations: 0 / 0.5602 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1468, allocations: 0 / 0.5602 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.88e-05/0.1469, allocations: 27.92 kB / 0.5602 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.1473, allocations: 292.8 kB / 0.5605 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.1474, allocations: 50.69 kB / 0.5606 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.1475, allocations: 20.84 kB / 0.5606 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.1475, allocations: 7.984 kB / 0.5606 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.1477, allocations: 71.33 kB / 0.5607 GB, free: 0.957 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1477, allocations: 3.938 kB / 0.5607 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005571/0.1482, allocations: 177.3 kB / 0.5608 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.1483, allocations: 59.39 kB / 0.5609 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.1485, allocations: 210 kB / 0.5611 GB, free: 500 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1485, allocations: 29.7 kB / 0.5611 GB, free: 464 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.1486, allocations: 108.1 kB / 0.5612 GB, free: 352 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.1486, allocations: 23.84 kB / 0.5613 GB, free: 328 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.1487, allocations: 21.72 kB / 0.5613 GB, free: 300 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1488, allocations: 322.8 kB / 0.5616 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.04e-05/0.1489, allocations: 23.98 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.099e-05/0.149, allocations: 33.7 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.1491, allocations: 65.64 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1491, allocations: 0 / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001931/0.1493, allocations: 102 kB / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1493, allocations: 8 kB / 0.5618 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1493, allocations: 80 / 0.5618 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1493, allocations: 3.938 kB / 0.5618 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.1494, allocations: 23.98 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1494, allocations: 7.922 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.428e-05/0.1495, allocations: 0 / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.1495, allocations: 8.031 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.0001205/0.1496, allocations: 132 kB / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.1496, allocations: 11.91 kB / 0.562 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.1497, allocations: 13.41 kB / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.1497, allocations: 4 kB / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.1497, allocations: 7.922 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1497, allocations: 0 / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004675/0.1502, allocations: 395.3 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1502, allocations: 0 / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.1502, allocations: 19.92 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.758e-06/0.1502, allocations: 3.938 kB / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.1502, allocations: 4 kB / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1502, allocations: 0 / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1502, allocations: 0 / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.1505, allocations: 208.3 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.1505, allocations: 89 kB / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.1506, allocations: 4.188 kB / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.1506, allocations: 3.984 kB / 0.5627 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.1507, allocations: 7.938 kB / 0.5627 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.1507, allocations: 8 kB / 0.5627 GB, free: 14.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.1508, allocations: 156.3 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1508, allocations: 0 / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1511, allocations: 35.86 kB / 0.5629 GB, free: 14.49 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.002201/0.1533, allocations: 1.087 MB / 0.564 GB, free: 13.56 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.1535, allocations: 55.91 kB / 0.564 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1535, allocations: 0 / 0.564 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.752e-05/0.1536, allocations: 32.08 kB / 0.564 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.1539, allocations: 29 kB / 0.5641 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.1559, allocations: 1.704 MB / 0.5657 GB, free: 11.65 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.1562, allocations: 0.708 MB / 0.5664 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.436e-05/0.1563, allocations: 20.5 kB / 0.5665 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.778e-05/0.1564, allocations: 43.41 kB / 0.5665 GB, free: 10.85 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1564, allocations: 7.938 kB / 0.5665 GB, free: 10.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.1753, allocations: 3.563 MB / 0.57 GB, free: 7.363 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.476/8.651, allocations: 10.39 kB / 0.57 GB, free: 7.355 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.77780843002256] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.835556199017446 8.864839914 8.714182346 Calling exit ...