Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 117.1 kB / 18.49 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 209.5 kB / 21.46 MB, free: 1.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2544/0.2544, allocations: 44.9 MB / 355.8 MB, free: 12.43 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 63.91 kB / 0.4886 GB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1314, allocations: 65.43 MB / 0.5525 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003825/0.1352, allocations: 2.12 MB / 0.5545 GB, free: 8.031 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.1377, allocations: 1.399 MB / 0.5559 GB, free: 6.625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.1378, allocations: 7.938 kB / 0.5559 GB, free: 6.617 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.1381, allocations: 63.5 kB / 0.556 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005375/0.1386, allocations: 219 kB / 0.5562 GB, free: 6.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.1401, allocations: 0.6256 MB / 0.5568 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005264/0.1406, allocations: 358.9 kB / 0.5571 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.1408, allocations: 56.67 kB / 0.5572 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.1411, allocations: 163.3 kB / 0.5573 GB, free: 5.164 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.1414, allocations: 215.2 kB / 0.5575 GB, free: 4.953 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.1414, allocations: 12 kB / 0.5575 GB, free: 4.941 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.1416, allocations: 71.91 kB / 0.5576 GB, free: 4.871 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.1417, allocations: 155.4 kB / 0.5578 GB, free: 4.719 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.1419, allocations: 186.5 kB / 0.5579 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005519/0.1425, allocations: 441.8 kB / 0.5584 GB, free: 4.102 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1425, allocations: 0 / 0.5584 GB, free: 4.102 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1425, allocations: 0 / 0.5584 GB, free: 4.102 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1425, allocations: 0 / 0.5584 GB, free: 4.102 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001249/0.1437, allocations: 0.8742 MB / 0.5592 GB, free: 3.176 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1438, allocations: 8.031 kB / 0.5592 GB, free: 3.168 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.969e-05/0.1438, allocations: 4.188 kB / 0.5592 GB, free: 3.164 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.989e-05/0.1438, allocations: 42.75 kB / 0.5593 GB, free: 3.113 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004529/0.1443, allocations: 96.47 kB / 0.5594 GB, free: 3.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007143/0.145, allocations: 0.5009 MB / 0.5598 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.145, allocations: 16.12 kB / 0.5599 GB, free: 2.461 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.1451, allocations: 12 kB / 0.5599 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.1454, allocations: 147.3 kB / 0.56 GB, free: 2.293 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.1454, allocations: 3.984 kB / 0.56 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.1454, allocations: 4 kB / 0.56 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1454, allocations: 4 kB / 0.56 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.1458, allocations: 127.8 kB / 0.5601 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.1469, allocations: 0.7191 MB / 0.5609 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.1472, allocations: 133.2 kB / 0.561 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.1474, allocations: 65.8 kB / 0.561 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.1474, allocations: 3.984 kB / 0.561 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.1474, allocations: 42.48 kB / 0.5611 GB, free: 1.109 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 2.425e-06/0.1474, allocations: 4 kB / 0.5611 GB, free: 1.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002289/0.1497, allocations: 0.7685 MB / 0.5618 GB, free: 336 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.1498, allocations: 81.11 kB / 0.5619 GB, free: 236 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.151, allocations: 0.9299 MB / 0.5628 GB, free: 15.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.1511, allocations: 29.7 kB / 0.5629 GB, free: 15.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.1513, allocations: 280.3 kB / 0.5631 GB, free: 14.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.819e-05/0.1514, allocations: 75.36 kB / 0.5632 GB, free: 14.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.22e-05/0.1515, allocations: 41.7 kB / 0.5632 GB, free: 14.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1516, allocations: 321.9 kB / 0.5635 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.1519, allocations: 99.92 kB / 0.5636 GB, free: 14.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003229/0.1523, allocations: 133.6 kB / 0.5638 GB, free: 14.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006306/0.1529, allocations: 253.6 kB / 0.564 GB, free: 14.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1529, allocations: 0.75 kB / 0.564 GB, free: 14.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008454/0.1537, allocations: 349 kB / 0.5643 GB, free: 13.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.1538, allocations: 8 kB / 0.5643 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.1538, allocations: 0 / 0.5643 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.1538, allocations: 0 / 0.5643 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.1541, allocations: 56.17 kB / 0.5644 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1541, allocations: 4 kB / 0.5644 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.1543, allocations: 31.91 kB / 0.5644 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.1544, allocations: 4 kB / 0.5644 GB, free: 13.59 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0002635/0.1546, allocations: 231.8 kB / 0.5647 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.1548, allocations: 67.58 kB / 0.5647 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009685/0.1557, allocations: 398.7 kB / 0.5651 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1557, allocations: 4 kB / 0.5651 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1557, allocations: 0 / 0.5651 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.1557, allocations: 7.984 kB / 0.5651 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.1574, allocations: 0.962 MB / 0.5661 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1574, allocations: 0 / 0.5661 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.1576, allocations: 59.88 kB / 0.5661 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1576, allocations: 0 / 0.5661 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.1577, allocations: 11.94 kB / 0.5661 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1577, allocations: 0 / 0.5661 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1577, allocations: 4 kB / 0.5661 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008839/0.1585, allocations: 0.5079 MB / 0.5666 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.1587, allocations: 164.7 kB / 0.5668 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.413e-05/0.1588, allocations: 3.938 kB / 0.5668 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.159, allocations: 23.98 kB / 0.5668 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.987e-05/0.1591, allocations: 23.91 kB / 0.5668 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.1591, allocations: 7.984 kB / 0.5668 GB, free: 11.03 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008039/0.1599, allocations: 0.6786 MB / 0.5675 GB, free: 10.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1599, allocations: 0 / 0.5675 GB, free: 10.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000405/0.1603, allocations: 67.94 kB / 0.5676 GB, free: 10.29 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 (20): * Single equations (assignments): 20 * 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.002692/0.163, allocations: 1.367 MB / 0.5689 GB, free: 9.051 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007532/0.1638, allocations: 243.8 kB / 0.5691 GB, free: 8.812 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1638, allocations: 0 / 0.5691 GB, free: 8.812 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003535/0.1641, allocations: 148.3 kB / 0.5693 GB, free: 8.668 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006641/0.1648, allocations: 77.61 kB / 0.5693 GB, free: 8.598 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008226/0.173, allocations: 5.515 MB / 0.5747 GB, free: 2.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005921/0.1736, allocations: 0.8809 MB / 0.5756 GB, free: 2.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002771/0.1739, allocations: 119.2 kB / 0.5757 GB, free: 1.953 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/0.1742, allocations: 191.4 kB / 0.5759 GB, free: 1.766 MB / 430.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1742, allocations: 0 / 0.5759 GB, free: 1.766 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.2032, allocations: 10.81 MB / 0.5864 GB, free: 7.023 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.104/9.307, allocations: 12.94 kB / 0.5865 GB, free: 7.012 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.77267605799716] Failed to read output from testmodel.py, exit status != 0: ['time', 'combiTable2D_1R.y[1]', 'der_1R.y', 'combiTable2D_2R.y[1]', 'der_2R.y', 'cosine_R.y', 'sine_R.y', 'combiTable2D_1L.y[1]', 'der_1L.y', 'combiTable2D_2L.y[1]', 'der_2L.y', 'cosine_L.y', 'sine_L.y'] 9.49191261199303 9.780677955 9.635148222 Calling exit ...