Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.001829/0.001829, allocations: 118.3 kB / 18.5 MB, free: 4.562 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.002241/0.002241, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.541/1.541, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2164/0.2164, allocations: 44.9 MB / 355.8 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002021/0.002021, allocations: 71.89 kB / 0.4886 GB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1378, allocations: 65.42 MB / 0.5525 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003627/0.1414, allocations: 1.731 MB / 0.5542 GB, free: 8.285 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.1433, allocations: 1.035 MB / 0.5552 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.941e-05/0.1434, allocations: 7.875 kB / 0.5552 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.1438, allocations: 43.7 kB / 0.5553 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003382/0.1441, allocations: 91.59 kB / 0.5554 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.1443, allocations: 79.67 kB / 0.5554 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.1445, allocations: 99.75 kB / 0.5555 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.1447, allocations: 12.28 kB / 0.5555 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.1448, allocations: 51.7 kB / 0.5556 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.775e-05/0.1449, allocations: 31.8 kB / 0.5556 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1449, allocations: 8 kB / 0.5556 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.145, allocations: 43.98 kB / 0.5557 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.368e-05/0.1451, allocations: 19.91 kB / 0.5557 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.273e-05/0.1451, allocations: 39.73 kB / 0.5557 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.1454, allocations: 111.5 kB / 0.5558 GB, free: 6.617 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.1454, allocations: 4 kB / 0.5558 GB, free: 6.613 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1454, allocations: 0 / 0.5558 GB, free: 6.613 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1454, allocations: 0 / 0.5558 GB, free: 6.613 MB / 414.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.0006507/0.1461, allocations: 422.6 kB / 0.5562 GB, free: 6.152 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.1461, allocations: 12.03 kB / 0.5563 GB, free: 6.141 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.197e-05/0.1461, allocations: 4.188 kB / 0.5563 GB, free: 6.137 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.345e-05/0.1462, allocations: 30.75 kB / 0.5563 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.1462, allocations: 12.84 kB / 0.5563 GB, free: 6.086 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.1465, allocations: 214.4 kB / 0.5565 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.1465, allocations: 4.125 kB / 0.5565 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.1465, allocations: 8 kB / 0.5565 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1467, allocations: 61.59 kB / 0.5566 GB, free: 5.762 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1467, allocations: 4 kB / 0.5566 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1467, allocations: 0 / 0.5566 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1467, allocations: 0 / 0.5566 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.782e-05/0.1468, allocations: 19.98 kB / 0.5566 GB, free: 5.738 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.1472, allocations: 288.8 kB / 0.5569 GB, free: 5.406 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.1474, allocations: 58.61 kB / 0.5569 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.784e-05/0.1474, allocations: 24.84 kB / 0.5569 GB, free: 5.312 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.1474, allocations: 0 / 0.5569 GB, free: 5.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.1476, allocations: 63.39 kB / 0.557 GB, free: 5.238 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.1476, allocations: 4 kB / 0.557 GB, free: 5.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005734/0.1482, allocations: 173.3 kB / 0.5572 GB, free: 5.059 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.1483, allocations: 51.41 kB / 0.5572 GB, free: 4.996 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.1485, allocations: 189.6 kB / 0.5574 GB, free: 4.801 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.1485, allocations: 25.7 kB / 0.5574 GB, free: 4.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.261e-05/0.1486, allocations: 104.1 kB / 0.5575 GB, free: 4.664 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.1486, allocations: 31.77 kB / 0.5576 GB, free: 4.633 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.1486, allocations: 21.72 kB / 0.5576 GB, free: 4.605 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1488, allocations: 318.8 kB / 0.5579 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.047e-05/0.1489, allocations: 27.92 kB / 0.5579 GB, free: 4.258 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.587e-05/0.1489, allocations: 45.64 kB / 0.558 GB, free: 4.207 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.1491, allocations: 49.72 kB / 0.558 GB, free: 4.152 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1491, allocations: 0 / 0.558 GB, free: 4.152 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002078/0.1493, allocations: 109.5 kB / 0.5581 GB, free: 4.039 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1493, allocations: 4 kB / 0.5581 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1493, allocations: 0 / 0.5581 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1493, allocations: 3.938 kB / 0.5581 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.798e-05/0.1494, allocations: 24.02 kB / 0.5581 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1494, allocations: 3.938 kB / 0.5581 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.23e-05/0.1495, allocations: 0 / 0.5581 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.1495, allocations: 8 kB / 0.5582 GB, free: 3.996 MB / 414.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.0001235/0.1496, allocations: 123.9 kB / 0.5583 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.1496, allocations: 11.94 kB / 0.5583 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.1497, allocations: 17.78 kB / 0.5583 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1497, allocations: 0 / 0.5583 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1497, allocations: 3.938 kB / 0.5583 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1497, allocations: 4 kB / 0.5583 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004862/0.1502, allocations: 403.3 kB / 0.5587 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1502, allocations: 0 / 0.5587 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.299e-05/0.1502, allocations: 8 kB / 0.5587 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.1502, allocations: 3.938 kB / 0.5587 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.1502, allocations: 0 / 0.5587 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1502, allocations: 4 kB / 0.5587 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1502, allocations: 0 / 0.5587 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.1505, allocations: 200.6 kB / 0.5589 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.996e-05/0.1505, allocations: 100.9 kB / 0.559 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.1506, allocations: 4 kB / 0.559 GB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.1506, allocations: 4 kB / 0.559 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.1507, allocations: 3.984 kB / 0.559 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.1507, allocations: 4 kB / 0.559 GB, free: 3.008 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.1508, allocations: 141.8 kB / 0.5591 GB, free: 2.871 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1508, allocations: 0 / 0.5591 GB, free: 2.871 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1511, allocations: 27.92 kB / 0.5592 GB, free: 2.844 MB / 414.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.002617/0.1537, allocations: 1.098 MB / 0.5602 GB, free: 1.906 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.1539, allocations: 51.97 kB / 0.5603 GB, free: 1.855 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1539, allocations: 0 / 0.5603 GB, free: 1.855 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.551e-05/0.154, allocations: 27.92 kB / 0.5603 GB, free: 1.828 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.1543, allocations: 42.27 kB / 0.5604 GB, free: 1.789 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.1563, allocations: 1.644 MB / 0.562 GB, free: 52 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.1567, allocations: 0.7041 MB / 0.5627 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.229e-05/0.1567, allocations: 25.17 kB / 0.5627 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.902e-05/0.1568, allocations: 31.42 kB / 0.5627 GB, free: 15.27 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1568, allocations: 0 / 0.5627 GB, free: 15.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01831/0.1751, allocations: 3.464 MB / 0.5661 GB, free: 11.88 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.478/8.653, allocations: 15.86 kB / 0.5661 GB, free: 11.87 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.704761658969801] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.838418527971953 8.866079018 8.715569407 Calling exit ...