Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.001812/0.001812, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.002256/0.002256, allocations: 215.1 kB / 21.45 MB, free: 1.641 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.537/1.537, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2439/0.2439, allocations: 46.92 MB / 357.8 MB, free: 10.3 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+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.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 67.91 kB / 0.4916 GB, free: 7.922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1659, allocations: 65.99 MB / 0.5561 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003625/0.1695, allocations: 1.611 MB / 0.5577 GB, free: 4.188 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.1716, allocations: 1.171 MB / 0.5588 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.466e-05/0.1717, allocations: 3.938 kB / 0.5588 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.172, allocations: 23.78 kB / 0.5588 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.1723, allocations: 83.62 kB / 0.5589 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.1726, allocations: 79.77 kB / 0.559 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.1728, allocations: 71.77 kB / 0.559 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.1729, allocations: 11.98 kB / 0.5591 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.379e-05/0.173, allocations: 23.92 kB / 0.5591 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.1732, allocations: 43.77 kB / 0.5591 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.1732, allocations: 8 kB / 0.5591 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.1734, allocations: 95.95 kB / 0.5592 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.931e-05/0.1734, allocations: 15.91 kB / 0.5592 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.1735, allocations: 23.81 kB / 0.5593 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.1738, allocations: 139.5 kB / 0.5594 GB, free: 2.395 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1738, allocations: 0 / 0.5594 GB, free: 2.395 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1738, allocations: 0 / 0.5594 GB, free: 2.395 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1738, allocations: 4 kB / 0.5594 GB, free: 2.391 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006418/0.1745, allocations: 402.8 kB / 0.5598 GB, free: 1.949 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.1745, allocations: 16.02 kB / 0.5598 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.339e-05/0.1745, allocations: 192 / 0.5598 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.656e-05/0.1746, allocations: 34.75 kB / 0.5598 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.1746, allocations: 8.891 kB / 0.5598 GB, free: 1.883 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.1749, allocations: 200.1 kB / 0.56 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-06/0.1749, allocations: 384 / 0.56 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.471e-05/0.1749, allocations: 8.125 kB / 0.56 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.1751, allocations: 59.41 kB / 0.5601 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1751, allocations: 4 kB / 0.5601 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1751, allocations: 0 / 0.5601 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1751, allocations: 3.984 kB / 0.5601 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.1752, allocations: 23.97 kB / 0.5601 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.1757, allocations: 276.8 kB / 0.5604 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.1759, allocations: 38.56 kB / 0.5604 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.854e-05/0.176, allocations: 24.94 kB / 0.5604 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.176, allocations: 0 / 0.5604 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.176, allocations: 30.56 kB / 0.5605 GB, free: 1.105 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.176, allocations: 0 / 0.5605 GB, free: 1.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006363/0.1767, allocations: 141.4 kB / 0.5606 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.206e-05/0.1767, allocations: 81.11 kB / 0.5607 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.177, allocations: 151.8 kB / 0.5608 GB, free: 0.707 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.177, allocations: 29.7 kB / 0.5609 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/0.1771, allocations: 92.12 kB / 0.5609 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.1771, allocations: 23.78 kB / 0.561 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.1771, allocations: 17.72 kB / 0.561 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1773, allocations: 330.7 kB / 0.5613 GB, free: 204 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.659e-05/0.1774, allocations: 23.92 kB / 0.5613 GB, free: 180 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-05/0.1775, allocations: 33.77 kB / 0.5614 GB, free: 140 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.1776, allocations: 44.83 kB / 0.5614 GB, free: 92 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1776, allocations: 0 / 0.5614 GB, free: 92 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002015/0.1778, allocations: 81.62 kB / 0.5615 GB, free: 4 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1778, allocations: 4 kB / 0.5615 GB, free: 0 / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1778, allocations: 4.359 kB / 0.5615 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.1779, allocations: 4 kB / 0.5615 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.232e-05/0.1779, allocations: 15.92 kB / 0.5615 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1779, allocations: 0 / 0.5615 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.545e-05/0.178, allocations: 11.92 kB / 0.5615 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.178, allocations: 0 / 0.5615 GB, free: 15.96 MB / 430.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 (5): * Single equations (assignments): 5 * 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.0001343/0.1781, allocations: 120 kB / 0.5616 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.1782, allocations: 7.953 kB / 0.5616 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.1784, allocations: 93.97 kB / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1784, allocations: 0 / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1785, allocations: 0 / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1785, allocations: 3.938 kB / 0.5617 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005233/0.179, allocations: 350.5 kB / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.179, allocations: 4 kB / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.793e-05/0.179, allocations: 8.312 kB / 0.5621 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.179, allocations: 7.984 kB / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.1791, allocations: 7.938 kB / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1791, allocations: 0 / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1791, allocations: 4 kB / 0.5621 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.1793, allocations: 175.4 kB / 0.5623 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.286e-05/0.1794, allocations: 85.05 kB / 0.5623 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.1795, allocations: 3.938 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/0.1795, allocations: 8 kB / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.1796, allocations: 11.98 kB / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1796, allocations: 0 / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.1797, allocations: 113.3 kB / 0.5625 GB, free: 14.87 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1797, allocations: 0 / 0.5625 GB, free: 14.87 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003146/0.18, allocations: 43.8 kB / 0.5625 GB, free: 14.83 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.002449/0.1825, allocations: 1.103 MB / 0.5636 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002391/0.1827, allocations: 39.97 kB / 0.5636 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1827, allocations: 0 / 0.5636 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.513e-05/0.1828, allocations: 27.97 kB / 0.5637 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.1832, allocations: 15.98 kB / 0.5637 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.1852, allocations: 1.433 MB / 0.5651 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.1857, allocations: 0.6924 MB / 0.5658 GB, free: 11.58 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.005e-05/0.1858, allocations: 19.77 kB / 0.5658 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-05/0.1858, allocations: 31.42 kB / 0.5658 GB, free: 11.54 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1858, allocations: 0 / 0.5658 GB, free: 11.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.2079, allocations: 3.275 MB / 0.569 GB, free: 8.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.561/8.769, allocations: 18.23 kB / 0.569 GB, free: 8.262 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test19_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test19.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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: 12.109562264988199]