Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.001383/0.001383, allocations: 114.3 kB / 18.49 MB, free: 4.539 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.001501/0.001501, allocations: 219 kB / 21.46 MB, free: 1.586 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.561/1.561, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2312/0.2312, allocations: 44.9 MB / 355.8 MB, free: 12.33 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.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",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.002395/0.002395, allocations: 63.91 kB / 0.4886 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1695, allocations: 65.43 MB / 0.5525 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003657/0.1731, allocations: 1.619 MB / 0.554 GB, free: 8.488 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1743, allocations: 0.5572 MB / 0.5546 GB, free: 7.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.1744, allocations: 0 / 0.5546 GB, free: 7.926 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.1747, allocations: 75.7 kB / 0.5547 GB, free: 7.852 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000317/0.175, allocations: 107.6 kB / 0.5548 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.1753, allocations: 107.7 kB / 0.5549 GB, free: 7.641 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.1755, allocations: 83.75 kB / 0.5549 GB, free: 7.559 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1756, allocations: 19.92 kB / 0.555 GB, free: 7.539 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.786e-05/0.1757, allocations: 39.89 kB / 0.555 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.1759, allocations: 63.69 kB / 0.5551 GB, free: 7.438 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.1759, allocations: 8 kB / 0.5551 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.176, allocations: 47.98 kB / 0.5551 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.083e-05/0.176, allocations: 19.92 kB / 0.5551 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.979e-05/0.1761, allocations: 35.72 kB / 0.5552 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.1763, allocations: 99.59 kB / 0.5553 GB, free: 7.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1763, allocations: 0 / 0.5553 GB, free: 7.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1763, allocations: 0 / 0.5553 GB, free: 7.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.1763, allocations: 0 / 0.5553 GB, free: 7.23 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.0006069/0.1769, allocations: 426.6 kB / 0.5557 GB, free: 6.766 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.177, allocations: 12.03 kB / 0.5557 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.396e-05/0.177, allocations: 8.125 kB / 0.5557 GB, free: 6.746 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.177, allocations: 30.75 kB / 0.5557 GB, free: 6.707 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.1771, allocations: 16.84 kB / 0.5557 GB, free: 6.691 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.1773, allocations: 199.2 kB / 0.5559 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.1773, allocations: 8.375 kB / 0.5559 GB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.1774, allocations: 4.125 kB / 0.5559 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.1775, allocations: 57.67 kB / 0.556 GB, free: 6.383 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1776, allocations: 0 / 0.556 GB, free: 6.383 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.1776, allocations: 4 kB / 0.556 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1776, allocations: 0 / 0.556 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.1777, allocations: 31.91 kB / 0.556 GB, free: 6.348 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.1782, allocations: 300.8 kB / 0.5563 GB, free: 6.004 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.1783, allocations: 42.55 kB / 0.5564 GB, free: 5.953 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.155e-05/0.1783, allocations: 24.8 kB / 0.5564 GB, free: 5.926 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.1784, allocations: 3.984 kB / 0.5564 GB, free: 5.922 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.1784, allocations: 34.64 kB / 0.5564 GB, free: 5.879 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.1784, allocations: 0 / 0.5564 GB, free: 5.879 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001005/0.1794, allocations: 253.2 kB / 0.5567 GB, free: 5.625 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.1795, allocations: 55.34 kB / 0.5567 GB, free: 5.559 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.1797, allocations: 210.4 kB / 0.5569 GB, free: 5.344 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.1797, allocations: 29.7 kB / 0.5569 GB, free: 5.309 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.886e-05/0.1798, allocations: 108.1 kB / 0.557 GB, free: 5.199 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.986e-05/0.1799, allocations: 31.73 kB / 0.5571 GB, free: 5.168 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.895e-05/0.1799, allocations: 17.8 kB / 0.5571 GB, free: 5.145 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.1801, allocations: 326.8 kB / 0.5574 GB, free: 4.816 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.1802, allocations: 31.97 kB / 0.5574 GB, free: 4.785 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.1804, allocations: 35.91 kB / 0.5575 GB, free: 4.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.1806, allocations: 80.75 kB / 0.5575 GB, free: 4.668 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1806, allocations: 0 / 0.5575 GB, free: 4.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003113/0.181, allocations: 105.6 kB / 0.5576 GB, free: 4.559 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.181, allocations: 8 kB / 0.5577 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.181, allocations: 0 / 0.5577 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.181, allocations: 0 / 0.5577 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.1811, allocations: 19.98 kB / 0.5577 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1811, allocations: 3.938 kB / 0.5577 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.605e-05/0.1812, allocations: 8 kB / 0.5577 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.1812, allocations: 0 / 0.5577 GB, free: 4.52 MB / 414.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 (8): * Single equations (assignments): 8 * 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.000125/0.1813, allocations: 132 kB / 0.5578 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.1813, allocations: 15.91 kB / 0.5578 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/0.1817, allocations: 131.3 kB / 0.558 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1817, allocations: 0 / 0.558 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.1817, allocations: 3.938 kB / 0.558 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.1817, allocations: 7.938 kB / 0.558 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006155/0.1823, allocations: 423.3 kB / 0.5584 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.1823, allocations: 7.969 kB / 0.5584 GB, free: 3.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.503e-05/0.1824, allocations: 19.92 kB / 0.5584 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1824, allocations: 0 / 0.5584 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.1824, allocations: 8 kB / 0.5584 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1824, allocations: 0 / 0.5584 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1824, allocations: 0 / 0.5584 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.1827, allocations: 216.3 kB / 0.5586 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.061e-05/0.1828, allocations: 92.95 kB / 0.5587 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.1828, allocations: 0 / 0.5587 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.1829, allocations: 11.98 kB / 0.5587 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.1829, allocations: 4 kB / 0.5587 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.1829, allocations: 8 kB / 0.5587 GB, free: 3.344 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001715/0.1831, allocations: 164.2 kB / 0.5589 GB, free: 3.184 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1831, allocations: 3.938 kB / 0.5589 GB, free: 3.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.1834, allocations: 23.92 kB / 0.5589 GB, free: 3.156 MB / 414.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 (8): * Single equations (assignments): 8 * 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.00238/0.1857, allocations: 1.101 MB / 0.56 GB, free: 2.215 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002663/0.186, allocations: 75.88 kB / 0.56 GB, free: 2.141 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.186, allocations: 0 / 0.56 GB, free: 2.141 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.1861, allocations: 39.92 kB / 0.5601 GB, free: 2.102 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.1865, allocations: 24.61 kB / 0.5601 GB, free: 2.082 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.1888, allocations: 1.72 MB / 0.5618 GB, free: 284 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.1893, allocations: 0.7158 MB / 0.5625 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.03e-05/0.1894, allocations: 24.58 kB / 0.5625 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.383e-05/0.1894, allocations: 35.42 kB / 0.5625 GB, free: 15.48 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1894, allocations: 0 / 0.5625 GB, free: 15.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.2109, allocations: 3.218 MB / 0.5657 GB, free: 12.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.379/8.59, allocations: 8.047 kB / 0.5657 GB, free: 12.32 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.865596420015208]