Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001276/0.001276, allocations: 120 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001328/0.001328, allocations: 213.6 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.592/1.592, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2218/0.2218, allocations: 46.92 MB / 357.7 MB, free: 10.21 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003494/0.003494, allocations: 87.86 kB / 0.4917 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1214, allocations: 66.04 MB / 0.5562 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003247/0.1246, allocations: 1.66 MB / 0.5578 GB, free: 3.867 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.1257, allocations: 0.5606 MB / 0.5584 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.593e-05/0.1258, allocations: 3.938 kB / 0.5584 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.126, allocations: 27.84 kB / 0.5584 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.1263, allocations: 83.61 kB / 0.5585 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.1267, allocations: 119.2 kB / 0.5586 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.1269, allocations: 95.73 kB / 0.5587 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.127, allocations: 19.98 kB / 0.5587 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.21e-05/0.1271, allocations: 39.86 kB / 0.5587 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.65e-05/0.1272, allocations: 43.77 kB / 0.5588 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.1272, allocations: 4 kB / 0.5588 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.1273, allocations: 51.92 kB / 0.5588 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.16e-05/0.1273, allocations: 19.92 kB / 0.5588 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.286e-05/0.1274, allocations: 39.67 kB / 0.5589 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.1276, allocations: 111.5 kB / 0.559 GB, free: 2.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1276, allocations: 4 kB / 0.559 GB, free: 2.656 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1276, allocations: 0 / 0.559 GB, free: 2.656 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.1276, allocations: 0 / 0.559 GB, free: 2.656 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005191/0.1281, allocations: 414.8 kB / 0.5594 GB, free: 2.199 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1282, allocations: 12.03 kB / 0.5594 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.1282, allocations: 38.73 kB / 0.5594 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.1283, allocations: 12.84 kB / 0.5595 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.1285, allocations: 204.1 kB / 0.5596 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1285, allocations: 4.375 kB / 0.5596 GB, free: 1.887 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.1285, allocations: 8.375 kB / 0.5597 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1287, allocations: 70.22 kB / 0.5597 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1287, allocations: 11.94 kB / 0.5597 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.1287, allocations: 0 / 0.5597 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1287, allocations: 0 / 0.5597 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.1288, allocations: 43.91 kB / 0.5598 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.1293, allocations: 336.7 kB / 0.5601 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.1295, allocations: 66.48 kB / 0.5602 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.907e-05/0.1295, allocations: 20.86 kB / 0.5602 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.1296, allocations: 11.97 kB / 0.5602 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.1296, allocations: 30.56 kB / 0.5602 GB, free: 1.223 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.1296, allocations: 0 / 0.5602 GB, free: 1.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001126/0.1307, allocations: 325.2 kB / 0.5605 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.1308, allocations: 59.34 kB / 0.5606 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.1309, allocations: 157.8 kB / 0.5607 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.1309, allocations: 29.7 kB / 0.5608 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.131, allocations: 104.1 kB / 0.5609 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.1311, allocations: 39.64 kB / 0.5609 GB, free: 496 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.1311, allocations: 29.72 kB / 0.5609 GB, free: 460 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1313, allocations: 322.8 kB / 0.5612 GB, free: 128 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.1314, allocations: 52.03 kB / 0.5613 GB, free: 76 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.1315, allocations: 43.97 kB / 0.5613 GB, free: 32 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.1317, allocations: 112.4 kB / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1317, allocations: 3.984 kB / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000296/0.132, allocations: 149.5 kB / 0.5616 GB, free: 15.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.132, allocations: 11.94 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.132, allocations: 4.641 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.132, allocations: 0 / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.1322, allocations: 35.92 kB / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1322, allocations: 3.938 kB / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.1322, allocations: 4 kB / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.1322, allocations: 7.984 kB / 0.5617 GB, free: 15.7 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.000103/0.1323, allocations: 125.8 kB / 0.5618 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.1324, allocations: 7.953 kB / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003917/0.1328, allocations: 194.2 kB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.1328, allocations: 7.984 kB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1328, allocations: 0 / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1328, allocations: 0 / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006659/0.1335, allocations: 491.1 kB / 0.5624 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1335, allocations: 0 / 0.5624 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.1336, allocations: 27.98 kB / 0.5625 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1336, allocations: 0 / 0.5625 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1336, allocations: 7.984 kB / 0.5625 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1336, allocations: 3.938 kB / 0.5625 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1336, allocations: 3.938 kB / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.1339, allocations: 264.4 kB / 0.5627 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.134, allocations: 81.06 kB / 0.5628 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.134, allocations: 8 kB / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.1341, allocations: 7.984 kB / 0.5628 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.1341, allocations: 7.984 kB / 0.5628 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.1341, allocations: 4 kB / 0.5628 GB, free: 14.37 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.1342, allocations: 138.4 kB / 0.563 GB, free: 14.24 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1342, allocations: 0 / 0.563 GB, free: 14.24 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003061/0.1345, allocations: 27.94 kB / 0.563 GB, free: 14.21 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.00223/0.1368, allocations: 1.131 MB / 0.5641 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003144/0.1371, allocations: 111.9 kB / 0.5642 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1371, allocations: 0 / 0.5642 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.1372, allocations: 59.91 kB / 0.5643 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.1376, allocations: 23.92 kB / 0.5643 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.1399, allocations: 1.745 MB / 0.566 GB, free: 11.19 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.1402, allocations: 0.7157 MB / 0.5667 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.902e-05/0.1403, allocations: 24.53 kB / 0.5667 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.3e-05/0.1404, allocations: 39.86 kB / 0.5668 GB, free: 10.38 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1404, allocations: 0 / 0.5668 GB, free: 10.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.1643, allocations: 3.314 MB / 0.57 GB, free: 7.133 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.019/8.183, allocations: 4.922 kB / 0.57 GB, free: 7.133 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.321455187164247] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd_t_new2.y', 'clock.y', 'd2_t_new.y', 'd2_t_new2.y'] 8.307382332161069 8.332861658 8.201148534 Calling exit ...