Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001825/0.001825, allocations: 119.5 kB / 18.5 MB, free: 4.574 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.002217/0.002217, allocations: 201.6 kB / 21.45 MB, free: 1.625 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.443/1.443, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2271/0.2271, allocations: 46.93 MB / 357.7 MB, free: 10.18 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.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test12",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.002335/0.002335, allocations: 87.84 kB / 0.4917 GB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1233, allocations: 66.04 MB / 0.5562 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003166/0.1264, allocations: 1.666 MB / 0.5578 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.1283, allocations: 1.217 MB / 0.559 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.056e-05/0.1283, allocations: 0 / 0.559 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.1285, allocations: 27.84 kB / 0.559 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.1288, allocations: 87.56 kB / 0.5591 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000471/0.1293, allocations: 179 kB / 0.5593 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.1295, allocations: 71.83 kB / 0.5593 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1296, allocations: 12 kB / 0.5594 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.462e-05/0.1297, allocations: 39.78 kB / 0.5594 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.1298, allocations: 39.83 kB / 0.5594 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.1298, allocations: 4 kB / 0.5594 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.13, allocations: 107.9 kB / 0.5595 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.223e-05/0.1301, allocations: 27.91 kB / 0.5596 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.1302, allocations: 27.8 kB / 0.5596 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.1304, allocations: 151.5 kB / 0.5597 GB, free: 1.859 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1305, allocations: 0 / 0.5597 GB, free: 1.859 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1305, allocations: 0 / 0.5597 GB, free: 1.859 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1305, allocations: 0 / 0.5597 GB, free: 1.859 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006056/0.1311, allocations: 430.6 kB / 0.5601 GB, free: 1.387 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.1311, allocations: 12.03 kB / 0.5602 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.1312, allocations: 34.75 kB / 0.5602 GB, free: 1.332 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.1312, allocations: 8.891 kB / 0.5602 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.1314, allocations: 204.2 kB / 0.5604 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.1315, allocations: 384 / 0.5604 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.1315, allocations: 4.375 kB / 0.5604 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.1317, allocations: 75.94 kB / 0.5605 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1317, allocations: 3.938 kB / 0.5605 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1317, allocations: 7.938 kB / 0.5605 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1317, allocations: 4 kB / 0.5605 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.1319, allocations: 39.95 kB / 0.5605 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.1323, allocations: 312.8 kB / 0.5608 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.1325, allocations: 46.55 kB / 0.5609 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.586e-05/0.1326, allocations: 40.8 kB / 0.5609 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.1326, allocations: 0 / 0.5609 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.1326, allocations: 30.56 kB / 0.5609 GB, free: 460 kB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1326, allocations: 0 / 0.5609 GB, free: 460 kB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008765/0.1335, allocations: 237.3 kB / 0.5612 GB, free: 216 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.1335, allocations: 77.11 kB / 0.5612 GB, free: 120 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.1337, allocations: 160.1 kB / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.1338, allocations: 25.7 kB / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.1338, allocations: 104 kB / 0.5615 GB, free: 15.81 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.1338, allocations: 23.8 kB / 0.5615 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.1339, allocations: 25.7 kB / 0.5616 GB, free: 15.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.134, allocations: 322.8 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.1342, allocations: 43.95 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.1343, allocations: 49.69 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.1346, allocations: 84.83 kB / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1346, allocations: 0 / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003173/0.1349, allocations: 129.5 kB / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1349, allocations: 4 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1349, allocations: 4 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1349, allocations: 0 / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.1351, allocations: 19.97 kB / 0.5622 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1351, allocations: 8 kB / 0.5622 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.896e-05/0.1351, allocations: 4 kB / 0.5622 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1352, allocations: 8.297 kB / 0.5622 GB, free: 15.07 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 (7): * Single equations (assignments): 7 * 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 9.942e-05/0.1353, allocations: 117.8 kB / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.1353, allocations: 15.91 kB / 0.5623 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.1357, allocations: 150.2 kB / 0.5625 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1357, allocations: 4 kB / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1357, allocations: 0 / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1357, allocations: 0 / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000624/0.1363, allocations: 418.3 kB / 0.5629 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1363, allocations: 0 / 0.5629 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.474e-05/0.1364, allocations: 27.98 kB / 0.5629 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1364, allocations: 0 / 0.5629 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1364, allocations: 4 kB / 0.5629 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1364, allocations: 3.938 kB / 0.5629 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.1364, allocations: 7.984 kB / 0.5629 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.1368, allocations: 215.4 kB / 0.5631 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/0.1369, allocations: 85.06 kB / 0.5632 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.1369, allocations: 4 kB / 0.5632 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.137, allocations: 19.86 kB / 0.5632 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.1371, allocations: 11.92 kB / 0.5632 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-06/0.1371, allocations: 7.938 kB / 0.5633 GB, free: 13.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001069/0.1372, allocations: 117.7 kB / 0.5634 GB, free: 13.78 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1372, allocations: 0 / 0.5634 GB, free: 13.78 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003005/0.1375, allocations: 39.88 kB / 0.5634 GB, free: 13.74 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.002284/0.1398, allocations: 1.144 MB / 0.5645 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003228/0.1401, allocations: 95.86 kB / 0.5646 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1401, allocations: 0 / 0.5646 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.1402, allocations: 39.97 kB / 0.5646 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.1406, allocations: 19.92 kB / 0.5647 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.1428, allocations: 1.651 MB / 0.5663 GB, free: 10.85 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.1431, allocations: 0.708 MB / 0.567 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.991e-05/0.1432, allocations: 32.7 kB / 0.567 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.164e-05/0.1433, allocations: 31.36 kB / 0.567 GB, free: 10.05 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1433, allocations: 0 / 0.567 GB, free: 10.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03315/0.1764, allocations: 3.631 MB / 0.5706 GB, free: 6.457 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.279/8.455, allocations: 8.062 kB / 0.5706 GB, free: 6.449 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.480784461833537] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y'] 8.579413203988224 8.605244351 8.470360371 Calling exit ...