Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0018/0.0018, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.002185/0.002185, allocations: 218.9 kB / 21.46 MB, free: 1.586 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.476/1.476, allocations: 230.6 MB / 254.8 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2425/0.2425, allocations: 46.92 MB / 357.8 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 67.91 kB / 0.4917 GB, free: 7.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1192, allocations: 65.99 MB / 0.5561 GB, free: 5.719 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.00361/0.1228, allocations: 1.733 MB / 0.5578 GB, free: 3.973 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.1248, allocations: 1.038 MB / 0.5589 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1249, allocations: 0 / 0.5589 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.1251, allocations: 43.77 kB / 0.5589 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.1255, allocations: 95.53 kB / 0.559 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.1257, allocations: 79.67 kB / 0.5591 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.126, allocations: 107.7 kB / 0.5592 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.325e-05/0.1261, allocations: 12 kB / 0.5592 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.1262, allocations: 47.78 kB / 0.5592 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.12e-05/0.1262, allocations: 31.78 kB / 0.5593 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.1263, allocations: 4 kB / 0.5593 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.1264, allocations: 43.98 kB / 0.5593 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.033e-05/0.1264, allocations: 19.92 kB / 0.5593 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.497e-05/0.1265, allocations: 39.73 kB / 0.5594 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.1267, allocations: 119.4 kB / 0.5595 GB, free: 2.297 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1267, allocations: 0 / 0.5595 GB, free: 2.297 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1267, allocations: 0 / 0.5595 GB, free: 2.297 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.1267, allocations: 4 kB / 0.5595 GB, free: 2.293 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.1274, allocations: 426.6 kB / 0.5599 GB, free: 1.828 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1274, allocations: 8.031 kB / 0.5599 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.379e-05/0.1274, allocations: 192 / 0.5599 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.1275, allocations: 38.73 kB / 0.5599 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.1275, allocations: 12.89 kB / 0.5599 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.1279, allocations: 211.2 kB / 0.5601 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.1279, allocations: 8.125 kB / 0.5601 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.128, allocations: 8 kB / 0.5602 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.1281, allocations: 49.67 kB / 0.5602 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1281, allocations: 3.984 kB / 0.5602 GB, free: 1.445 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1282, allocations: 4 kB / 0.5602 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1282, allocations: 0 / 0.5602 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.124e-05/0.1282, allocations: 27.86 kB / 0.5602 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.1287, allocations: 288.8 kB / 0.5605 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.1289, allocations: 58.67 kB / 0.5606 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.505e-05/0.1289, allocations: 16.86 kB / 0.5606 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.1289, allocations: 7.922 kB / 0.5606 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.1291, allocations: 63.39 kB / 0.5607 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1291, allocations: 4 kB / 0.5607 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005787/0.1297, allocations: 177.7 kB / 0.5608 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.1297, allocations: 55.39 kB / 0.5609 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.1299, allocations: 202.2 kB / 0.5611 GB, free: 468 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.1299, allocations: 29.7 kB / 0.5611 GB, free: 432 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.13, allocations: 96.14 kB / 0.5612 GB, free: 332 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.13, allocations: 27.78 kB / 0.5612 GB, free: 304 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.1301, allocations: 21.72 kB / 0.5612 GB, free: 276 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1303, allocations: 330.8 kB / 0.5616 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.353e-05/0.1303, allocations: 20.05 kB / 0.5616 GB, free: 15.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.1304, allocations: 37.7 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.1306, allocations: 65.62 kB / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1306, allocations: 0 / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002025/0.1308, allocations: 101.5 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1308, allocations: 9.906 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1308, allocations: 0 / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1308, allocations: 4 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.113e-05/0.1309, allocations: 15.98 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1309, allocations: 3.938 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.03e-05/0.131, allocations: 8 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.131, allocations: 0 / 0.5618 GB, free: 15.66 MB / 430.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.0001236/0.1311, allocations: 132 kB / 0.5619 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.1311, allocations: 11.91 kB / 0.5619 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.722e-05/0.1312, allocations: 21.39 kB / 0.562 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1312, allocations: 4 kB / 0.562 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.1312, allocations: 3.938 kB / 0.562 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1312, allocations: 3.938 kB / 0.562 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005281/0.1317, allocations: 387.4 kB / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1317, allocations: 0 / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-05/0.1317, allocations: 15.88 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.1318, allocations: 7.922 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.1318, allocations: 4.031 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1318, allocations: 4 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1318, allocations: 0 / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.132, allocations: 196.3 kB / 0.5626 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-05/0.1321, allocations: 92.95 kB / 0.5627 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.1321, allocations: 0 / 0.5627 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-05/0.1322, allocations: 11.98 kB / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.1322, allocations: 7.938 kB / 0.5627 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.1323, allocations: 4.188 kB / 0.5627 GB, free: 14.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.1324, allocations: 148.2 kB / 0.5628 GB, free: 14.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1324, allocations: 3.938 kB / 0.5628 GB, free: 14.51 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.1327, allocations: 31.92 kB / 0.5629 GB, free: 14.48 MB / 430.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.002245/0.1349, allocations: 1.089 MB / 0.5639 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.1351, allocations: 59.91 kB / 0.564 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1351, allocations: 0 / 0.564 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.005e-05/0.1352, allocations: 27.94 kB / 0.564 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.1356, allocations: 38.53 kB / 0.564 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.1376, allocations: 1.67 MB / 0.5657 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.138, allocations: 0.7041 MB / 0.5664 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.337e-05/0.138, allocations: 17.17 kB / 0.5664 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.074e-05/0.1381, allocations: 35.42 kB / 0.5664 GB, free: 10.88 MB / 430.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1381, allocations: 0 / 0.5664 GB, free: 10.88 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.1584, allocations: 3.514 MB / 0.5698 GB, free: 7.445 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.433/8.592, allocations: 10.83 kB / 0.5698 GB, free: 7.438 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.73105536797084] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.811178984004073 8.827213874 8.697608189 Calling exit ...