Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001337/0.001337, 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.001365/0.001365, 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.447/1.447, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2255/0.2255, 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.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30",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.002271/0.002271, allocations: 84.09 kB / 0.4917 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1312, allocations: 66.04 MB / 0.5562 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003047/0.1342, allocations: 1.625 MB / 0.5578 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.1352, allocations: 0.541 MB / 0.5583 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.354e-05/0.1353, allocations: 3.938 kB / 0.5583 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.1356, allocations: 75.77 kB / 0.5584 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.1358, allocations: 103.6 kB / 0.5585 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.1361, allocations: 87.02 kB / 0.5586 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.1362, allocations: 91.73 kB / 0.5586 GB, free: 3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.696e-05/0.1363, allocations: 16 kB / 0.5587 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.562e-05/0.1364, allocations: 43.77 kB / 0.5587 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.1365, allocations: 59.8 kB / 0.5588 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1365, allocations: 4 kB / 0.5588 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.776e-05/0.1366, allocations: 43.98 kB / 0.5588 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.833e-05/0.1367, allocations: 19.92 kB / 0.5588 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.1367, allocations: 31.75 kB / 0.5589 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.1369, allocations: 103.6 kB / 0.559 GB, free: 2.684 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.1369, allocations: 3.938 kB / 0.559 GB, free: 2.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1369, allocations: 4 kB / 0.559 GB, free: 2.676 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1369, allocations: 4 kB / 0.559 GB, free: 2.672 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.0005098/0.1374, allocations: 418.7 kB / 0.5594 GB, free: 2.211 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1375, allocations: 8.031 kB / 0.5594 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.534e-05/0.1375, allocations: 34.75 kB / 0.5594 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.1375, allocations: 16.84 kB / 0.5594 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.1378, allocations: 208.8 kB / 0.5596 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.1378, allocations: 384 / 0.5596 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.1378, allocations: 4.375 kB / 0.5596 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.1379, allocations: 62.17 kB / 0.5597 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1379, allocations: 3.938 kB / 0.5597 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1379, allocations: 0 / 0.5597 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.138, allocations: 0 / 0.5597 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.1381, allocations: 27.97 kB / 0.5597 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.1384, allocations: 296.8 kB / 0.56 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.1386, allocations: 50.48 kB / 0.56 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.959e-05/0.1386, allocations: 20.94 kB / 0.5601 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.1386, allocations: 0 / 0.5601 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.1387, allocations: 34.56 kB / 0.5601 GB, free: 1.332 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1387, allocations: 0 / 0.5601 GB, free: 1.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008783/0.1395, allocations: 221.3 kB / 0.5603 GB, free: 1.109 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.1396, allocations: 51.41 kB / 0.5604 GB, free: 1.047 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.1398, allocations: 214.3 kB / 0.5606 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.1398, allocations: 25.7 kB / 0.5606 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.818e-05/0.1399, allocations: 112.1 kB / 0.5607 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.1399, allocations: 35.67 kB / 0.5607 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.14, allocations: 21.72 kB / 0.5607 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1401, allocations: 326.8 kB / 0.5611 GB, free: 300 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.76e-05/0.1402, allocations: 23.98 kB / 0.5611 GB, free: 276 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.45e-05/0.1403, allocations: 31.98 kB / 0.5611 GB, free: 244 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.1404, allocations: 64.81 kB / 0.5612 GB, free: 176 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1404, allocations: 0 / 0.5612 GB, free: 176 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000217/0.1406, allocations: 101.6 kB / 0.5613 GB, free: 68 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1407, allocations: 5.562 kB / 0.5613 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1407, allocations: 0 / 0.5613 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1407, allocations: 0 / 0.5613 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.1408, allocations: 19.98 kB / 0.5613 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1408, allocations: 4.25 kB / 0.5613 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.536e-05/0.1408, allocations: 7.984 kB / 0.5613 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.1408, allocations: 3.938 kB / 0.5613 GB, free: 28 kB / 414.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.000116/0.141, allocations: 129.8 kB / 0.5614 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.141, allocations: 15.89 kB / 0.5614 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/0.1413, allocations: 111 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1413, allocations: 4 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.1413, allocations: 3.984 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1413, allocations: 0 / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005619/0.1419, allocations: 419.2 kB / 0.562 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1419, allocations: 0 / 0.562 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.409e-05/0.1419, allocations: 19.92 kB / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1419, allocations: 4 kB / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.142, allocations: 3.938 kB / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.142, allocations: 0 / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.142, allocations: 4 kB / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.1422, allocations: 204.3 kB / 0.5622 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/0.1423, allocations: 85.02 kB / 0.5623 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.1423, allocations: 11.94 kB / 0.5623 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.1424, allocations: 11.86 kB / 0.5623 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.1424, allocations: 4 kB / 0.5623 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.1424, allocations: 4 kB / 0.5623 GB, free: 14.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001458/0.1426, allocations: 168.2 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1426, allocations: 7.938 kB / 0.5625 GB, free: 14.72 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000257/0.1428, allocations: 23.92 kB / 0.5625 GB, free: 14.7 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.002203/0.145, allocations: 1.078 MB / 0.5635 GB, free: 13.76 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.1453, allocations: 63.89 kB / 0.5636 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1453, allocations: 0 / 0.5636 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.632e-05/0.1454, allocations: 43.91 kB / 0.5636 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.1458, allocations: 15.98 kB / 0.5637 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.1481, allocations: 1.677 MB / 0.5653 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.1484, allocations: 0.7041 MB / 0.566 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.075e-05/0.1485, allocations: 12.66 kB / 0.566 GB, free: 11.13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.43e-05/0.1485, allocations: 39.42 kB / 0.566 GB, free: 11.09 MB / 430.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1485, allocations: 0 / 0.566 GB, free: 11.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.1729, allocations: 3.137 MB / 0.5691 GB, free: 8.023 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.01/8.183, allocations: 12.05 kB / 0.5691 GB, free: 8.012 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.241600390989333] 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.305908327922225 8.327658561 8.186484967 Calling exit ...