Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.001792/0.001792, 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.002347/0.002347, 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.759/1.759, allocations: 207.6 MB / 234.6 MB, free: 9.977 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.2562/0.2562, allocations: 44.23 MB / 331.1 MB, free: 9.512 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.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",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.002194/0.002194, allocations: 71.91 kB / 468.3 MB, free: 4.441 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1371, allocations: 61.04 MB / 0.517 GB, free: 7.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003604/0.1407, allocations: 1.721 MB / 0.5187 GB, free: 5.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.1424, allocations: 0.8284 MB / 0.5195 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.409e-05/0.1425, allocations: 0 / 0.5195 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003667/0.1429, allocations: 43.75 kB / 0.5195 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.1431, allocations: 51.77 kB / 0.5196 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.1435, allocations: 91.75 kB / 0.5196 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.1437, allocations: 95.64 kB / 0.5197 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1438, allocations: 12.2 kB / 0.5197 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.1439, allocations: 43.78 kB / 0.5198 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.432e-05/0.144, allocations: 31.86 kB / 0.5198 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.144, allocations: 8 kB / 0.5198 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.1441, allocations: 43.97 kB / 0.5199 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.1442, allocations: 15.92 kB / 0.5199 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.522e-05/0.1442, allocations: 39.67 kB / 0.5199 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.1445, allocations: 111.5 kB / 0.52 GB, free: 4.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.1445, allocations: 4 kB / 0.52 GB, free: 4.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1445, allocations: 0 / 0.52 GB, free: 4.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1445, allocations: 0 / 0.52 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006912/0.1452, allocations: 333.7 kB / 0.5203 GB, free: 3.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.356e-05/0.1453, allocations: 11.97 kB / 0.5204 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.167e-05/0.1453, allocations: 8.188 kB / 0.5204 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.602e-05/0.1453, allocations: 38.73 kB / 0.5204 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.722e-05/0.1454, allocations: 12.84 kB / 0.5204 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/0.1458, allocations: 150.3 kB / 0.5206 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.1458, allocations: 4.125 kB / 0.5206 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.1459, allocations: 8 kB / 0.5206 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.1461, allocations: 53.66 kB / 0.5206 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.1461, allocations: 0 / 0.5206 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.1461, allocations: 8 kB / 0.5206 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1461, allocations: 0 / 0.5206 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.27e-05/0.1462, allocations: 19.98 kB / 0.5206 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005644/0.1468, allocations: 259.8 kB / 0.5209 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.147, allocations: 54.67 kB / 0.5209 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.34e-05/0.147, allocations: 20.86 kB / 0.521 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.1471, allocations: 0 / 0.521 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.1473, allocations: 67.34 kB / 0.521 GB, free: 2.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.1473, allocations: 0 / 0.521 GB, free: 2.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006037/0.1479, allocations: 177.4 kB / 0.5212 GB, free: 2.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.1479, allocations: 55.41 kB / 0.5213 GB, free: 2.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.1481, allocations: 194 kB / 0.5214 GB, free: 2.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.1481, allocations: 33.64 kB / 0.5215 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/0.1482, allocations: 104.1 kB / 0.5216 GB, free: 2.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.1482, allocations: 27.78 kB / 0.5216 GB, free: 2.328 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.1483, allocations: 21.7 kB / 0.5216 GB, free: 2.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1484, allocations: 326.8 kB / 0.5219 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.604e-05/0.1485, allocations: 16 kB / 0.5219 GB, free: 1.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.941e-05/0.1486, allocations: 33.7 kB / 0.522 GB, free: 1.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.1487, allocations: 65.7 kB / 0.522 GB, free: 1.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1487, allocations: 0 / 0.522 GB, free: 1.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001939/0.1489, allocations: 97.53 kB / 0.5221 GB, free: 1.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.1489, allocations: 8.188 kB / 0.5221 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1489, allocations: 0 / 0.5221 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1489, allocations: 7.922 kB / 0.5221 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.608e-05/0.149, allocations: 19.88 kB / 0.5222 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.149, allocations: 11.97 kB / 0.5222 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.635e-05/0.1491, allocations: 4 kB / 0.5222 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.1491, allocations: 4 kB / 0.5222 GB, free: 1.691 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.0001179/0.1492, allocations: 121.8 kB / 0.5223 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.1492, allocations: 7.953 kB / 0.5223 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.1495, allocations: 114.4 kB / 0.5224 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1495, allocations: 7.938 kB / 0.5224 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1495, allocations: 3.938 kB / 0.5224 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1495, allocations: 4 kB / 0.5224 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005091/0.15, allocations: 362.7 kB / 0.5228 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.15, allocations: 3.938 kB / 0.5228 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.631e-05/0.1501, allocations: 11.98 kB / 0.5228 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1501, allocations: 3.938 kB / 0.5228 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1501, allocations: 0 / 0.5228 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.1501, allocations: 4 kB / 0.5228 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1501, allocations: 0 / 0.5228 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.1504, allocations: 204.4 kB / 0.523 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.1504, allocations: 15.84 kB / 0.523 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.1504, allocations: 0 / 0.523 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.724e-05/0.1505, allocations: 12.36 kB / 0.523 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.1505, allocations: 3.938 kB / 0.523 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.1506, allocations: 7.984 kB / 0.523 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1507, allocations: 139.2 kB / 0.5232 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1507, allocations: 4 kB / 0.5232 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000294/0.151, allocations: 27.92 kB / 0.5232 GB, free: 0.5625 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.002189/0.1532, allocations: 1.09 MB / 0.5243 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.1534, allocations: 55.91 kB / 0.5243 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1534, allocations: 0 / 0.5243 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.574e-05/0.1535, allocations: 27.92 kB / 0.5243 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.1538, allocations: 44.02 kB / 0.5244 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.1558, allocations: 1.627 MB / 0.526 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.1561, allocations: 0.7079 MB / 0.5267 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.333e-05/0.1561, allocations: 16.97 kB / 0.5267 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.742e-05/0.1562, allocations: 35.42 kB / 0.5267 GB, free: 12.87 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1562, allocations: 0 / 0.5267 GB, free: 12.87 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.1793, allocations: 3.573 MB / 0.5302 GB, free: 9.199 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.37, allocations: 16.92 kB / 0.5302 GB, free: 9.184 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.055868953990284] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.60263404599391 11.834432091 11.687101651 Calling exit ...