Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.0009143/0.0009143, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001026/0.001026, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.9273/0.9273, 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.2586/0.2586, allocations: 32.79 MB / 293.5 MB, free: 1.234 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.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.393e-05, allocations: 4.25 kB / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002164/0.002188, allocations: 1.607 MB / 441.2 MB, free: 2.629 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007426/0.00293, allocations: 0.5414 MB / 441.8 MB, free: 2.082 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.337e-05/0.002994, allocations: 3.938 kB / 441.8 MB, free: 2.078 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.003253, allocations: 75.7 kB / 441.8 MB, free: 2.004 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.003555, allocations: 111.5 kB / 441.9 MB, free: 1.895 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.003825, allocations: 109.8 kB / 442 MB, free: 1.789 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.003978, allocations: 91.73 kB / 442.1 MB, free: 1.699 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.894e-05/0.004077, allocations: 8 kB / 442.1 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.05e-05/0.004148, allocations: 51.81 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.42e-05/0.004242, allocations: 51.94 kB / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.004258, allocations: 4 kB / 442.2 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.49e-05/0.004343, allocations: 43.92 kB / 442.3 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.004395, allocations: 31.8 kB / 442.3 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.004423, allocations: 15.92 kB / 442.3 MB, free: 1.496 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.004589, allocations: 111.6 kB / 442.4 MB, free: 1.387 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004591, allocations: 0 / 442.4 MB, free: 1.387 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004592, allocations: 0 / 442.4 MB, free: 1.387 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.004597, allocations: 0 / 442.4 MB, free: 1.387 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003877/0.004984, allocations: 337.6 kB / 442.8 MB, free: 1.027 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.005024, allocations: 16.03 kB / 442.8 MB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.923e-05/0.005054, allocations: 34.75 kB / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.005083, allocations: 12.84 kB / 442.8 MB, free: 0.957 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.005232, allocations: 142.3 kB / 443 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.005241, allocations: 4.375 kB / 443 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.005261, allocations: 4.375 kB / 443 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.005376, allocations: 58.17 kB / 443 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.005385, allocations: 192 / 443 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-06/0.005394, allocations: 3.938 kB / 443 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.005399, allocations: 0 / 443 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.713e-05/0.005466, allocations: 35.97 kB / 443.1 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.00577, allocations: 259.9 kB / 443.3 MB, free: 392 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.652e-05/0.005846, allocations: 50.47 kB / 443.4 MB, free: 332 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.02e-05/0.005876, allocations: 20.94 kB / 443.4 MB, free: 308 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.005896, allocations: 4 kB / 443.4 MB, free: 304 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.005914, allocations: 30.56 kB / 443.4 MB, free: 264 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.005915, allocations: 0 / 443.4 MB, free: 264 kB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008541/0.006769, allocations: 245.2 kB / 443.7 MB, free: 12 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1836/0.1904, allocations: 54.44 kB / 443.7 MB, free: 46.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.1906, allocations: 211 kB / 443.9 MB, free: 46.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.1906, allocations: 27.08 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.056e-05/0.1907, allocations: 106.4 kB / 444.1 MB, free: 46.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.1907, allocations: 27.48 kB / 444.1 MB, free: 46.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.1907, allocations: 20.22 kB / 444.1 MB, free: 46.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.708e-05/0.1908, allocations: 332.7 kB / 444.4 MB, free: 45.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.841e-05/0.1908, allocations: 24.48 kB / 444.5 MB, free: 45.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.346e-05/0.1909, allocations: 34.8 kB / 444.5 MB, free: 45.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.052e-05/0.191, allocations: 78.08 kB / 444.6 MB, free: 45.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.191, allocations: 0 / 444.6 MB, free: 45.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001305/0.1911, allocations: 122.1 kB / 444.7 MB, free: 45.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1911, allocations: 9.312 kB / 444.7 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1911, allocations: 0 / 444.7 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1911, allocations: 0 / 444.7 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.723e-05/0.1912, allocations: 28.06 kB / 444.7 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1912, allocations: 0 / 444.7 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.412e-05/0.1912, allocations: 7.531 kB / 444.7 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1912, allocations: 2.562 kB / 444.7 MB, free: 45.86 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 (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 5.318e-05/0.1913, allocations: 128.5 kB / 444.9 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.1913, allocations: 10.61 kB / 444.9 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.1915, allocations: 131.8 kB / 445 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1915, allocations: 8.812 kB / 445 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1915, allocations: 0 / 445 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1915, allocations: 0 / 445 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.1918, allocations: 387.5 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1918, allocations: 1.688 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.455e-05/0.1918, allocations: 18.72 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1918, allocations: 2.656 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.1918, allocations: 3.625 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1918, allocations: 0 / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1918, allocations: 6.406 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.192, allocations: 220.6 kB / 445.6 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-06/0.192, allocations: 11.95 kB / 445.7 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.192, allocations: 6.609 kB / 445.7 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.491e-05/0.192, allocations: 2.875 kB / 445.7 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.192, allocations: 8.188 kB / 445.7 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.192, allocations: 2.656 kB / 445.7 MB, free: 45.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.029e-05/0.1921, allocations: 165.4 kB / 445.8 MB, free: 45.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1921, allocations: 0 / 445.8 MB, free: 45.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001653/0.1923, allocations: 23.53 kB / 445.9 MB, free: 45.21 MB / 410.7 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.000895/0.1932, allocations: 1.134 MB / 447 MB, free: 44.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.1933, allocations: 69.52 kB / 447.1 MB, free: 44.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1933, allocations: 2.906 kB / 447.1 MB, free: 44.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.239e-05/0.1934, allocations: 39.66 kB / 447.1 MB, free: 44.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.1936, allocations: 25.94 kB / 447.1 MB, free: 44.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009388/0.1946, allocations: 1.716 MB / 448.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.651e-05/0.1946, allocations: 101.2 kB / 448.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.188e-05/0.1947, allocations: 25.58 kB / 449 MB, free: 43.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.1947, allocations: 33.62 kB / 449 MB, free: 42.99 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1947, allocations: 0 / 449 MB, free: 42.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.2109, allocations: 3.876 MB / 452.9 MB, free: 41.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.605/6.815, allocations: 3.188 kB / 452.9 MB, free: 41.64 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.85884072817862]