Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.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.00131/0.00131, allocations: 118.7 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.001398/0.001398, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.51/1.51, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2494/0.2494, allocations: 46.89 MB / 357.4 MB, free: 10.53 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.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test23",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.002355/0.002355, allocations: 79.88 kB / 0.4912 GB, free: 8.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1476, allocations: 65.98 MB / 0.5557 GB, free: 6.559 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003887/0.1515, allocations: 2.114 MB / 0.5577 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.1537, allocations: 1.305 MB / 0.559 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.1538, allocations: 7.875 kB / 0.559 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.1541, allocations: 47.58 kB / 0.5591 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005263/0.1546, allocations: 223 kB / 0.5593 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009994/0.1556, allocations: 453.1 kB / 0.5597 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004402/0.156, allocations: 327 kB / 0.56 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.1562, allocations: 52.7 kB / 0.5601 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.1564, allocations: 139.4 kB / 0.5602 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.1567, allocations: 219.1 kB / 0.5604 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.1567, allocations: 16 kB / 0.5604 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.1569, allocations: 67.97 kB / 0.5605 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.1571, allocations: 151.4 kB / 0.5606 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.1572, allocations: 182.5 kB / 0.5608 GB, free: 1.273 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00052/0.1578, allocations: 433.8 kB / 0.5612 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1578, allocations: 0 / 0.5612 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1578, allocations: 3.938 kB / 0.5612 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1578, allocations: 4 kB / 0.5612 GB, free: 0.8398 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.001226/0.159, allocations: 0.8471 MB / 0.562 GB, free: 15.94 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.159, allocations: 8.031 kB / 0.5621 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.551e-05/0.1591, allocations: 46.69 kB / 0.5621 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004229/0.1595, allocations: 96.47 kB / 0.5622 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007934/0.1603, allocations: 0.4931 MB / 0.5627 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.1603, allocations: 8.375 kB / 0.5627 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.1604, allocations: 4.375 kB / 0.5627 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.1607, allocations: 159.2 kB / 0.5628 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1607, allocations: 0 / 0.5628 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.1607, allocations: 4 kB / 0.5628 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.1607, allocations: 7.938 kB / 0.5628 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/0.161, allocations: 99.92 kB / 0.5629 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.1621, allocations: 0.6918 MB / 0.5636 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.1624, allocations: 121.2 kB / 0.5637 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.1625, allocations: 61.81 kB / 0.5638 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.1625, allocations: 4 kB / 0.5638 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.1626, allocations: 30.56 kB / 0.5638 GB, free: 13.97 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.1626, allocations: 4 kB / 0.5638 GB, free: 13.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=20): time 0.001959/0.1645, allocations: 0.706 MB / 0.5645 GB, free: 13.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.1646, allocations: 81.11 kB / 0.5646 GB, free: 13.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.1657, allocations: 0.9221 MB / 0.5655 GB, free: 12.22 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.1657, allocations: 29.7 kB / 0.5655 GB, free: 12.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.166, allocations: 280.3 kB / 0.5658 GB, free: 11.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/0.166, allocations: 67.39 kB / 0.5659 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.076e-05/0.1661, allocations: 45.69 kB / 0.5659 GB, free: 11.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1663, allocations: 310 kB / 0.5662 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.1665, allocations: 96.61 kB / 0.5663 GB, free: 11.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.1668, allocations: 105.7 kB / 0.5664 GB, free: 11.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005203/0.1673, allocations: 213.9 kB / 0.5666 GB, free: 11.06 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1673, allocations: 3.938 kB / 0.5666 GB, free: 11.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006885/0.168, allocations: 309 kB / 0.5669 GB, free: 10.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.168, allocations: 4 kB / 0.5669 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.168, allocations: 0 / 0.5669 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.1681, allocations: 8 kB / 0.5669 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.1684, allocations: 55.88 kB / 0.567 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.1684, allocations: 8 kB / 0.567 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.1686, allocations: 19.98 kB / 0.567 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.1686, allocations: 7.984 kB / 0.567 GB, free: 10.64 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.000252/0.1688, allocations: 213.7 kB / 0.5672 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.169, allocations: 63.58 kB / 0.5673 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008225/0.1698, allocations: 358.6 kB / 0.5676 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.1698, allocations: 4 kB / 0.5676 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1698, allocations: 0 / 0.5676 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.1698, allocations: 0 / 0.5676 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.1714, allocations: 0.9072 MB / 0.5685 GB, free: 9.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1714, allocations: 4 kB / 0.5685 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.1717, allocations: 51.95 kB / 0.5685 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.1717, allocations: 0 / 0.5685 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.1717, allocations: 7.984 kB / 0.5685 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1717, allocations: 4 kB / 0.5686 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.1717, allocations: 7.938 kB / 0.5686 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008116/0.1725, allocations: 488.1 kB / 0.569 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002351/0.1727, allocations: 156.7 kB / 0.5692 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.484e-05/0.1728, allocations: 4 kB / 0.5692 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.173, allocations: 27.97 kB / 0.5692 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.206e-05/0.1731, allocations: 23.91 kB / 0.5692 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.1731, allocations: 4 kB / 0.5692 GB, free: 8.238 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000984/0.1741, allocations: 0.6786 MB / 0.5699 GB, free: 7.566 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1741, allocations: 0 / 0.5699 GB, free: 7.566 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004155/0.1745, allocations: 60 kB / 0.57 GB, free: 7.508 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.002613/0.1772, allocations: 1.319 MB / 0.5712 GB, free: 6.316 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006331/0.1778, allocations: 215.7 kB / 0.5714 GB, free: 6.105 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1778, allocations: 4 kB / 0.5714 GB, free: 6.102 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.1781, allocations: 115.9 kB / 0.5716 GB, free: 5.988 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006116/0.1787, allocations: 82.69 kB / 0.5716 GB, free: 5.906 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00746/0.1862, allocations: 5.299 MB / 0.5768 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005763/0.1867, allocations: 0.8758 MB / 0.5777 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000232/0.187, allocations: 87.22 kB / 0.5778 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002648/0.1872, allocations: 191.3 kB / 0.5779 GB, free: 15.33 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1872, allocations: 0 / 0.5779 GB, free: 15.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03671/0.2239, allocations: 10.49 MB / 0.5882 GB, free: 4.898 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.905/9.129, allocations: 13.8 kB / 0.5882 GB, free: 4.891 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.417635053861886] Failed to read output from testmodel.py, exit status != 0: ['time', 'cosine_R.y', 'sine_R.y', 'cosine_L.y', 'sine_L.y', 'combiTable2D_1R.y', 'combiTable2D_2R.y', 'combiTable2D_1L.y', 'combiTable2D_2L.y', 'der_1R.y', 'der_2R.y', 'der_1L.y', 'der_2L.y'] 9.260989832691848 9.489028752 9.328440954 Calling exit ...