Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.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.00152/0.00152, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.001734/0.001734, allocations: 205 kB / 21.45 MB, free: 1.629 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.481/1.481, 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.2347/0.2347, allocations: 46.93 MB / 357.7 MB, free: 10.23 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.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test5",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.002294/0.002294, allocations: 87.86 kB / 0.4917 GB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1303, allocations: 66.03 MB / 0.5562 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003034/0.1333, allocations: 1.622 MB / 0.5578 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1344, allocations: 0.5566 MB / 0.5583 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.414e-05/0.1344, allocations: 3.938 kB / 0.5583 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.1347, allocations: 91.75 kB / 0.5584 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.135, allocations: 115.5 kB / 0.5585 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.1353, allocations: 111.2 kB / 0.5586 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.1355, allocations: 87.75 kB / 0.5587 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.401e-05/0.1356, allocations: 11.98 kB / 0.5587 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.581e-05/0.1356, allocations: 43.78 kB / 0.5588 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1357, allocations: 59.8 kB / 0.5588 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.1357, allocations: 4 kB / 0.5588 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.501e-05/0.1358, allocations: 43.98 kB / 0.5589 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.1359, allocations: 23.92 kB / 0.5589 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.811e-05/0.1359, allocations: 35.73 kB / 0.5589 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.1361, allocations: 115.4 kB / 0.559 GB, free: 2.656 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1361, allocations: 4 kB / 0.559 GB, free: 2.652 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1361, allocations: 7.875 kB / 0.559 GB, free: 2.645 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1361, allocations: 0 / 0.559 GB, free: 2.645 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.0005189/0.1367, allocations: 422.7 kB / 0.5594 GB, free: 2.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1367, allocations: 8.031 kB / 0.5594 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.216e-05/0.1367, allocations: 38.69 kB / 0.5595 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.1368, allocations: 12.84 kB / 0.5595 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.137, allocations: 200.2 kB / 0.5597 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-06/0.137, allocations: 4.375 kB / 0.5597 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.137, allocations: 8.328 kB / 0.5597 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.1372, allocations: 62.16 kB / 0.5598 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1372, allocations: 3.938 kB / 0.5598 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.1372, allocations: 0 / 0.5598 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1372, allocations: 0 / 0.5598 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.1373, allocations: 31.97 kB / 0.5598 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.1377, allocations: 304.8 kB / 0.5601 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.1378, allocations: 50.48 kB / 0.5601 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.429e-05/0.1379, allocations: 20.94 kB / 0.5601 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.1379, allocations: 0 / 0.5601 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.1379, allocations: 34.56 kB / 0.5602 GB, free: 1.293 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1379, allocations: 4 kB / 0.5602 GB, free: 1.289 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009621/0.1389, allocations: 245.2 kB / 0.5604 GB, free: 1.043 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.1389, allocations: 51.41 kB / 0.5605 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.1392, allocations: 226.7 kB / 0.5607 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1392, allocations: 29.7 kB / 0.5607 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.1393, allocations: 112.1 kB / 0.5608 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.1393, allocations: 23.81 kB / 0.5608 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.1393, allocations: 21.7 kB / 0.5609 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1395, allocations: 330.8 kB / 0.5612 GB, free: 220 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.712e-05/0.1396, allocations: 23.98 kB / 0.5612 GB, free: 196 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.288e-05/0.1396, allocations: 39.91 kB / 0.5612 GB, free: 156 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.1398, allocations: 76.81 kB / 0.5613 GB, free: 76 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1398, allocations: 0 / 0.5613 GB, free: 76 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002466/0.1401, allocations: 113.6 kB / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1401, allocations: 4 kB / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1401, allocations: 0 / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1401, allocations: 7.938 kB / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1402, allocations: 15.98 kB / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.1402, allocations: 4 kB / 0.5615 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.522e-05/0.1402, allocations: 11.94 kB / 0.5615 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1403, allocations: 7.938 kB / 0.5615 GB, free: 15.91 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 (8): * Single equations (assignments): 8 * 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.0001043/0.1404, allocations: 130.9 kB / 0.5616 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.1404, allocations: 7.953 kB / 0.5616 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/0.1407, allocations: 143.2 kB / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1407, allocations: 0 / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1407, allocations: 8 kB / 0.5617 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1407, allocations: 0 / 0.5617 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005684/0.1413, allocations: 427.3 kB / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1413, allocations: 0 / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.724e-05/0.1414, allocations: 23.92 kB / 0.5622 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1414, allocations: 0 / 0.5622 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1414, allocations: 3.938 kB / 0.5622 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.1414, allocations: 12.02 kB / 0.5622 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1414, allocations: 0 / 0.5622 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.1417, allocations: 208.3 kB / 0.5624 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.1417, allocations: 85.06 kB / 0.5625 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.1417, allocations: 7.938 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.1418, allocations: 11.98 kB / 0.5625 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.1418, allocations: 7.938 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.1418, allocations: 0 / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001576/0.142, allocations: 183.2 kB / 0.5627 GB, free: 14.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.142, allocations: 0 / 0.5627 GB, free: 14.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.1423, allocations: 19.95 kB / 0.5627 GB, free: 14.54 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 (8): * Single equations (assignments): 8 * 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.002134/0.1444, allocations: 1.095 MB / 0.5638 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.1446, allocations: 83.88 kB / 0.5638 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1446, allocations: 0 / 0.5638 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.1447, allocations: 35.91 kB / 0.5639 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.0003645/0.1451, allocations: 25.92 kB / 0.5639 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.1472, allocations: 1.751 MB / 0.5656 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.1475, allocations: 0.7188 MB / 0.5663 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.886e-05/0.1476, allocations: 24.95 kB / 0.5663 GB, free: 10.83 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.019e-05/0.1477, allocations: 39.42 kB / 0.5664 GB, free: 10.79 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1477, allocations: 0 / 0.5664 GB, free: 10.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.1714, allocations: 3.281 MB / 0.5696 GB, free: 7.574 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.03/8.201, allocations: 8.438 kB / 0.5696 GB, free: 7.57 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5_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_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.380278497934341] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.331872435286641 8.35511037 8.214773424 Calling exit ...