Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.001737/0.001737, 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.001615/0.001615, allocations: 209.7 kB / 23.79 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.673/1.673, 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.2594/0.2594, 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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",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.002427/0.002427, allocations: 67.91 kB / 468.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1303, allocations: 61.04 MB / 0.517 GB, free: 7.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003491/0.1338, allocations: 1.72 MB / 0.5187 GB, free: 5.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.1352, allocations: 0.8284 MB / 0.5195 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.72e-05/0.1353, allocations: 7.938 kB / 0.5195 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000328/0.1356, allocations: 39.81 kB / 0.5195 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.1358, allocations: 59.7 kB / 0.5196 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.1361, allocations: 79.77 kB / 0.5196 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.1363, allocations: 99.69 kB / 0.5197 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.59e-05/0.1363, allocations: 16.2 kB / 0.5197 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.1364, allocations: 47.72 kB / 0.5198 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.291e-05/0.1365, allocations: 31.84 kB / 0.5198 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.1365, allocations: 4 kB / 0.5198 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.728e-05/0.1366, allocations: 39.98 kB / 0.5199 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.364e-05/0.1367, allocations: 19.92 kB / 0.5199 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.1367, allocations: 35.73 kB / 0.5199 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.1369, allocations: 119.5 kB / 0.52 GB, free: 4.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.137, allocations: 0 / 0.52 GB, free: 4.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.137, allocations: 0 / 0.52 GB, free: 4.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.137, allocations: 0 / 0.52 GB, free: 4.102 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.0005125/0.1375, allocations: 337.7 kB / 0.5204 GB, free: 3.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.1375, allocations: 8.031 kB / 0.5204 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.41e-05/0.1375, allocations: 8.125 kB / 0.5204 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.308e-05/0.1376, allocations: 30.75 kB / 0.5204 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.1376, allocations: 16.84 kB / 0.5204 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.1378, allocations: 146.3 kB / 0.5206 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1379, allocations: 8.125 kB / 0.5206 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.1379, allocations: 0 / 0.5206 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.138, allocations: 57.61 kB / 0.5206 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.138, allocations: 4 kB / 0.5206 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.138, allocations: 4 kB / 0.5206 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.138, allocations: 0 / 0.5206 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.373e-05/0.1381, allocations: 15.98 kB / 0.5206 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.1385, allocations: 263.9 kB / 0.5209 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.1387, allocations: 54.62 kB / 0.5209 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.381e-05/0.1387, allocations: 24.84 kB / 0.521 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.1387, allocations: 0 / 0.521 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.1389, allocations: 71.34 kB / 0.521 GB, free: 2.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1389, allocations: 0 / 0.521 GB, free: 2.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005306/0.1394, allocations: 173.6 kB / 0.5212 GB, free: 2.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.1395, allocations: 51.41 kB / 0.5213 GB, free: 2.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.1397, allocations: 198 kB / 0.5214 GB, free: 2.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.1397, allocations: 33.64 kB / 0.5215 GB, free: 2.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.1397, allocations: 96.14 kB / 0.5216 GB, free: 2.359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.1398, allocations: 27.78 kB / 0.5216 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.1398, allocations: 25.72 kB / 0.5216 GB, free: 2.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.14, allocations: 322.8 kB / 0.5219 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.951e-05/0.14, allocations: 19.98 kB / 0.5219 GB, free: 1.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.019e-05/0.1401, allocations: 41.64 kB / 0.522 GB, free: 1.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.1402, allocations: 57.7 kB / 0.522 GB, free: 1.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1402, allocations: 0 / 0.522 GB, free: 1.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001911/0.1404, allocations: 109.5 kB / 0.5221 GB, free: 1.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1404, allocations: 4 kB / 0.5221 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1404, allocations: 0 / 0.5221 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1404, allocations: 4 kB / 0.5221 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.226e-05/0.1405, allocations: 15.98 kB / 0.5222 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.1405, allocations: 7.875 kB / 0.5222 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.1406, allocations: 8.031 kB / 0.5222 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1406, allocations: 0 / 0.5222 GB, free: 1.695 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.0001185/0.1407, allocations: 133.8 kB / 0.5223 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.1407, allocations: 7.953 kB / 0.5223 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.141, allocations: 110.5 kB / 0.5224 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.141, allocations: 0 / 0.5224 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.141, allocations: 3.938 kB / 0.5224 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.141, allocations: 4 kB / 0.5224 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004534/0.1414, allocations: 366.4 kB / 0.5228 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1414, allocations: 0 / 0.5228 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.481e-05/0.1415, allocations: 8 kB / 0.5228 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1415, allocations: 3.938 kB / 0.5228 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.1415, allocations: 11.98 kB / 0.5228 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1415, allocations: 3.938 kB / 0.5228 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1415, allocations: 0 / 0.5228 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.1417, allocations: 196.4 kB / 0.523 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.997e-05/0.1418, allocations: 15.84 kB / 0.523 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.1418, allocations: 8 kB / 0.523 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.846e-05/0.1419, allocations: 3.984 kB / 0.523 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.1419, allocations: 7.984 kB / 0.523 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.1419, allocations: 4 kB / 0.523 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.142, allocations: 143.4 kB / 0.5232 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.142, allocations: 4 kB / 0.5232 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.1423, allocations: 27.88 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.002257/0.1446, allocations: 1.098 MB / 0.5243 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.1447, allocations: 51.92 kB / 0.5243 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1447, allocations: 0 / 0.5243 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.243e-05/0.1448, allocations: 27.98 kB / 0.5243 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.1452, allocations: 40.27 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.00192/0.1471, allocations: 1.63 MB / 0.526 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.1474, allocations: 0.7118 MB / 0.5267 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.522e-05/0.1475, allocations: 16.97 kB / 0.5267 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.405e-05/0.1476, allocations: 31.42 kB / 0.5267 GB, free: 12.87 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1476, allocations: 0 / 0.5267 GB, free: 12.87 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.1714, allocations: 3.586 MB / 0.5302 GB, free: 9.188 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.35, allocations: 4.938 kB / 0.5302 GB, free: 9.184 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.99283231899608] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.559682664985303 11.834340679 11.692694207 Calling exit ...