Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 104 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002064/0.002063, allocations: 192.1 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2302/0.2302, allocations: 44.17 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 68.42 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1633, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003745/0.1671, allocations: 1.806 MB / 471.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.1686, allocations: 0.8848 MB / 472.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.759e-05/0.1687, allocations: 0 / 472.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.169, allocations: 67.72 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004212/0.1695, allocations: 71.55 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005643/0.1701, allocations: 213.9 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.1704, allocations: 191.5 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.1705, allocations: 29.47 kB / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.1707, allocations: 75.75 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.1709, allocations: 107.6 kB / 472.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.91e-05/0.1709, allocations: 12 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1711, allocations: 40 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.696e-05/0.1711, allocations: 43.88 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.1713, allocations: 67.53 kB / 473 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.1716, allocations: 183.7 kB / 473.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1716, allocations: 3.938 kB / 473.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1716, allocations: 4 kB / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.1716, allocations: 0 / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001186/0.1728, allocations: 0.5682 MB / 473.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.1728, allocations: 12.03 kB / 473.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.1729, allocations: 30.75 kB / 473.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.347e-05/0.173, allocations: 24.66 kB / 473.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.1732, allocations: 239.9 kB / 474 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1733, allocations: 8.375 kB / 474 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.1733, allocations: 11.94 kB / 474 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/0.1739, allocations: 145.5 kB / 474.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1739, allocations: 0 / 474.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.1739, allocations: 4 kB / 474.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1739, allocations: 4 kB / 474.2 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007647/0.1747, allocations: 163.8 kB / 474.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009022/0.1756, allocations: 440.4 kB / 474.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008088/0.1764, allocations: 202.3 kB / 475 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/0.1768, allocations: 88.77 kB / 475.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.1769, allocations: 4 kB / 475.1 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006145/0.1775, allocations: 167.2 kB / 475.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 3.456e-06/0.1775, allocations: 3.984 kB / 475.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003861/0.1814, allocations: 0.8397 MB / 476.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.1814, allocations: 59.34 kB / 476.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.1817, allocations: 239.2 kB / 476.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.1818, allocations: 33.7 kB / 476.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.526e-05/0.1819, allocations: 128.1 kB / 476.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/0.1819, allocations: 39.61 kB / 476.6 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.564e-05/0.182, allocations: 37.7 kB / 476.6 MB, free: 6.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1821, allocations: 334.8 kB / 476.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000747/0.1829, allocations: 171.8 kB / 477.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007266/0.1836, allocations: 174.6 kB / 477.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.1851, allocations: 378.1 kB / 477.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1851, allocations: 3.938 kB / 477.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001609/0.1867, allocations: 472.4 kB / 478.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.302e-05/0.1868, allocations: 63.39 kB / 478.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.1868, allocations: 0 / 478.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.1868, allocations: 0 / 478.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004345/0.1872, allocations: 71.84 kB / 478.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.1873, allocations: 4 kB / 478.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/0.1877, allocations: 59.91 kB / 478.3 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.1877, allocations: 8 kB / 478.3 MB, free: 5.027 MB / 350.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: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001582/0.1879, allocations: 137.8 kB / 478.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.188, allocations: 19.72 kB / 478.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.1896, allocations: 423.9 kB / 478.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.1896, allocations: 3.938 kB / 478.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.1896, allocations: 0.6719 kB / 478.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1896, allocations: 3.938 kB / 478.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.1916, allocations: 0.7246 MB / 479.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1916, allocations: 0 / 479.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003916/0.192, allocations: 71.84 kB / 479.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.192, allocations: 0 / 479.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.192, allocations: 7.938 kB / 479.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.192, allocations: 0 / 479.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.192, allocations: 4 kB / 479.7 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.1935, allocations: 494.3 kB / 480.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.626e-05/0.1936, allocations: 96.84 kB / 480.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/0.1937, allocations: 8 kB / 480.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/0.1941, allocations: 67.91 kB / 480.3 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.1943, allocations: 43.94 kB / 480.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.1943, allocations: 7.984 kB / 480.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.1945, allocations: 184.6 kB / 480.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1945, allocations: 0 / 480.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003209/0.1949, allocations: 40 kB / 480.6 MB, free: 2.625 MB / 350.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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002722/0.1976, allocations: 1.328 MB / 481.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.1992, allocations: 494.3 kB / 482.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1992, allocations: 0 / 482.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007677/0.2, allocations: 191.7 kB / 482.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.2004, allocations: 47.23 kB / 482.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006002/0.2064, allocations: 2.852 MB / 485.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.2068, allocations: 0.728 MB / 486.2 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000153/0.2069, allocations: 33.39 kB / 486.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.2071, allocations: 47.42 kB / 486.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2071, allocations: 0 / 486.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.2297, allocations: 5.617 MB / 491.9 MB, free: 7.379 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/7.947, allocations: 22.67 kB / 491.9 MB, free: 7.359 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)