Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.001386/0.001386, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.00153/0.00153, allocations: 211.5 kB / 23.78 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 207.7 MB / 234.6 MB, free: 9.773 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2271/0.2271, allocations: 44.26 MB / 331.1 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002538/0.002538, allocations: 73.61 kB / 468.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1379, allocations: 61.04 MB / 0.517 GB, free: 7.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.005255/0.1432, allocations: 1.682 MB / 0.5186 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.1452, allocations: 0.7816 MB / 0.5194 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.835e-05/0.1453, allocations: 4 kB / 0.5194 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003838/0.1457, allocations: 47.77 kB / 0.5194 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000351/0.1461, allocations: 59.75 kB / 0.5195 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.1465, allocations: 91.75 kB / 0.5196 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.1468, allocations: 95.64 kB / 0.5197 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.1469, allocations: 16.2 kB / 0.5197 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.147, allocations: 43.78 kB / 0.5197 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.1472, allocations: 27.86 kB / 0.5197 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.1472, allocations: 4 kB / 0.5198 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.1474, allocations: 47.97 kB / 0.5198 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.127e-05/0.1474, allocations: 23.92 kB / 0.5198 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.603e-05/0.1475, allocations: 23.81 kB / 0.5198 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003766/0.1479, allocations: 127.4 kB / 0.52 GB, free: 4.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.1479, allocations: 4 kB / 0.52 GB, free: 4.031 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1479, allocations: 0 / 0.52 GB, free: 4.031 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1479, allocations: 4 kB / 0.52 GB, free: 4.027 MB / 398.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.0008677/0.1488, allocations: 349.6 kB / 0.5203 GB, free: 3.656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.567e-05/0.1489, allocations: 8.031 kB / 0.5203 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.215e-05/0.1489, allocations: 192 / 0.5203 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.221e-05/0.1489, allocations: 38.75 kB / 0.5204 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.749e-05/0.149, allocations: 12.84 kB / 0.5204 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.1494, allocations: 158.3 kB / 0.5205 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.1494, allocations: 4.125 kB / 0.5205 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.1494, allocations: 4 kB / 0.5205 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.1497, allocations: 61.59 kB / 0.5206 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.1497, allocations: 7.938 kB / 0.5206 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1497, allocations: 0 / 0.5206 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.1497, allocations: 4 kB / 0.5206 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.1498, allocations: 15.98 kB / 0.5206 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005719/0.1504, allocations: 256 kB / 0.5209 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.1507, allocations: 62.61 kB / 0.5209 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.984e-05/0.1508, allocations: 20.84 kB / 0.5209 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.1508, allocations: 0 / 0.5209 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/0.151, allocations: 75.38 kB / 0.521 GB, free: 2.836 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.1511, allocations: 0 / 0.521 GB, free: 2.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008628/0.1519, allocations: 185.3 kB / 0.5212 GB, free: 2.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.152, allocations: 51.41 kB / 0.5212 GB, free: 2.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003862/0.1524, allocations: 230.7 kB / 0.5214 GB, free: 2.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.1524, allocations: 37.64 kB / 0.5215 GB, free: 2.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.1525, allocations: 108.1 kB / 0.5216 GB, free: 2.191 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.238e-05/0.1526, allocations: 23.84 kB / 0.5216 GB, free: 2.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.01e-05/0.1526, allocations: 21.72 kB / 0.5216 GB, free: 2.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.1528, allocations: 322.8 kB / 0.5219 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.1529, allocations: 27.98 kB / 0.522 GB, free: 1.789 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.1531, allocations: 41.64 kB / 0.522 GB, free: 1.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.1533, allocations: 57.7 kB / 0.5221 GB, free: 1.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1533, allocations: 0 / 0.5221 GB, free: 1.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003368/0.1536, allocations: 109.5 kB / 0.5222 GB, free: 1.566 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.1536, allocations: 8 kB / 0.5222 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.1536, allocations: 3.984 kB / 0.5222 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1537, allocations: 0 / 0.5222 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.1538, allocations: 12.38 kB / 0.5222 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.1538, allocations: 11.97 kB / 0.5222 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.404e-05/0.1539, allocations: 0 / 0.5222 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.1539, allocations: 11.98 kB / 0.5222 GB, free: 1.52 MB / 398.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.0001639/0.1541, allocations: 129.8 kB / 0.5223 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.1541, allocations: 7.953 kB / 0.5223 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004039/0.1545, allocations: 130.9 kB / 0.5225 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1545, allocations: 0 / 0.5225 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.1545, allocations: 3.938 kB / 0.5225 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1545, allocations: 0 / 0.5225 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007467/0.1553, allocations: 382.4 kB / 0.5228 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1553, allocations: 0 / 0.5228 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.481e-05/0.1553, allocations: 8 kB / 0.5228 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.1553, allocations: 3.938 kB / 0.5228 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.1554, allocations: 7.984 kB / 0.5229 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.1554, allocations: 0 / 0.5229 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1554, allocations: 0 / 0.5229 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004145/0.1558, allocations: 220.7 kB / 0.5231 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.1558, allocations: 15.83 kB / 0.5231 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.1559, allocations: 4 kB / 0.5231 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.156, allocations: 12.02 kB / 0.5231 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.156, allocations: 4 kB / 0.5231 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.156, allocations: 7.984 kB / 0.5231 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002475/0.1563, allocations: 172.3 kB / 0.5233 GB, free: 352 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1563, allocations: 0 / 0.5233 GB, free: 352 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004824/0.1568, allocations: 23.98 kB / 0.5233 GB, free: 328 kB / 398.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 (9): * Single equations (assignments): 7 * 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.003506/0.1603, allocations: 1.141 MB / 0.5244 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003271/0.1606, allocations: 59.97 kB / 0.5245 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1606, allocations: 0 / 0.5245 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.1607, allocations: 31.92 kB / 0.5245 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005917/0.1613, allocations: 31.36 kB / 0.5245 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/0.1645, allocations: 1.739 MB / 0.5262 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.1646, allocations: 96.73 kB / 0.5263 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.389e-05/0.1647, allocations: 20.78 kB / 0.5263 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.1648, allocations: 39.42 kB / 0.5264 GB, free: 13.08 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1648, allocations: 0 / 0.5264 GB, free: 13.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03306/0.1979, allocations: 3.892 MB / 0.5302 GB, free: 9.078 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/11.97, allocations: 11.98 kB / 0.5302 GB, free: 9.066 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.23901316395495] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.190189250046387 12.408798719 12.25782048 Calling exit ...