Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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.001273/0.001273, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.001358/0.001358, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.517/1.517, 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.2341/0.2341, 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.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_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.002373/0.002373, allocations: 75.88 kB / 0.4917 GB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1426, allocations: 66.03 MB / 0.5562 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.003255/0.1459, allocations: 1.667 MB / 0.5578 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1469, allocations: 0.5372 MB / 0.5583 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.702e-05/0.147, allocations: 4 kB / 0.5583 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.1472, allocations: 39.77 kB / 0.5584 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.1475, allocations: 83.61 kB / 0.5585 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.1478, allocations: 91.75 kB / 0.5585 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.148, allocations: 91.77 kB / 0.5586 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1481, allocations: 19.97 kB / 0.5587 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.141e-05/0.1482, allocations: 35.8 kB / 0.5587 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.972e-05/0.1483, allocations: 39.78 kB / 0.5587 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1483, allocations: 7.984 kB / 0.5587 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1484, allocations: 47.98 kB / 0.5588 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.844e-05/0.1485, allocations: 19.92 kB / 0.5588 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.1485, allocations: 23.81 kB / 0.5588 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.1488, allocations: 115.4 kB / 0.5589 GB, free: 2.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1488, allocations: 0 / 0.5589 GB, free: 2.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1488, allocations: 8 kB / 0.5589 GB, free: 2.723 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1488, allocations: 0 / 0.5589 GB, free: 2.723 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006016/0.1494, allocations: 414.8 kB / 0.5593 GB, free: 2.266 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.1494, allocations: 8.031 kB / 0.5593 GB, free: 2.258 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.183e-05/0.1495, allocations: 34.75 kB / 0.5594 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.1495, allocations: 16.84 kB / 0.5594 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.1497, allocations: 192.2 kB / 0.5596 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1498, allocations: 12.36 kB / 0.5596 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.1498, allocations: 8.375 kB / 0.5596 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.15, allocations: 78.11 kB / 0.5597 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.15, allocations: 3.938 kB / 0.5597 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.15, allocations: 0 / 0.5597 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.15, allocations: 3.984 kB / 0.5597 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.1501, allocations: 39.97 kB / 0.5597 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/0.1506, allocations: 320.7 kB / 0.56 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.1508, allocations: 70.52 kB / 0.5601 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.515e-05/0.1508, allocations: 24.84 kB / 0.5601 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1508, allocations: 0 / 0.5601 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.1509, allocations: 30.56 kB / 0.5601 GB, free: 1.316 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.1509, allocations: 0 / 0.5601 GB, free: 1.316 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.00113/0.152, allocations: 300.8 kB / 0.5604 GB, free: 1.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.1521, allocations: 59.34 kB / 0.5605 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.1522, allocations: 157.8 kB / 0.5606 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.1523, allocations: 25.7 kB / 0.5607 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.249e-05/0.1523, allocations: 104.2 kB / 0.5608 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.1524, allocations: 55.69 kB / 0.5608 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.534e-05/0.1525, allocations: 33.64 kB / 0.5608 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1526, allocations: 322.8 kB / 0.5611 GB, free: 236 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.937e-05/0.1527, allocations: 35.98 kB / 0.5612 GB, free: 200 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.526e-05/0.1528, allocations: 39.97 kB / 0.5612 GB, free: 160 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.153, allocations: 84.83 kB / 0.5613 GB, free: 72 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.153, allocations: 4 kB / 0.5613 GB, free: 68 kB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002814/0.1533, allocations: 133.5 kB / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1533, allocations: 8 kB / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1533, allocations: 0 / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1533, allocations: 3.938 kB / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1535, allocations: 23.98 kB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1535, allocations: 0 / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.734e-05/0.1535, allocations: 7.984 kB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.1535, allocations: 8 kB / 0.5615 GB, free: 15.88 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.0001116/0.1536, allocations: 125.8 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.1537, allocations: 11.91 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003668/0.154, allocations: 170.2 kB / 0.5618 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.154, allocations: 4 kB / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.154, allocations: 0 / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1541, allocations: 3.984 kB / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006729/0.1547, allocations: 479 kB / 0.5622 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1547, allocations: 4 kB / 0.5622 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.238e-05/0.1548, allocations: 27.92 kB / 0.5623 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1548, allocations: 0 / 0.5623 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1548, allocations: 4 kB / 0.5623 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1548, allocations: 0 / 0.5623 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1548, allocations: 0 / 0.5623 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.1552, allocations: 248.2 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.945e-05/0.1552, allocations: 92.95 kB / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.1553, allocations: 4 kB / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.126e-05/0.1553, allocations: 4 kB / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.1554, allocations: 11.98 kB / 0.5626 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-06/0.1554, allocations: 8 kB / 0.5626 GB, free: 14.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.1555, allocations: 134.4 kB / 0.5628 GB, free: 14.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1555, allocations: 0 / 0.5628 GB, free: 14.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000268/0.1558, allocations: 23.98 kB / 0.5628 GB, free: 14.45 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.002329/0.1581, allocations: 1.1 MB / 0.5639 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002937/0.1584, allocations: 95.94 kB / 0.5639 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1584, allocations: 0 / 0.5639 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.1585, allocations: 51.92 kB / 0.564 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.1589, allocations: 19.92 kB / 0.564 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.161, allocations: 1.686 MB / 0.5657 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.1614, allocations: 0.7041 MB / 0.5663 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.947e-05/0.1614, allocations: 20.53 kB / 0.5664 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.661e-05/0.1615, allocations: 39.42 kB / 0.5664 GB, free: 10.75 MB / 430.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1615, allocations: 0 / 0.5664 GB, free: 10.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.1865, allocations: 3.226 MB / 0.5696 GB, free: 7.586 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.924/8.11, allocations: 8.922 kB / 0.5696 GB, free: 7.582 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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_CombiTable1Ds_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.251017251983285] 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.236621499992907 8.258567579 8.105765218 Calling exit ...