Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.001848/0.001848, 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.001898/0.001898, allocations: 214 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.815/1.815, allocations: 207.7 MB / 234.6 MB, free: 9.777 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.2534/0.2534, allocations: 44.26 MB / 331.1 MB, free: 9.316 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.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",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.002209/0.002209, allocations: 73.61 kB / 468.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1425, allocations: 61.04 MB / 0.517 GB, free: 7.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003478/0.146, allocations: 1.647 MB / 0.5186 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.1477, allocations: 0.7584 MB / 0.5193 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.171e-05/0.1477, allocations: 0 / 0.5193 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.1481, allocations: 51.81 kB / 0.5194 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.1483, allocations: 67.62 kB / 0.5194 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.1486, allocations: 91.75 kB / 0.5195 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.1488, allocations: 87.77 kB / 0.5196 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.689e-05/0.1488, allocations: 8.266 kB / 0.5196 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.026e-05/0.1489, allocations: 43.78 kB / 0.5197 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.277e-05/0.149, allocations: 23.86 kB / 0.5197 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.149, allocations: 4 kB / 0.5197 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.217e-05/0.1491, allocations: 31.98 kB / 0.5197 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.485e-05/0.1492, allocations: 35.78 kB / 0.5197 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.09e-05/0.1492, allocations: 27.8 kB / 0.5198 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.1494, allocations: 119.4 kB / 0.5199 GB, free: 4.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1494, allocations: 3.938 kB / 0.5199 GB, free: 4.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1494, allocations: 4 kB / 0.5199 GB, free: 4.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1494, allocations: 0 / 0.5199 GB, free: 4.109 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005802/0.15, allocations: 353.5 kB / 0.5202 GB, free: 3.734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1501, allocations: 8.031 kB / 0.5202 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.289e-05/0.1501, allocations: 192 / 0.5202 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.458e-05/0.1501, allocations: 38.75 kB / 0.5203 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.1502, allocations: 16.78 kB / 0.5203 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.1505, allocations: 165.9 kB / 0.5205 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1505, allocations: 8.125 kB / 0.5205 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.1505, allocations: 0 / 0.5205 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.1507, allocations: 53.67 kB / 0.5205 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1507, allocations: 0 / 0.5205 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.1507, allocations: 0 / 0.5205 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1507, allocations: 3.984 kB / 0.5205 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.721e-05/0.1508, allocations: 15.94 kB / 0.5205 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002337/0.151, allocations: 160.8 kB / 0.5207 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.1512, allocations: 58.48 kB / 0.5207 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.247e-05/0.1513, allocations: 20.84 kB / 0.5208 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.1513, allocations: 4 kB / 0.5208 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.1514, allocations: 67.39 kB / 0.5208 GB, free: 3.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.1514, allocations: 0 / 0.5208 GB, free: 3.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003277/0.1518, allocations: 101.5 kB / 0.5209 GB, free: 2.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.1518, allocations: 55.41 kB / 0.521 GB, free: 2.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.1521, allocations: 263.5 kB / 0.5212 GB, free: 2.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.1521, allocations: 25.7 kB / 0.5213 GB, free: 2.543 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/0.1522, allocations: 112.1 kB / 0.5214 GB, free: 2.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.1523, allocations: 11.94 kB / 0.5214 GB, free: 2.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.1523, allocations: 17.72 kB / 0.5214 GB, free: 2.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1524, allocations: 330.8 kB / 0.5217 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.665e-05/0.1525, allocations: 19.98 kB / 0.5217 GB, free: 2.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.314e-05/0.1526, allocations: 25.7 kB / 0.5217 GB, free: 2.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.1527, allocations: 53.58 kB / 0.5218 GB, free: 1.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1527, allocations: 0 / 0.5218 GB, free: 1.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001773/0.1529, allocations: 85.59 kB / 0.5219 GB, free: 1.863 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1529, allocations: 4 kB / 0.5219 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1529, allocations: 4.312 kB / 0.5219 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1529, allocations: 4.031 kB / 0.5219 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.624e-05/0.153, allocations: 15.92 kB / 0.5219 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.153, allocations: 4 kB / 0.5219 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.366e-05/0.153, allocations: 11.89 kB / 0.5219 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1531, allocations: 4 kB / 0.5219 GB, free: 1.816 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 (7): * Single equations (assignments): 7 * 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.0001249/0.1532, allocations: 141.7 kB / 0.5221 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.1532, allocations: 15.91 kB / 0.5221 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.1534, allocations: 102.7 kB / 0.5222 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.1534, allocations: 4 kB / 0.5222 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1535, allocations: 0 / 0.5222 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.1535, allocations: 4 kB / 0.5222 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.1536, allocations: 160.7 kB / 0.5223 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1536, allocations: 4 kB / 0.5223 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.1537, allocations: 4 kB / 0.5223 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1537, allocations: 3.938 kB / 0.5223 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.1537, allocations: 0 / 0.5223 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1537, allocations: 0 / 0.5223 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1537, allocations: 0 / 0.5223 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.1539, allocations: 124.9 kB / 0.5225 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.336e-05/0.1539, allocations: 15.91 kB / 0.5225 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.1539, allocations: 4 kB / 0.5225 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.68e-05/0.154, allocations: 4 kB / 0.5225 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.154, allocations: 7.922 kB / 0.5225 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.154, allocations: 4 kB / 0.5225 GB, free: 1.152 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001868/0.1542, allocations: 199.3 kB / 0.5227 GB, free: 0.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1542, allocations: 0 / 0.5227 GB, free: 0.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002206/0.1544, allocations: 23.98 kB / 0.5227 GB, free: 0.9336 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.00211/0.1565, allocations: 0.9857 MB / 0.5237 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001796/0.1567, allocations: 43.92 kB / 0.5237 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1567, allocations: 0 / 0.5237 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.109e-05/0.1568, allocations: 23.98 kB / 0.5237 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.1571, allocations: 23.98 kB / 0.5238 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.1591, allocations: 1.674 MB / 0.5254 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.988e-05/0.1592, allocations: 96.73 kB / 0.5255 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.031e-05/0.1593, allocations: 16.48 kB / 0.5255 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.329e-05/0.1593, allocations: 39.42 kB / 0.5255 GB, free: 13.94 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1593, allocations: 0 / 0.5255 GB, free: 13.94 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.1832, allocations: 3.77 MB / 0.5292 GB, free: 10.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.5, allocations: 4.062 kB / 0.5292 GB, free: 10.06 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.282469358993694] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.711146706948057 11.981241924 11.828763842 Calling exit ...