Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001707/0.001707, allocations: 121.3 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.00189/0.00189, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.508/1.508, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2386/0.2386, allocations: 46.9 MB / 357.4 MB, free: 10.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003622/0.003622, allocations: 75.88 kB / 0.4913 GB, free: 8.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1794, allocations: 65.99 MB / 0.5557 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.00327/0.1826, allocations: 1.668 MB / 0.5573 GB, free: 4.719 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.1838, allocations: 0.545 MB / 0.5579 GB, free: 4.172 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.539e-05/0.1839, allocations: 0 / 0.5579 GB, free: 4.172 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.1843, allocations: 103.7 kB / 0.558 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004017/0.1847, allocations: 107.6 kB / 0.5581 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.1851, allocations: 93.27 kB / 0.5582 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002474/0.1853, allocations: 99.73 kB / 0.5583 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1854, allocations: 15.98 kB / 0.5583 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.646e-05/0.1855, allocations: 47.83 kB / 0.5583 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.1857, allocations: 75.73 kB / 0.5584 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.1857, allocations: 4 kB / 0.5584 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.1858, allocations: 51.92 kB / 0.5584 GB, free: 3.586 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.891e-05/0.1859, allocations: 19.92 kB / 0.5585 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.161e-05/0.186, allocations: 43.67 kB / 0.5585 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.1862, allocations: 127.4 kB / 0.5586 GB, free: 3.398 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1862, allocations: 0 / 0.5586 GB, free: 3.398 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1862, allocations: 0 / 0.5586 GB, free: 3.398 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1863, allocations: 0 / 0.5586 GB, free: 3.398 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006675/0.1869, allocations: 442.5 kB / 0.5591 GB, free: 2.914 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.187, allocations: 12.03 kB / 0.5591 GB, free: 2.902 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.514e-05/0.187, allocations: 38.73 kB / 0.5591 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.1871, allocations: 16.84 kB / 0.5591 GB, free: 2.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.1873, allocations: 212.1 kB / 0.5593 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1873, allocations: 384 / 0.5593 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.1874, allocations: 8.375 kB / 0.5593 GB, free: 2.586 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.1875, allocations: 66.22 kB / 0.5594 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.1876, allocations: 7.891 kB / 0.5594 GB, free: 2.508 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.1876, allocations: 8 kB / 0.5594 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1876, allocations: 4 kB / 0.5594 GB, free: 2.496 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.1877, allocations: 43.91 kB / 0.5595 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.1882, allocations: 320.7 kB / 0.5598 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.1883, allocations: 66.48 kB / 0.5598 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.847e-05/0.1884, allocations: 24.83 kB / 0.5598 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.1884, allocations: 8 kB / 0.5599 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.1884, allocations: 30.56 kB / 0.5599 GB, free: 1.941 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1884, allocations: 0 / 0.5599 GB, free: 1.941 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001068/0.1895, allocations: 313.2 kB / 0.5602 GB, free: 1.629 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.1895, allocations: 59.28 kB / 0.5602 GB, free: 1.559 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.1898, allocations: 239.5 kB / 0.5605 GB, free: 1.309 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.1898, allocations: 25.7 kB / 0.5605 GB, free: 1.277 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.732e-05/0.1899, allocations: 116.1 kB / 0.5606 GB, free: 1.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.387e-05/0.19, allocations: 47.52 kB / 0.5606 GB, free: 1.113 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.1901, allocations: 25.72 kB / 0.5607 GB, free: 1.082 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1902, allocations: 326.8 kB / 0.561 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.971e-05/0.1903, allocations: 39.98 kB / 0.561 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.898e-05/0.1904, allocations: 39.97 kB / 0.5611 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.1906, allocations: 88.2 kB / 0.5611 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1906, allocations: 0 / 0.5611 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002976/0.1909, allocations: 137.6 kB / 0.5613 GB, free: 460 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.1909, allocations: 9.875 kB / 0.5613 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1909, allocations: 4 kB / 0.5613 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.191, allocations: 0 / 0.5613 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.1911, allocations: 31.92 kB / 0.5613 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.122e-05/0.1911, allocations: 3.938 kB / 0.5613 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.1912, allocations: 7.984 kB / 0.5613 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1912, allocations: 4 kB / 0.5613 GB, free: 400 kB / 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 (13): * Single equations (assignments): 13 * 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.0001339/0.1913, allocations: 133.8 kB / 0.5615 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.1914, allocations: 16.02 kB / 0.5615 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/0.1917, allocations: 167.7 kB / 0.5616 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.1917, allocations: 4 kB / 0.5616 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1918, allocations: 3.938 kB / 0.5616 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1918, allocations: 0 / 0.5616 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007077/0.1925, allocations: 483.1 kB / 0.5621 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1925, allocations: 4.031 kB / 0.5621 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.536e-05/0.1926, allocations: 23.98 kB / 0.5621 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1926, allocations: 3.938 kB / 0.5621 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1926, allocations: 4 kB / 0.5621 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1926, allocations: 0 / 0.5621 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1926, allocations: 0 / 0.5621 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.1929, allocations: 250.1 kB / 0.5624 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.477e-05/0.193, allocations: 89.02 kB / 0.5625 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.193, allocations: 4 kB / 0.5625 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.1931, allocations: 4 kB / 0.5625 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.1931, allocations: 11.98 kB / 0.5625 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.1931, allocations: 7.938 kB / 0.5625 GB, free: 15.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001715/0.1933, allocations: 181.2 kB / 0.5627 GB, free: 14.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1933, allocations: 0 / 0.5627 GB, free: 14.92 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.1936, allocations: 27.94 kB / 0.5627 GB, free: 14.89 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 (13): * Single equations (assignments): 13 * 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.002281/0.1959, allocations: 1.133 MB / 0.5638 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.1961, allocations: 95.83 kB / 0.5639 GB, free: 13.81 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1961, allocations: 0 / 0.5639 GB, free: 13.81 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.1962, allocations: 55.84 kB / 0.5639 GB, free: 13.76 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.1966, allocations: 27.03 kB / 0.564 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.199, allocations: 1.846 MB / 0.5658 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.1994, allocations: 0.7197 MB / 0.5665 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.519e-05/0.1995, allocations: 16.53 kB / 0.5665 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.815e-05/0.1996, allocations: 47.42 kB / 0.5665 GB, free: 10.99 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1996, allocations: 0 / 0.5665 GB, free: 10.99 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.2245, allocations: 3.533 MB / 0.57 GB, free: 7.496 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.331/8.555, allocations: 13.16 kB / 0.57 GB, free: 7.488 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.70156672084704]