Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.0008873/0.0008873, 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.0009237/0.0009237, 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.9212/0.9212, 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.2501/0.2501, allocations: 32.8 MB / 293.5 MB, free: 1.223 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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 3.938 kB / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.149e-05, allocations: 2.844 kB / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.002294/0.002316, allocations: 1.651 MB / 441.2 MB, free: 2.586 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005654/0.002881, allocations: 0.7673 MB / 442 MB, free: 1.816 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.153e-05/0.002913, allocations: 0 / 442 MB, free: 1.816 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.003117, allocations: 27.78 kB / 442 MB, free: 1.789 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.003312, allocations: 51.7 kB / 442.1 MB, free: 1.738 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.758e-06/0.003316, allocations: 0 / 442.1 MB, free: 1.738 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.003445, allocations: 39.83 kB / 442.1 MB, free: 1.699 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.943e-05/0.003475, allocations: 4 kB / 442.1 MB, free: 1.695 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.424e-05/0.003509, allocations: 23.91 kB / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.016e-05/0.003549, allocations: 4 kB / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.00356, allocations: 4 kB / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.933e-05/0.003599, allocations: 11.98 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.824e-05/0.003637, allocations: 15.94 kB / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.003654, allocations: 7.938 kB / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.003764, allocations: 63.73 kB / 442.3 MB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.003766, allocations: 0 / 442.3 MB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.003768, allocations: 4 kB / 442.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.003772, allocations: 4 kB / 442.3 MB, free: 1.559 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002607/0.004033, allocations: 290 kB / 442.5 MB, free: 1.242 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.004068, allocations: 8.031 kB / 442.6 MB, free: 1.234 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.806e-05/0.004096, allocations: 42.67 kB / 442.6 MB, free: 1.184 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.099e-05/0.004117, allocations: 8.891 kB / 442.6 MB, free: 1.176 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.573e-05/0.004203, allocations: 117.7 kB / 442.7 MB, free: 1.035 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-06/0.004211, allocations: 384 / 442.7 MB, free: 1.035 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.098e-06/0.00422, allocations: 8.359 kB / 442.7 MB, free: 1.027 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.004348, allocations: 127.2 kB / 442.9 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.004354, allocations: 192 / 442.9 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.004363, allocations: 4.375 kB / 442.9 MB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.004393, allocations: 28.11 kB / 442.9 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.661e-05/0.004449, allocations: 47.84 kB / 442.9 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1817/0.1862, allocations: 0.8562 MB / 443.8 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.241e-05/0.1863, allocations: 166.6 kB / 444 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.975e-05/0.1863, allocations: 85.83 kB / 444 MB, free: 46.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.1863, allocations: 75.28 kB / 444.1 MB, free: 46.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.1863, allocations: 105.8 kB / 444.2 MB, free: 46.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 2.725e-06/0.1863, allocations: 0 / 444.2 MB, free: 46.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001006/0.1864, allocations: 44.73 kB / 444.3 MB, free: 46.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.462e-05/0.1865, allocations: 126.7 kB / 444.4 MB, free: 45.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.1866, allocations: 197.9 kB / 444.6 MB, free: 45.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.54e-06/0.1866, allocations: 25.7 kB / 444.6 MB, free: 45.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.668e-05/0.1867, allocations: 148.3 kB / 444.7 MB, free: 45.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-06/0.1867, allocations: 10.8 kB / 444.8 MB, free: 45.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.1867, allocations: 43.41 kB / 444.8 MB, free: 45.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.422e-05/0.1868, allocations: 317.8 kB / 445.1 MB, free: 45.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.261e-05/0.1868, allocations: 33.53 kB / 445.1 MB, free: 45.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.1869, allocations: 154.7 kB / 445.3 MB, free: 45.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.187, allocations: 200.9 kB / 445.5 MB, free: 44.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.187, allocations: 5.094 kB / 445.5 MB, free: 44.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001979/0.1872, allocations: 198.6 kB / 445.7 MB, free: 44.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1872, allocations: 12.53 kB / 445.7 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1872, allocations: 3 kB / 445.7 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1872, allocations: 9.438 kB / 445.7 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.1873, allocations: 40.8 kB / 445.7 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1873, allocations: 8.453 kB / 445.8 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.743e-05/0.1874, allocations: 24.92 kB / 445.8 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.1874, allocations: 14.56 kB / 445.8 MB, free: 44.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.723e-05/0.1874, allocations: 212.7 kB / 446 MB, free: 44.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.1875, allocations: 120.7 kB / 446.1 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.1875, allocations: 115.2 kB / 446.2 MB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.1875, allocations: 176.3 kB / 446.4 MB, free: 44.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/0.1875, allocations: 186.1 kB / 446.6 MB, free: 44.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.1875, allocations: 180.5 kB / 446.8 MB, free: 43.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.578e-05/0.1876, allocations: 397.6 kB / 447.2 MB, free: 43.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.1876, allocations: 105 kB / 447.3 MB, free: 43.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.726e-06/0.1877, allocations: 105.7 kB / 447.4 MB, free: 43.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.416e-05/0.1877, allocations: 180.2 kB / 447.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.1877, allocations: 178.9 kB / 447.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.395e-05/0.1877, allocations: 183.5 kB / 447.9 MB, free: 42.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.421e-05/0.1877, allocations: 183.1 kB / 448.1 MB, free: 42.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.395e-05/0.1878, allocations: 312.2 kB / 448.4 MB, free: 42.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.1878, allocations: 117 kB / 448.5 MB, free: 42.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.1878, allocations: 186.2 kB / 448.7 MB, free: 41.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.963e-05/0.1879, allocations: 108.9 kB / 448.8 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.1879, allocations: 182.2 kB / 449 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.1879, allocations: 108.2 kB / 449.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.114e-05/0.1879, allocations: 132.4 kB / 449.2 MB, free: 41.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1879, allocations: 0 / 449.2 MB, free: 41.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001765/0.1881, allocations: 17.28 kB / 449.2 MB, free: 41.51 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 (0): * Single equations (assignments): 0 * 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.0004789/0.1886, allocations: 0.9242 MB / 450.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.1887, allocations: 74.58 kB / 450.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1887, allocations: 0 / 450.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.81e-07/0.1887, allocations: 0 / 450.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.1889, allocations: 459.8 kB / 450.6 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.19, allocations: 1.872 MB / 452.5 MB, free: 38.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.875e-05/0.1901, allocations: 84.06 kB / 452.6 MB, free: 38.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002114/0.1903, allocations: 51.17 kB / 452.7 MB, free: 38.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.362e-05/0.1904, allocations: 31.7 kB / 452.7 MB, free: 38.45 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1904, allocations: 0 / 452.7 MB, free: 38.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.2114, allocations: 2.745 MB / 455.4 MB, free: 37.28 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.52/6.732, allocations: 14.47 kB / 455.4 MB, free: 37.27 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.756192764267325]