Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.001134/0.001134, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009561/0.0009561, allocations: 174 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9014/0.9014, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2316/0.2316, allocations: 32.79 MB / 293.5 MB, free: 1.207 MB / 266.7 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.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.595e-05, allocations: 3.266 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.002819/0.002845, allocations: 1.983 MB / 441.6 MB, free: 2.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.00409, allocations: 0.9926 MB / 442.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.454e-05/0.004185, allocations: 3.938 kB / 442.6 MB, free: 1.227 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003622/0.004547, allocations: 255.1 kB / 442.8 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004046/0.004951, allocations: 274.8 kB / 443.1 MB, free: 0.707 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006729/0.005624, allocations: 486 kB / 443.6 MB, free: 252 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1676/0.1732, allocations: 335.5 kB / 443.9 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.1734, allocations: 42.53 kB / 443.9 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002347/0.1736, allocations: 183.4 kB / 444.1 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.1738, allocations: 203.4 kB / 444.3 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.1738, allocations: 11.84 kB / 444.3 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.174, allocations: 70.2 kB / 444.4 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.6e-05/0.1741, allocations: 101.6 kB / 444.5 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.1741, allocations: 60.36 kB / 444.6 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.1744, allocations: 323.5 kB / 444.9 MB, free: 43.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1744, allocations: 0 / 444.9 MB, free: 43.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1744, allocations: 0 / 444.9 MB, free: 43.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.1744, allocations: 0 / 444.9 MB, free: 43.5 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005236/0.175, allocations: 0.6239 MB / 445.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.175, allocations: 8.5 kB / 445.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.083e-05/0.175, allocations: 47.53 kB / 445.5 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/0.1751, allocations: 43.66 kB / 445.6 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.1753, allocations: 276 kB / 445.9 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.1753, allocations: 10.47 kB / 445.9 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.1753, allocations: 13.55 kB / 445.9 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.1755, allocations: 104.1 kB / 446 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1755, allocations: 6.859 kB / 446 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1755, allocations: 7.375 kB / 446 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1755, allocations: 3.406 kB / 446 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.516e-05/0.1756, allocations: 68.8 kB / 446.1 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.176, allocations: 464.4 kB / 446.5 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.1762, allocations: 84.55 kB / 446.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.106e-05/0.1762, allocations: 40.02 kB / 446.6 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1762, allocations: 0 / 446.6 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.1762, allocations: 43.83 kB / 446.7 MB, free: 42.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 7.82e-07/0.1762, allocations: 3.938 kB / 446.7 MB, free: 42.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005979/0.1768, allocations: 395.8 kB / 447.1 MB, free: 42.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.1769, allocations: 54.19 kB / 447.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/0.1772, allocations: 0.5914 MB / 447.7 MB, free: 42.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.1772, allocations: 31.55 kB / 447.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.459e-05/0.1773, allocations: 216.5 kB / 448 MB, free: 42.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.1773, allocations: 54.34 kB / 448 MB, free: 41.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.1774, allocations: 31.7 kB / 448 MB, free: 41.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.319e-05/0.1774, allocations: 365.1 kB / 448.4 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.72e-05/0.1775, allocations: 45.05 kB / 448.4 MB, free: 41.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-05/0.1776, allocations: 55.22 kB / 448.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.1777, allocations: 127.5 kB / 448.6 MB, free: 41.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1777, allocations: 0 / 448.6 MB, free: 41.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000195/0.1779, allocations: 204.2 kB / 448.8 MB, free: 41.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1779, allocations: 7.719 kB / 448.8 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1779, allocations: 0 / 448.8 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1779, allocations: 3.281 kB / 448.8 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.959e-05/0.178, allocations: 33.97 kB / 448.9 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.178, allocations: 0 / 448.9 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.744e-05/0.1781, allocations: 23.47 kB / 448.9 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.1781, allocations: 5.656 kB / 448.9 MB, free: 41.58 MB / 410.7 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 (17): * Single equations (assignments): 17 * 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 9.356e-05/0.1782, allocations: 176.2 kB / 449.1 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.1782, allocations: 46.72 kB / 449.1 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.1785, allocations: 243.4 kB / 449.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1785, allocations: 0 / 449.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1785, allocations: 3.328 kB / 449.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1785, allocations: 2.875 kB / 449.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.179, allocations: 0.5826 MB / 449.9 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.179, allocations: 0 / 449.9 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.091e-05/0.179, allocations: 34.72 kB / 450 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.179, allocations: 0 / 450 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.179, allocations: 10.2 kB / 450 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.179, allocations: 0 / 450 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.179, allocations: 0 / 450 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.1792, allocations: 307.5 kB / 450.3 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.1793, allocations: 49.75 kB / 450.3 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.1793, allocations: 4.188 kB / 450.3 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.78e-05/0.1794, allocations: 9.875 kB / 450.3 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.1794, allocations: 12.22 kB / 450.4 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.1794, allocations: 2.781 kB / 450.4 MB, free: 40.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002731/0.1797, allocations: 445.9 kB / 450.8 MB, free: 40.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1797, allocations: 0 / 450.8 MB, free: 40.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002145/0.1799, allocations: 58.34 kB / 450.9 MB, free: 40.54 MB / 410.7 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 (17): * Single equations (assignments): 17 * 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.001546/0.1814, allocations: 1.498 MB / 452.4 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.1816, allocations: 127.1 kB / 452.5 MB, free: 39.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1816, allocations: 0 / 452.5 MB, free: 39.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.038e-05/0.1817, allocations: 67.03 kB / 452.5 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.1821, allocations: 88.36 kB / 452.6 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.1847, allocations: 3.191 MB / 455.8 MB, free: 37.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.1848, allocations: 209.8 kB / 456 MB, free: 37.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.1849, allocations: 56.02 kB / 456.1 MB, free: 37.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.1851, allocations: 135.8 kB / 456.2 MB, free: 37.57 MB / 410.7 MB Notification: Performance of SimCode: time 2.564e-06/0.1851, allocations: 0 / 456.2 MB, free: 37.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/0.2058, allocations: 8.482 MB / 464.7 MB, free: 35.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.761/6.966, allocations: 6.938 kB / 464.7 MB, free: 35.64 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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: 8.972330439835787]