Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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 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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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.001008/0.001008, allocations: 103.1 kB / 16.02 MB, free: 76 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.001535/0.001535, allocations: 183.4 kB / 16.92 MB, free: 6.918 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.567/1.567, allocations: 205.4 MB / 223.1 MB, free: 5.531 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.3504/0.3504, allocations: 43.58 MB / 315 MB, free: 9.047 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.0005041/0.0005042, allocations: 12 kB / 384.7 MB, free: 7.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1161, allocations: 58.87 MB / 443.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.001888/0.118, allocations: 1.321 MB / 444.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000632/0.1187, allocations: 335.8 kB / 445.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.911e-05/0.1187, allocations: 3.938 kB / 445.2 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005061/0.1192, allocations: 447.2 kB / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.1195, allocations: 243.6 kB / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.1199, allocations: 155.7 kB / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.1201, allocations: 155.7 kB / 446.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1202, allocations: 28.36 kB / 446.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.1204, allocations: 103.7 kB / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.1206, allocations: 195.6 kB / 446.5 MB, free: 9.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1206, allocations: 4 kB / 446.5 MB, free: 9.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.307e-05/0.1207, allocations: 35.91 kB / 446.5 MB, free: 9.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.1208, allocations: 79.69 kB / 446.6 MB, free: 9.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.621e-05/0.1209, allocations: 124.7 kB / 446.7 MB, free: 9.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.1212, allocations: 247 kB / 447 MB, free: 9.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1212, allocations: 0 / 447 MB, free: 9.344 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1212, allocations: 8 kB / 447 MB, free: 9.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.1212, allocations: 0 / 447 MB, free: 9.336 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.000655/0.1219, allocations: 0.5872 MB / 447.6 MB, free: 8.699 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1219, allocations: 12.03 kB / 447.6 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.48e-05/0.1219, allocations: 30.75 kB / 447.6 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.646e-05/0.122, allocations: 52.3 kB / 447.7 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.1223, allocations: 292.2 kB / 448 MB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.1224, allocations: 8.375 kB / 448 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.1224, allocations: 8.031 kB / 448 MB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.1226, allocations: 57.69 kB / 448 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.1226, allocations: 7.984 kB / 448 MB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1226, allocations: 4 kB / 448 MB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1226, allocations: 0 / 448 MB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.1228, allocations: 27.98 kB / 448.1 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004922/0.1233, allocations: 408.6 kB / 448.5 MB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.1235, allocations: 46.55 kB / 448.5 MB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.487e-05/0.1235, allocations: 16.86 kB / 448.5 MB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.1236, allocations: 0 / 448.5 MB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1236, allocations: 38.5 kB / 448.6 MB, free: 7.586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.1236, allocations: 0 / 448.6 MB, free: 7.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006236/0.1242, allocations: 252 kB / 448.8 MB, free: 7.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.1243, allocations: 55.34 kB / 448.9 MB, free: 7.266 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007396/0.125, allocations: 0.8691 MB / 449.7 MB, free: 6.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.1251, allocations: 25.7 kB / 449.8 MB, free: 6.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.1252, allocations: 224.1 kB / 450 MB, free: 6.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.1252, allocations: 15.75 kB / 450 MB, free: 6.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.1253, allocations: 13.72 kB / 450 MB, free: 6.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1254, allocations: 366.8 kB / 450.4 MB, free: 5.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.013e-05/0.1255, allocations: 23.98 kB / 450.4 MB, free: 5.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.674e-05/0.1256, allocations: 23.98 kB / 450.4 MB, free: 5.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.1257, allocations: 64.83 kB / 450.5 MB, free: 5.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1257, allocations: 7.875 kB / 450.5 MB, free: 5.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002225/0.1259, allocations: 129.1 kB / 450.6 MB, free: 5.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.126, allocations: 7.938 kB / 450.6 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.126, allocations: 0 / 450.6 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.126, allocations: 0 / 450.6 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.215e-05/0.1261, allocations: 16 kB / 450.6 MB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1261, allocations: 7.922 kB / 450.6 MB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.019e-05/0.1261, allocations: 8 kB / 450.6 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.1261, allocations: 0 / 450.6 MB, free: 5.438 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.0001721/0.1263, allocations: 213.8 kB / 450.9 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.1264, allocations: 43.44 kB / 450.9 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/0.1267, allocations: 149.1 kB / 451 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1267, allocations: 3.938 kB / 451 MB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1267, allocations: 8.25 kB / 451.1 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1267, allocations: 0 / 451.1 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004997/0.1272, allocations: 482.5 kB / 451.5 MB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1272, allocations: 0 / 451.5 MB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.562e-05/0.1273, allocations: 12 kB / 451.5 MB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1273, allocations: 4.219 kB / 451.5 MB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1273, allocations: 3.984 kB / 451.5 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1273, allocations: 0 / 451.5 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1273, allocations: 0 / 451.5 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.1276, allocations: 230.9 kB / 451.8 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/0.1276, allocations: 116.6 kB / 451.9 MB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.1277, allocations: 7.938 kB / 451.9 MB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.849e-05/0.1278, allocations: 11.98 kB / 451.9 MB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.1278, allocations: 0 / 451.9 MB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.1278, allocations: 4 kB / 451.9 MB, free: 4.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005855/0.1284, allocations: 0.6511 MB / 452.6 MB, free: 3.414 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1284, allocations: 0 / 452.6 MB, free: 3.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.1287, allocations: 28 kB / 452.6 MB, free: 3.387 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.001286/0.13, allocations: 1.073 MB / 453.7 MB, free: 2.328 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.1302, allocations: 59.97 kB / 453.7 MB, free: 2.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1302, allocations: 0 / 453.7 MB, free: 2.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.367e-05/0.1303, allocations: 39.91 kB / 453.8 MB, free: 2.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.1306, allocations: 18.31 kB / 453.8 MB, free: 2.207 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1862/0.3169, allocations: 3.351 MB / 457.1 MB, free: 45.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.3172, allocations: 0.8256 MB / 457.9 MB, free: 44.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.585e-05/0.3173, allocations: 16.39 kB / 458 MB, free: 44.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.3174, allocations: 108.6 kB / 458.1 MB, free: 44.4 MB / 382.1 MB Notification: Performance of SimCode: time 1.113e-06/0.3174, allocations: 2.969 kB / 458.1 MB, free: 44.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0156/0.3331, allocations: 5.452 MB / 463.5 MB, free: 44.01 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/0.3333, allocations: 238.3 kB / 463.8 MB, free: 43.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.178, allocations: 4 kB / 463.8 MB, free: 43.75 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches