Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22",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.001353/0.001353, allocations: 101 kB / 16.27 MB, free: 5.852 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.001427/0.001427, allocations: 188.6 kB / 17.19 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1848/0.1848, allocations: 43.51 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001603, allocations: 62.97 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09614/0.09775, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.003445/0.1012, allocations: 1.951 MB / 442.6 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.1025, allocations: 0.9638 MB / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.251e-05/0.1026, allocations: 0 / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.1029, allocations: 51.58 kB / 443.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.1032, allocations: 147.4 kB / 443.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000647/0.1038, allocations: 394.1 kB / 444.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.104, allocations: 247.3 kB / 444.4 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.1042, allocations: 56.36 kB / 444.4 MB, free: 3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.1044, allocations: 123.5 kB / 444.5 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.1045, allocations: 171.4 kB / 444.7 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.1046, allocations: 15.98 kB / 444.7 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.472e-05/0.1047, allocations: 47.98 kB / 444.8 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.1048, allocations: 127.6 kB / 444.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.82e-05/0.1049, allocations: 166.6 kB / 445 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.1052, allocations: 358.6 kB / 445.4 MB, free: 2.008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1052, allocations: 4 kB / 445.4 MB, free: 2.004 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1052, allocations: 0 / 445.4 MB, free: 2.004 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1052, allocations: 4 kB / 445.4 MB, free: 2 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007666/0.106, allocations: 0.7618 MB / 446.2 MB, free: 1.188 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.106, allocations: 11.89 kB / 446.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.304e-05/0.106, allocations: 46.67 kB / 446.2 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.429e-05/0.1061, allocations: 52.28 kB / 446.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.1065, allocations: 451.8 kB / 446.7 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1065, allocations: 8.375 kB / 446.7 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.1065, allocations: 23.84 kB / 446.7 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.1067, allocations: 125.4 kB / 446.9 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1068, allocations: 0 / 446.9 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1068, allocations: 4 kB / 446.9 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1068, allocations: 0 / 446.9 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.107, allocations: 79.89 kB / 447 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008138/0.1078, allocations: 0.6761 MB / 447.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.108, allocations: 105.2 kB / 447.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.389e-05/0.1081, allocations: 45.83 kB / 447.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.1082, allocations: 19.91 kB / 447.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.1082, allocations: 30.56 kB / 447.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.1082, allocations: 0 / 447.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001374/0.1096, allocations: 0.4981 MB / 448.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.1096, allocations: 85.09 kB / 448.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00093/0.1106, allocations: 0.8701 MB / 449.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1106, allocations: 25.7 kB / 449.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.1108, allocations: 252.2 kB / 449.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.141e-05/0.1109, allocations: 51.19 kB / 449.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.117e-05/0.1109, allocations: 37.7 kB / 449.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1111, allocations: 374.7 kB / 450 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.1113, allocations: 47.97 kB / 450 MB, free: 13.1 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.1115, allocations: 73.67 kB / 450.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.1118, allocations: 141.6 kB / 450.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1118, allocations: 0 / 450.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004453/0.1122, allocations: 220.9 kB / 450.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1123, allocations: 4 kB / 450.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1123, allocations: 4 kB / 450.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1123, allocations: 4 kB / 450.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.1125, allocations: 35.97 kB / 450.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1125, allocations: 0 / 450.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.1127, allocations: 23.88 kB / 450.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.1127, allocations: 4 kB / 450.5 MB, free: 12.58 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0001918/0.1129, allocations: 217.6 kB / 450.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.961e-05/0.113, allocations: 51.34 kB / 450.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005538/0.1136, allocations: 275.1 kB / 451.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1136, allocations: 4 kB / 451.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1136, allocations: 0 / 451.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1136, allocations: 0 / 451.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.1146, allocations: 0.7784 MB / 451.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1146, allocations: 112 / 451.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.1148, allocations: 43.84 kB / 451.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1148, allocations: 0 / 451.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.1148, allocations: 11.98 kB / 451.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1148, allocations: 7.938 kB / 451.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1148, allocations: 4 kB / 451.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005172/0.1154, allocations: 389.6 kB / 452.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.1155, allocations: 148.4 kB / 452.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.729e-05/0.1156, allocations: 4 kB / 452.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.1158, allocations: 19.92 kB / 452.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.1158, allocations: 15.98 kB / 452.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1158, allocations: 4 kB / 452.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006493/0.1165, allocations: 0.6393 MB / 453.1 MB, free: 9.887 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1165, allocations: 0 / 453.1 MB, free: 9.887 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003452/0.1169, allocations: 52 kB / 453.2 MB, free: 9.836 MB / 334.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 (16): * Single equations (assignments): 16 * 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.001507/0.1184, allocations: 1.229 MB / 454.4 MB, free: 8.656 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003859/0.1188, allocations: 163.8 kB / 454.6 MB, free: 8.496 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1188, allocations: 0 / 454.6 MB, free: 8.496 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.119, allocations: 75.89 kB / 454.7 MB, free: 8.422 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006123/0.1196, allocations: 82.88 kB / 454.7 MB, free: 8.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005883/0.1255, allocations: 5.09 MB / 459.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.1259, allocations: 0.8419 MB / 460.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001717/0.1261, allocations: 83.84 kB / 460.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.1263, allocations: 163.4 kB / 460.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1263, allocations: 0 / 460.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04559/0.1719, allocations: 9.372 MB / 470.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.544/8.716, allocations: 7.984 kB / 470.3 MB, free: 8.641 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches