Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001303/0.001303, 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.001433/0.001433, allocations: 215.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.465/1.465, 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.229/0.229, allocations: 44.26 MB / 331.1 MB, free: 9.301 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.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",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.002246/0.002246, allocations: 67.91 kB / 468.3 MB, free: 4.297 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1294, allocations: 61.05 MB / 0.517 GB, free: 7.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003721/0.1332, allocations: 1.682 MB / 0.5186 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.1347, allocations: 0.7817 MB / 0.5194 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.1348, allocations: 8 kB / 0.5194 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.1351, allocations: 43.75 kB / 0.5194 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.1354, allocations: 59.75 kB / 0.5195 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.1357, allocations: 95.75 kB / 0.5196 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.136, allocations: 87.77 kB / 0.5197 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1361, allocations: 20.09 kB / 0.5197 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.838e-05/0.1362, allocations: 35.91 kB / 0.5197 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.1363, allocations: 43.72 kB / 0.5198 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.1363, allocations: 4 kB / 0.5198 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.1364, allocations: 43.98 kB / 0.5198 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.113e-05/0.1365, allocations: 23.91 kB / 0.5198 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.091e-05/0.1365, allocations: 23.81 kB / 0.5198 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.1368, allocations: 127.4 kB / 0.52 GB, free: 4.031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1368, allocations: 3.938 kB / 0.52 GB, free: 4.027 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1368, allocations: 0 / 0.52 GB, free: 4.027 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1368, allocations: 7.938 kB / 0.52 GB, free: 4.02 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.0006457/0.1375, allocations: 349.6 kB / 0.5203 GB, free: 3.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.1375, allocations: 8.031 kB / 0.5203 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.018e-05/0.1375, allocations: 4.188 kB / 0.5203 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.484e-05/0.1376, allocations: 30.75 kB / 0.5204 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.582e-05/0.1376, allocations: 12.84 kB / 0.5204 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.138, allocations: 158.3 kB / 0.5205 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.138, allocations: 8.125 kB / 0.5205 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.138, allocations: 0 / 0.5205 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.1382, allocations: 61.59 kB / 0.5206 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.1382, allocations: 4 kB / 0.5206 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1382, allocations: 4 kB / 0.5206 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.1382, allocations: 0 / 0.5206 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.1383, allocations: 19.98 kB / 0.5206 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.1387, allocations: 256 kB / 0.5209 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.1389, allocations: 58.61 kB / 0.5209 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.236e-05/0.139, allocations: 20.84 kB / 0.5209 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.139, allocations: 0 / 0.5209 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.1392, allocations: 67.39 kB / 0.521 GB, free: 2.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1392, allocations: 7.938 kB / 0.521 GB, free: 2.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006554/0.1399, allocations: 185.3 kB / 0.5212 GB, free: 2.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.1399, allocations: 55.41 kB / 0.5212 GB, free: 2.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.1402, allocations: 234.7 kB / 0.5215 GB, free: 2.336 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1402, allocations: 25.7 kB / 0.5215 GB, free: 2.305 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.925e-05/0.1403, allocations: 108.1 kB / 0.5216 GB, free: 2.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.1403, allocations: 27.83 kB / 0.5216 GB, free: 2.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.1404, allocations: 21.72 kB / 0.5216 GB, free: 2.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1405, allocations: 326.8 kB / 0.5219 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.384e-05/0.1406, allocations: 19.98 kB / 0.522 GB, free: 1.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.721e-05/0.1407, allocations: 45.64 kB / 0.522 GB, free: 1.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.1408, allocations: 61.7 kB / 0.5221 GB, free: 1.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1408, allocations: 0 / 0.5221 GB, free: 1.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002136/0.141, allocations: 105.6 kB / 0.5222 GB, free: 1.566 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.141, allocations: 4 kB / 0.5222 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.141, allocations: 4.062 kB / 0.5222 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1411, allocations: 0 / 0.5222 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.591e-05/0.1412, allocations: 16.19 kB / 0.5222 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.1412, allocations: 11.95 kB / 0.5222 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.1412, allocations: 3.938 kB / 0.5222 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1412, allocations: 7.984 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.0001243/0.1413, allocations: 129.8 kB / 0.5223 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.1414, allocations: 15.94 kB / 0.5223 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.1416, allocations: 126.9 kB / 0.5225 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1417, allocations: 4 kB / 0.5225 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1417, allocations: 3.938 kB / 0.5225 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1417, allocations: 0 / 0.5225 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/0.1422, allocations: 374.4 kB / 0.5228 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1422, allocations: 0 / 0.5228 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.16e-05/0.1423, allocations: 8 kB / 0.5228 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.1423, allocations: 7.938 kB / 0.5228 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1423, allocations: 3.984 kB / 0.5229 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1423, allocations: 0 / 0.5229 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.1423, allocations: 4 kB / 0.5229 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.1426, allocations: 216.2 kB / 0.5231 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.279e-05/0.1426, allocations: 15.83 kB / 0.5231 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.1426, allocations: 3.938 kB / 0.5231 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.1427, allocations: 16.02 kB / 0.5231 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.1427, allocations: 384 / 0.5231 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.1427, allocations: 7.984 kB / 0.5231 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001598/0.1429, allocations: 172.3 kB / 0.5233 GB, free: 352 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1429, allocations: 0 / 0.5233 GB, free: 352 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.1432, allocations: 27.98 kB / 0.5233 GB, free: 324 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.00248/0.1456, allocations: 1.138 MB / 0.5244 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.1458, allocations: 59.91 kB / 0.5245 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1458, allocations: 4 kB / 0.5245 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.79e-05/0.1459, allocations: 27.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.0003639/0.1463, allocations: 24.3 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.00208/0.1484, allocations: 1.755 MB / 0.5262 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.1485, allocations: 96.73 kB / 0.5263 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.634e-05/0.1485, allocations: 16.48 kB / 0.5263 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.559e-05/0.1486, allocations: 31.42 kB / 0.5264 GB, free: 13.08 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.1486, allocations: 4 kB / 0.5264 GB, free: 13.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.1741, allocations: 3.899 MB / 0.5302 GB, free: 9.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.74, allocations: 4.062 kB / 0.5302 GB, free: 9.066 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.914537834003568] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.96052811597474 12.142678113 12.00312202 Calling exit ...