Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001669/0.001669, 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.00218/0.00218, 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.539/1.539, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2698/0.2698, allocations: 44.91 MB / 355.8 MB, free: 12.3 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.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",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.003085/0.003085, allocations: 71.91 kB / 0.4886 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1766, allocations: 65.42 MB / 0.5524 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.005409/0.182, allocations: 1.953 MB / 0.5543 GB, free: 8.164 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003145/0.1852, allocations: 1.099 MB / 0.5554 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002019/0.1854, allocations: 0 / 0.5554 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007793/0.1861, allocations: 263.2 kB / 0.5557 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008671/0.187, allocations: 263 kB / 0.5559 GB, free: 6.543 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.1893, allocations: 0.6303 MB / 0.5565 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008034/0.1901, allocations: 331 kB / 0.5569 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.1904, allocations: 48.88 kB / 0.5569 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003534/0.1907, allocations: 143.4 kB / 0.557 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000464/0.1912, allocations: 219.2 kB / 0.5572 GB, free: 5.203 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.972e-05/0.1912, allocations: 8 kB / 0.5573 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002327/0.1915, allocations: 51.98 kB / 0.5573 GB, free: 5.145 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002446/0.1917, allocations: 107.6 kB / 0.5574 GB, free: 5.039 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.1919, allocations: 122.9 kB / 0.5575 GB, free: 4.918 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007513/0.1927, allocations: 310.4 kB / 0.5578 GB, free: 4.613 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1927, allocations: 0 / 0.5578 GB, free: 4.613 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1927, allocations: 0 / 0.5578 GB, free: 4.613 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.414e-05/0.1927, allocations: 4 kB / 0.5578 GB, free: 4.609 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00162/0.1943, allocations: 0.6764 MB / 0.5585 GB, free: 3.883 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/0.1944, allocations: 8.031 kB / 0.5585 GB, free: 3.875 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.577e-05/0.1944, allocations: 8.188 kB / 0.5585 GB, free: 3.867 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.547e-05/0.1945, allocations: 38.62 kB / 0.5585 GB, free: 3.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.1946, allocations: 52.61 kB / 0.5586 GB, free: 3.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006373/0.1953, allocations: 326.6 kB / 0.5589 GB, free: 3.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.1953, allocations: 12.38 kB / 0.5589 GB, free: 3.398 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.1953, allocations: 8.125 kB / 0.5589 GB, free: 3.391 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.1956, allocations: 101.6 kB / 0.559 GB, free: 3.285 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1956, allocations: 0 / 0.559 GB, free: 3.285 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.1957, allocations: 0 / 0.559 GB, free: 3.285 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.1957, allocations: 4 kB / 0.559 GB, free: 3.281 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002509/0.1959, allocations: 75.88 kB / 0.5591 GB, free: 3.207 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.1969, allocations: 480.5 kB / 0.5595 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.1972, allocations: 74.48 kB / 0.5596 GB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.1973, allocations: 28.97 kB / 0.5596 GB, free: 2.574 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.1973, allocations: 7.984 kB / 0.5597 GB, free: 2.566 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.1973, allocations: 30.56 kB / 0.5597 GB, free: 2.527 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.136e-06/0.1974, allocations: 0 / 0.5597 GB, free: 2.527 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006487/0.198, allocations: 165.2 kB / 0.5598 GB, free: 2.359 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.1981, allocations: 59.41 kB / 0.5599 GB, free: 2.289 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.1993, allocations: 0.5957 MB / 0.5605 GB, free: 1.684 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.1993, allocations: 25.7 kB / 0.5605 GB, free: 1.652 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.1995, allocations: 212.1 kB / 0.5607 GB, free: 1.441 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.1996, allocations: 15.84 kB / 0.5607 GB, free: 1.426 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.84e-05/0.1997, allocations: 21.72 kB / 0.5607 GB, free: 1.398 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002636/0.1999, allocations: 358.8 kB / 0.5611 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.897e-05/0.2, allocations: 19.98 kB / 0.5611 GB, free: 1.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.531e-05/0.2001, allocations: 31.98 kB / 0.5611 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.2003, allocations: 64.81 kB / 0.5612 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.2003, allocations: 3.938 kB / 0.5612 GB, free: 0.918 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000396/0.2007, allocations: 137.3 kB / 0.5613 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.2008, allocations: 4 kB / 0.5613 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.2008, allocations: 3.984 kB / 0.5613 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.2008, allocations: 7.875 kB / 0.5613 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.2009, allocations: 12.44 kB / 0.5614 GB, free: 0.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.2009, allocations: 4 kB / 0.5614 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.201, allocations: 7.938 kB / 0.5614 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.2011, allocations: 11.98 kB / 0.5614 GB, free: 0.7266 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 (6): * Single equations (assignments): 6 * 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.0002656/0.2013, allocations: 168 kB / 0.5615 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.2015, allocations: 51.69 kB / 0.5616 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005874/0.2021, allocations: 161.1 kB / 0.5617 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2021, allocations: 0 / 0.5617 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.2021, allocations: 0 / 0.5617 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2021, allocations: 4 kB / 0.5617 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005563/0.2026, allocations: 301.5 kB / 0.562 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.2026, allocations: 3.984 kB / 0.562 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.322e-05/0.2027, allocations: 8 kB / 0.562 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2027, allocations: 4 kB / 0.562 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.2027, allocations: 3.938 kB / 0.5621 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2027, allocations: 0 / 0.5621 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2027, allocations: 0 / 0.5621 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.2032, allocations: 239.2 kB / 0.5623 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.2033, allocations: 120.9 kB / 0.5624 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.126e-05/0.2034, allocations: 3.938 kB / 0.5624 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.2035, allocations: 4 kB / 0.5624 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.2036, allocations: 3.984 kB / 0.5624 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.2036, allocations: 4 kB / 0.5624 GB, free: 15.56 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007815/0.2044, allocations: 450.8 kB / 0.5628 GB, free: 15.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2044, allocations: 0 / 0.5628 GB, free: 15.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004907/0.2048, allocations: 39.89 kB / 0.5629 GB, free: 15.09 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 (6): * Single equations (assignments): 6 * 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.004017/0.2089, allocations: 1.257 MB / 0.5641 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000382/0.2092, allocations: 75.77 kB / 0.5642 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.2092, allocations: 4 kB / 0.5642 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.2094, allocations: 31.98 kB / 0.5642 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000909/0.2103, allocations: 77.77 kB / 0.5643 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006276/0.2165, allocations: 2.977 MB / 0.5672 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007918/0.2173, allocations: 0.8139 MB / 0.568 GB, free: 9.996 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002254/0.2176, allocations: 57.88 kB / 0.568 GB, free: 9.941 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.2178, allocations: 107.4 kB / 0.5681 GB, free: 9.836 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.2178, allocations: 0 / 0.5681 GB, free: 9.836 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.2479, allocations: 7.044 MB / 0.575 GB, free: 2.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.775/9.023, allocations: 8.984 kB / 0.575 GB, free: 2.812 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.410266543971375]