Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5",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.0009343/0.000934, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 184.3 kB / 16.92 MB, free: 6.934 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.445/1.445, allocations: 205.4 MB / 223.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3877/0.3877, allocations: 43.58 MB / 315 MB, free: 8.859 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.0005302/0.0005302, allocations: 12 kB / 384.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.114, allocations: 58.87 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.001788/0.1158, allocations: 1.321 MB / 444.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005996/0.1165, allocations: 343.7 kB / 445.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.851e-05/0.1165, allocations: 4 kB / 445.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004918/0.117, allocations: 447.2 kB / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.1173, allocations: 239.5 kB / 445.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.1176, allocations: 147.8 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.1178, allocations: 167.6 kB / 446.2 MB, free: 9.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.874e-05/0.1179, allocations: 28.38 kB / 446.2 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.182e-05/0.118, allocations: 95.8 kB / 446.3 MB, free: 9.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.1182, allocations: 199.6 kB / 446.5 MB, free: 9.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.1183, allocations: 7.984 kB / 446.5 MB, free: 9.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.753e-05/0.1183, allocations: 23.98 kB / 446.5 MB, free: 9.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.996e-05/0.1184, allocations: 83.69 kB / 446.6 MB, free: 9.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.883e-05/0.1185, allocations: 120.7 kB / 446.7 MB, free: 9.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.1188, allocations: 254.9 kB / 447 MB, free: 9.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1188, allocations: 8 kB / 447 MB, free: 9.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1188, allocations: 0 / 447 MB, free: 9.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1188, allocations: 0 / 447 MB, free: 9.117 MB / 382.1 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.0006014/0.1194, allocations: 0.5872 MB / 447.6 MB, free: 8.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1194, allocations: 8.031 kB / 447.6 MB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.1195, allocations: 38.67 kB / 447.6 MB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.1195, allocations: 48.38 kB / 447.7 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.1198, allocations: 296.2 kB / 448 MB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.1198, allocations: 4.375 kB / 448 MB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.1198, allocations: 8.031 kB / 448 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.12, allocations: 61.61 kB / 448 MB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.12, allocations: 4 kB / 448 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.12, allocations: 0 / 448 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.12, allocations: 0 / 448 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1201, allocations: 31.98 kB / 448.1 MB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.1206, allocations: 400.7 kB / 448.5 MB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.1208, allocations: 50.48 kB / 448.5 MB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.072e-05/0.1209, allocations: 16.86 kB / 448.5 MB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.1209, allocations: 4 kB / 448.5 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.1209, allocations: 34.64 kB / 448.6 MB, free: 7.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1209, allocations: 0 / 448.6 MB, free: 7.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005901/0.1215, allocations: 251.9 kB / 448.8 MB, free: 7.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.1216, allocations: 51.41 kB / 448.9 MB, free: 7.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007966/0.1224, allocations: 0.8691 MB / 449.7 MB, free: 6.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.1224, allocations: 25.7 kB / 449.7 MB, free: 6.145 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.1225, allocations: 228.1 kB / 450 MB, free: 5.918 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.1226, allocations: 15.81 kB / 450 MB, free: 5.902 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.1226, allocations: 17.72 kB / 450 MB, free: 5.879 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1228, allocations: 362.8 kB / 450.4 MB, free: 5.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.703e-05/0.1229, allocations: 23.98 kB / 450.4 MB, free: 5.492 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.437e-05/0.1229, allocations: 23.98 kB / 450.4 MB, free: 5.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.1231, allocations: 68.77 kB / 450.5 MB, free: 5.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1231, allocations: 0 / 450.5 MB, free: 5.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002108/0.1233, allocations: 129.1 kB / 450.6 MB, free: 5.266 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1233, allocations: 4 kB / 450.6 MB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1233, allocations: 7.938 kB / 450.6 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1233, allocations: 0 / 450.6 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.1234, allocations: 15.98 kB / 450.6 MB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1234, allocations: 3.938 kB / 450.6 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.9e-05/0.1235, allocations: 12.25 kB / 450.6 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1235, allocations: 0 / 450.6 MB, free: 5.223 MB / 382.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 (5): * Single equations (assignments): 5 * 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.0001616/0.1237, allocations: 213.8 kB / 450.8 MB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.1237, allocations: 51.38 kB / 450.9 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.124, allocations: 153.1 kB / 451 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.124, allocations: 0 / 451 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.124, allocations: 7.938 kB / 451.1 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.124, allocations: 0 / 451.1 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005471/0.1246, allocations: 482.3 kB / 451.5 MB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1246, allocations: 0 / 451.5 MB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.396e-05/0.1247, allocations: 15.98 kB / 451.5 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1247, allocations: 3.938 kB / 451.5 MB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1247, allocations: 0 / 451.5 MB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1247, allocations: 4 kB / 451.6 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1247, allocations: 0 / 451.6 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.1249, allocations: 223.2 kB / 451.8 MB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.07e-05/0.125, allocations: 108.6 kB / 451.9 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.1251, allocations: 11.92 kB / 451.9 MB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.468e-05/0.1252, allocations: 11.98 kB / 451.9 MB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.1252, allocations: 7.938 kB / 451.9 MB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1252, allocations: 0 / 451.9 MB, free: 3.848 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000576/0.1258, allocations: 0.655 MB / 452.6 MB, free: 3.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1258, allocations: 4 kB / 452.6 MB, free: 3.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.126, allocations: 20 kB / 452.6 MB, free: 3.172 MB / 382.1 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 (5): * Single equations (assignments): 5 * 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.001277/0.1273, allocations: 1.066 MB / 453.7 MB, free: 2.109 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.1275, allocations: 63.91 kB / 453.7 MB, free: 2.047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1276, allocations: 0 / 453.7 MB, free: 2.047 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.337e-05/0.1277, allocations: 35.97 kB / 453.7 MB, free: 2.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.128, allocations: 22.25 kB / 453.8 MB, free: 1.984 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2084/0.3364, allocations: 3.364 MB / 457.1 MB, free: 44.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.3367, allocations: 0.8224 MB / 458 MB, free: 44.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.942e-05/0.3368, allocations: 16.08 kB / 458 MB, free: 44.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.337, allocations: 114.1 kB / 458.1 MB, free: 44.02 MB / 382.1 MB Notification: Performance of SimCode: time 1.192e-06/0.337, allocations: 0 / 458.1 MB, free: 44.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.3529, allocations: 5.441 MB / 463.5 MB, free: 43.63 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/0.3531, allocations: 242.2 kB / 463.8 MB, free: 43.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.252, allocations: 1.625 kB / 463.8 MB, free: 43.37 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches