Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.00176/0.00176, allocations: 109 kB / 20.48 MB, free: 1.477 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.002203/0.002203, allocations: 207.9 kB / 23.78 MB, free: 4.688 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.771/1.771, allocations: 207.6 MB / 234.6 MB, free: 9.969 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.2536/0.2536, allocations: 44.25 MB / 331.1 MB, free: 9.59 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.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",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.002223/0.002223, allocations: 68.42 kB / 468.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1364, allocations: 61.05 MB / 0.517 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003296/0.1397, allocations: 1.717 MB / 0.5187 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.1413, allocations: 0.8285 MB / 0.5195 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.184e-05/0.1414, allocations: 7.938 kB / 0.5195 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000418/0.1418, allocations: 39.81 kB / 0.5195 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.1421, allocations: 59.7 kB / 0.5196 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.1424, allocations: 83.77 kB / 0.5196 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.1426, allocations: 99.69 kB / 0.5197 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1427, allocations: 16.2 kB / 0.5198 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.1428, allocations: 43.78 kB / 0.5198 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.183e-05/0.1429, allocations: 35.78 kB / 0.5198 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.1429, allocations: 4 kB / 0.5198 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.465e-05/0.143, allocations: 35.98 kB / 0.5199 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.474e-05/0.1431, allocations: 23.92 kB / 0.5199 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.164e-05/0.1431, allocations: 35.73 kB / 0.5199 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.1433, allocations: 111.6 kB / 0.52 GB, free: 4.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1433, allocations: 0 / 0.52 GB, free: 4.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1433, allocations: 0 / 0.52 GB, free: 4.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1434, allocations: 11.88 kB / 0.52 GB, free: 4.105 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.0005777/0.1439, allocations: 353.5 kB / 0.5204 GB, free: 3.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.144, allocations: 8.031 kB / 0.5204 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.664e-05/0.144, allocations: 192 / 0.5204 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.144, allocations: 34.73 kB / 0.5204 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.1441, allocations: 12.89 kB / 0.5204 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.1443, allocations: 155 kB / 0.5206 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.1443, allocations: 4.125 kB / 0.5206 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.1444, allocations: 8 kB / 0.5206 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1445, allocations: 53.67 kB / 0.5206 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.1445, allocations: 0 / 0.5206 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.1445, allocations: 3.938 kB / 0.5206 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1445, allocations: 0 / 0.5206 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.812e-05/0.1446, allocations: 23.98 kB / 0.5207 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.145, allocations: 252 kB / 0.5209 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.1451, allocations: 62.67 kB / 0.521 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.232e-05/0.1452, allocations: 20.8 kB / 0.521 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.1452, allocations: 3.984 kB / 0.521 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.1454, allocations: 67.38 kB / 0.5211 GB, free: 2.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1454, allocations: 0 / 0.5211 GB, free: 2.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006071/0.146, allocations: 185.3 kB / 0.5212 GB, free: 2.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.1461, allocations: 55.34 kB / 0.5213 GB, free: 2.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.1463, allocations: 195.2 kB / 0.5215 GB, free: 2.477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1463, allocations: 25.7 kB / 0.5215 GB, free: 2.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.974e-05/0.1464, allocations: 108.1 kB / 0.5216 GB, free: 2.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.1464, allocations: 23.84 kB / 0.5216 GB, free: 2.312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.1464, allocations: 17.72 kB / 0.5216 GB, free: 2.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1466, allocations: 330.8 kB / 0.522 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.796e-05/0.1466, allocations: 19.98 kB / 0.522 GB, free: 1.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.499e-05/0.1467, allocations: 37.7 kB / 0.522 GB, free: 1.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.1468, allocations: 57.66 kB / 0.5221 GB, free: 1.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1468, allocations: 3.984 kB / 0.5221 GB, free: 1.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001875/0.147, allocations: 101.5 kB / 0.5222 GB, free: 1.723 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.147, allocations: 12.03 kB / 0.5222 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.147, allocations: 0 / 0.5222 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1471, allocations: 0 / 0.5222 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.28e-05/0.1471, allocations: 20.17 kB / 0.5222 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1472, allocations: 7.938 kB / 0.5222 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.1472, allocations: 3.938 kB / 0.5222 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1472, allocations: 4.156 kB / 0.5222 GB, free: 1.676 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.0001224/0.1473, allocations: 125.8 kB / 0.5223 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.1474, allocations: 11.95 kB / 0.5223 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/0.1476, allocations: 122.9 kB / 0.5225 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1476, allocations: 0 / 0.5225 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.1476, allocations: 7.938 kB / 0.5225 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1476, allocations: 0 / 0.5225 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.1481, allocations: 362.4 kB / 0.5228 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1481, allocations: 4 kB / 0.5228 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.15e-05/0.1481, allocations: 8 kB / 0.5228 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1481, allocations: 3.938 kB / 0.5228 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.1481, allocations: 12.39 kB / 0.5228 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1481, allocations: 0 / 0.5228 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1481, allocations: 8 kB / 0.5228 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.1484, allocations: 196.3 kB / 0.523 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.022e-05/0.1484, allocations: 19.78 kB / 0.5231 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.1484, allocations: 4 kB / 0.5231 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.1485, allocations: 11.98 kB / 0.5231 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.1485, allocations: 3.984 kB / 0.5231 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.1486, allocations: 4 kB / 0.5231 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.1487, allocations: 152.9 kB / 0.5232 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1487, allocations: 0 / 0.5232 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1489, allocations: 23.98 kB / 0.5232 GB, free: 0.5234 MB / 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 (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.002231/0.1512, allocations: 1.093 MB / 0.5243 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.1514, allocations: 67.89 kB / 0.5244 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1514, allocations: 0 / 0.5244 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.056e-05/0.1515, allocations: 20 kB / 0.5244 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.1518, allocations: 27.97 kB / 0.5244 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.1538, allocations: 1.662 MB / 0.526 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.1542, allocations: 0.7041 MB / 0.5267 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.358e-05/0.1542, allocations: 12.97 kB / 0.5267 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.742e-05/0.1543, allocations: 35.42 kB / 0.5268 GB, free: 12.8 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1543, allocations: 0 / 0.5268 GB, free: 12.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.1786, allocations: 3.643 MB / 0.5303 GB, free: 9.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.29, allocations: 17 kB / 0.5304 GB, free: 9.055 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.007651746971533] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.499414452002384 11.748500275 11.602241164 Calling exit ...