Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.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.001325/0.001325, 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.001385/0.001385, 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.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.2312/0.2312, allocations: 46.93 MB / 357.7 MB, free: 10.2 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.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test10",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.002252/0.002252, allocations: 87.86 kB / 0.4917 GB, free: 7.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1263, allocations: 66.03 MB / 0.5562 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003125/0.1294, allocations: 1.665 MB / 0.5578 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.1314, allocations: 1.214 MB / 0.559 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.294e-05/0.1314, allocations: 4 kB / 0.559 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.1317, allocations: 31.84 kB / 0.559 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.1319, allocations: 87.55 kB / 0.5591 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.1324, allocations: 175.1 kB / 0.5593 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.1326, allocations: 79.83 kB / 0.5593 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1327, allocations: 11.98 kB / 0.5594 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.808e-05/0.1327, allocations: 43.78 kB / 0.5594 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.1329, allocations: 31.84 kB / 0.5594 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.1329, allocations: 4 kB / 0.5594 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.1331, allocations: 103.9 kB / 0.5595 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.1332, allocations: 27.91 kB / 0.5596 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.861e-05/0.1332, allocations: 27.8 kB / 0.5596 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.1335, allocations: 155.4 kB / 0.5597 GB, free: 1.867 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1335, allocations: 0 / 0.5597 GB, free: 1.867 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1335, allocations: 4 kB / 0.5597 GB, free: 1.863 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1335, allocations: 0 / 0.5597 GB, free: 1.863 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.000651/0.1342, allocations: 430.6 kB / 0.5601 GB, free: 1.391 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1342, allocations: 8.031 kB / 0.5602 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.249e-05/0.1342, allocations: 30.75 kB / 0.5602 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.1343, allocations: 12.88 kB / 0.5602 GB, free: 1.332 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.1346, allocations: 200.2 kB / 0.5604 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1346, allocations: 4.375 kB / 0.5604 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.1346, allocations: 384 / 0.5604 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.1348, allocations: 83.92 kB / 0.5605 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1348, allocations: 3.938 kB / 0.5605 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1348, allocations: 7.938 kB / 0.5605 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1348, allocations: 4 kB / 0.5605 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.135, allocations: 31.97 kB / 0.5605 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.1354, allocations: 316.8 kB / 0.5608 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.1356, allocations: 46.55 kB / 0.5609 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.88e-05/0.1356, allocations: 28.88 kB / 0.5609 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.1357, allocations: 0 / 0.5609 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.1357, allocations: 34.56 kB / 0.5609 GB, free: 476 kB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1357, allocations: 4 kB / 0.5609 GB, free: 472 kB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000831/0.1365, allocations: 237.2 kB / 0.5612 GB, free: 228 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.652e-05/0.1366, allocations: 77.11 kB / 0.5612 GB, free: 132 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.1368, allocations: 159.7 kB / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.1368, allocations: 29.7 kB / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.557e-05/0.1369, allocations: 104.1 kB / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.137, allocations: 27.78 kB / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.137, allocations: 21.72 kB / 0.5616 GB, free: 15.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1372, allocations: 322.8 kB / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.1373, allocations: 39.97 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.1374, allocations: 61.67 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.1377, allocations: 80.8 kB / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1377, allocations: 4 kB / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003274/0.138, allocations: 129.8 kB / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.138, allocations: 9.719 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.138, allocations: 80 / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.138, allocations: 0 / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.1382, allocations: 19.98 kB / 0.5622 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1382, allocations: 3.984 kB / 0.5622 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.411e-05/0.1382, allocations: 7.984 kB / 0.5622 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1383, allocations: 4 kB / 0.5622 GB, free: 15.08 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 0.0001026/0.1384, allocations: 125.8 kB / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.1384, allocations: 11.91 kB / 0.5623 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003742/0.1388, allocations: 150.2 kB / 0.5625 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1388, allocations: 0 / 0.5625 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1388, allocations: 0 / 0.5625 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1388, allocations: 0 / 0.5625 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006118/0.1394, allocations: 418.4 kB / 0.5629 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1394, allocations: 0 / 0.5629 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.31e-05/0.1395, allocations: 23.97 kB / 0.5629 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1395, allocations: 0 / 0.5629 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1395, allocations: 8 kB / 0.5629 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1395, allocations: 3.938 kB / 0.5629 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1395, allocations: 0 / 0.5629 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.1399, allocations: 219.4 kB / 0.5631 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/0.14, allocations: 89.05 kB / 0.5632 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.14, allocations: 0 / 0.5632 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1401, allocations: 19.88 kB / 0.5632 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.1401, allocations: 7.922 kB / 0.5632 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.1401, allocations: 8 kB / 0.5632 GB, free: 13.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1402, allocations: 117.5 kB / 0.5634 GB, free: 13.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1402, allocations: 0 / 0.5634 GB, free: 13.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003036/0.1405, allocations: 43.86 kB / 0.5634 GB, free: 13.75 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.0023/0.1428, allocations: 1.147 MB / 0.5645 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000327/0.1432, allocations: 87.88 kB / 0.5646 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1432, allocations: 0 / 0.5646 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.1433, allocations: 47.95 kB / 0.5647 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.0003477/0.1437, allocations: 23.02 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.002238/0.1459, allocations: 1.643 MB / 0.5663 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.1462, allocations: 0.7117 MB / 0.567 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.265e-05/0.1463, allocations: 28.7 kB / 0.567 GB, free: 10.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.328e-05/0.1464, allocations: 27.42 kB / 0.567 GB, free: 10.07 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1464, allocations: 0 / 0.567 GB, free: 10.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/0.173, allocations: 3.63 MB / 0.5706 GB, free: 6.469 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.14/8.312, allocations: 21.5 kB / 0.5706 GB, free: 6.453 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10_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_Test10.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.390691321343184] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y'] 8.43587839230895 8.461643716 8.323747968 Calling exit ...