Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.001322/0.001322, allocations: 120.1 kB / 18.49 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.00139/0.00139, allocations: 215 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.496/1.496, 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.2619/0.2619, 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.Test51,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 67.89 kB / 0.4917 GB, free: 7.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1396, allocations: 65.99 MB / 0.5561 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003582/0.1431, allocations: 1.729 MB / 0.5578 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.1451, allocations: 1.031 MB / 0.5588 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.1452, allocations: 7.938 kB / 0.5589 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.1456, allocations: 51.69 kB / 0.5589 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003891/0.146, allocations: 99.59 kB / 0.559 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.1462, allocations: 79.67 kB / 0.5591 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.1465, allocations: 103.7 kB / 0.5592 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.1466, allocations: 11.98 kB / 0.5592 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.1468, allocations: 55.72 kB / 0.5592 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.1469, allocations: 27.84 kB / 0.5593 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.1469, allocations: 4 kB / 0.5593 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.147, allocations: 43.98 kB / 0.5593 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.719e-05/0.1471, allocations: 27.86 kB / 0.5593 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.907e-05/0.1472, allocations: 43.73 kB / 0.5594 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.1475, allocations: 127.4 kB / 0.5595 GB, free: 2.312 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1475, allocations: 0 / 0.5595 GB, free: 2.312 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1475, allocations: 0 / 0.5595 GB, free: 2.312 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1475, allocations: 4 kB / 0.5595 GB, free: 2.309 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.0007608/0.1483, allocations: 438.5 kB / 0.5599 GB, free: 1.832 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.1483, allocations: 8.031 kB / 0.5599 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.738e-05/0.1483, allocations: 12.12 kB / 0.5599 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.313e-05/0.1484, allocations: 38.73 kB / 0.56 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.1485, allocations: 8.891 kB / 0.56 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.1488, allocations: 220.9 kB / 0.5602 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.1488, allocations: 4.125 kB / 0.5602 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.1488, allocations: 4 kB / 0.5602 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.149, allocations: 57.61 kB / 0.5603 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.149, allocations: 0 / 0.5603 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.149, allocations: 0 / 0.5603 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.149, allocations: 0 / 0.5603 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.237e-05/0.1491, allocations: 19.98 kB / 0.5603 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.1495, allocations: 304.8 kB / 0.5606 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.1497, allocations: 50.62 kB / 0.5606 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.883e-05/0.1498, allocations: 20.84 kB / 0.5606 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.1498, allocations: 4 kB / 0.5606 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.15, allocations: 67.39 kB / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.15, allocations: 0 / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005754/0.1505, allocations: 185.3 kB / 0.5609 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.1506, allocations: 51.41 kB / 0.5609 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.1508, allocations: 238 kB / 0.5612 GB, free: 416 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.1509, allocations: 29.7 kB / 0.5612 GB, free: 380 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/0.1509, allocations: 112.1 kB / 0.5613 GB, free: 264 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.151, allocations: 23.84 kB / 0.5613 GB, free: 240 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.151, allocations: 25.72 kB / 0.5613 GB, free: 208 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.1512, allocations: 322.8 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.399e-05/0.1513, allocations: 27.92 kB / 0.5617 GB, free: 15.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.423e-05/0.1513, allocations: 37.64 kB / 0.5617 GB, free: 15.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.1515, allocations: 57.78 kB / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1515, allocations: 4 kB / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002164/0.1517, allocations: 109.5 kB / 0.5619 GB, free: 15.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1517, allocations: 8 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1517, allocations: 0 / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1517, allocations: 0 / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.627e-05/0.1518, allocations: 16.36 kB / 0.5619 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.1518, allocations: 11.88 kB / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.792e-05/0.1519, allocations: 4 kB / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.1519, allocations: 8.031 kB / 0.5619 GB, free: 15.58 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.0001385/0.152, allocations: 136 kB / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.1521, allocations: 11.91 kB / 0.5621 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.832e-05/0.1521, allocations: 21.39 kB / 0.5621 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1521, allocations: 0 / 0.5621 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.1521, allocations: 7.938 kB / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1522, allocations: 0 / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005181/0.1527, allocations: 399.3 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1527, allocations: 0 / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.941e-05/0.1527, allocations: 11.98 kB / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.1527, allocations: 3.938 kB / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.1527, allocations: 4 kB / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1527, allocations: 0 / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1527, allocations: 0 / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.153, allocations: 212.3 kB / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.1531, allocations: 88.95 kB / 0.5628 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.1531, allocations: 7.984 kB / 0.5628 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.1532, allocations: 7.984 kB / 0.5628 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.1532, allocations: 4 kB / 0.5628 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.1532, allocations: 7.984 kB / 0.5628 GB, free: 14.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001713/0.1534, allocations: 172.4 kB / 0.563 GB, free: 14.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1534, allocations: 4 kB / 0.563 GB, free: 14.39 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.1537, allocations: 27.92 kB / 0.563 GB, free: 14.37 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.002185/0.1558, allocations: 1.101 MB / 0.5641 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.1561, allocations: 55.95 kB / 0.5641 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1561, allocations: 0 / 0.5641 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.042e-05/0.1561, allocations: 31.92 kB / 0.5642 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.1565, allocations: 31.67 kB / 0.5642 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.1586, allocations: 1.759 MB / 0.5659 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.1589, allocations: 0.708 MB / 0.5666 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.667e-05/0.159, allocations: 16.88 kB / 0.5666 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.129e-05/0.159, allocations: 43.42 kB / 0.5667 GB, free: 10.66 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.159, allocations: 0 / 0.5667 GB, free: 10.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.179, allocations: 3.682 MB / 0.5702 GB, free: 7.055 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.383/8.562, allocations: 8 kB / 0.5703 GB, free: 7.047 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.710604044026695] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.738074285967741 8.754523578 8.603967099 Calling exit ...