Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001219, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.211/0.211, allocations: 44.17 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 60.28 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09087/0.09209, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003216/0.09534, allocations: 1.628 MB / 471 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008116/0.09618, allocations: 439 kB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.583e-05/0.09625, allocations: 4 kB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004941/0.09676, allocations: 447.1 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003849/0.09718, allocations: 255.4 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.09754, allocations: 123 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000233/0.09779, allocations: 167.6 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.09791, allocations: 19.98 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.09808, allocations: 107.8 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.09834, allocations: 207.6 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.09837, allocations: 4 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.09852, allocations: 55.91 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.09864, allocations: 79.69 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.09875, allocations: 111 kB / 473 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.09912, allocations: 267.2 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.09913, allocations: 0 / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.09914, allocations: 0 / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.09916, allocations: 0 / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008108/0.09997, allocations: 0.6453 MB / 473.9 MB, free: 9.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.1, allocations: 8.031 kB / 473.9 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.1001, allocations: 34.75 kB / 473.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.106e-05/0.1001, allocations: 36.47 kB / 473.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.1004, allocations: 308.1 kB / 474.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1005, allocations: 4.375 kB / 474.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.1005, allocations: 4.375 kB / 474.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.1006, allocations: 61.56 kB / 474.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1007, allocations: 4 kB / 474.3 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.1007, allocations: 0 / 474.3 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1007, allocations: 0 / 474.3 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.535e-05/0.1008, allocations: 35.91 kB / 474.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.1012, allocations: 400.6 kB / 474.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.1013, allocations: 50.58 kB / 474.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.055e-05/0.1014, allocations: 20.94 kB / 474.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.1014, allocations: 0 / 474.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.1014, allocations: 30.56 kB / 474.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.1015, allocations: 0 / 474.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000905/0.1024, allocations: 303.8 kB / 475.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.1024, allocations: 63.28 kB / 475.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008097/0.1032, allocations: 0.8613 MB / 476.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.1033, allocations: 25.7 kB / 476.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.1034, allocations: 224 kB / 476.3 MB, free: 7.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.1035, allocations: 31.55 kB / 476.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.1035, allocations: 25.72 kB / 476.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1037, allocations: 354.8 kB / 476.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.655e-05/0.1038, allocations: 27.97 kB / 476.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.198e-05/0.1038, allocations: 24.06 kB / 476.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.104, allocations: 68.91 kB / 476.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.104, allocations: 0 / 476.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002403/0.1043, allocations: 137.1 kB / 477 MB, free: 6.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1043, allocations: 8 kB / 477 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1043, allocations: 0 / 477 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1043, allocations: 0 / 477 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.425e-05/0.1044, allocations: 19.92 kB / 477 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1044, allocations: 0 / 477 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.13e-05/0.1045, allocations: 7.984 kB / 477 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.1045, allocations: 8 kB / 477 MB, free: 6.355 MB / 350.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 (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 0.0001829/0.1047, allocations: 217.7 kB / 477.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.1048, allocations: 39.53 kB / 477.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003118/0.1051, allocations: 157.3 kB / 477.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.1051, allocations: 7.938 kB / 477.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1051, allocations: 3.984 kB / 477.4 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1051, allocations: 3.938 kB / 477.4 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005946/0.1057, allocations: 0.4992 MB / 477.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1057, allocations: 0 / 477.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.948e-05/0.1058, allocations: 23.92 kB / 477.9 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/0.1058, allocations: 4 kB / 477.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1058, allocations: 0 / 477.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1058, allocations: 0 / 477.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1058, allocations: 0 / 477.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.1061, allocations: 239.8 kB / 478.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-05/0.1062, allocations: 116.5 kB / 478.3 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.1062, allocations: 4 kB / 478.3 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.993e-05/0.1063, allocations: 7.938 kB / 478.3 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.1064, allocations: 7.984 kB / 478.3 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1064, allocations: 8 kB / 478.3 MB, free: 4.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005863/0.107, allocations: 0.655 MB / 479 MB, free: 4.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.107, allocations: 0 / 479 MB, free: 4.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000273/0.1073, allocations: 31.98 kB / 479 MB, free: 4.23 MB / 350.1 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.001485/0.1088, allocations: 1.122 MB / 480.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.109, allocations: 71.89 kB / 480.2 MB, free: 3.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.109, allocations: 0 / 480.2 MB, free: 3.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.866e-05/0.1091, allocations: 39.92 kB / 480.2 MB, free: 3.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.1095, allocations: 27.58 kB / 480.3 MB, free: 3.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.1134, allocations: 3.334 MB / 483.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.1138, allocations: 0.8222 MB / 484.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.12e-05/0.1138, allocations: 24.66 kB / 484.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.114, allocations: 103.4 kB / 484.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.114, allocations: 0 / 484.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.1377, allocations: 6.144 MB / 490.7 MB, free: 8.668 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.577/7.714, allocations: 64 / 490.7 MB, free: 8.668 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches