Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",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.0008/0.0008, allocations: 95.27 kB / 17.35 MB, free: 6.344 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.001061/0.001061, allocations: 173.6 kB / 18.25 MB, free: 5.504 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.329/1.329, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.1891/0.1891, allocations: 44.25 MB / 337.7 MB, free: 2.441 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.000351, allocations: 8 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1153, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.001748/0.1171, allocations: 1.294 MB / 473.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007165/0.1178, allocations: 427.3 kB / 474.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.742e-05/0.1179, allocations: 0 / 474.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000496/0.1184, allocations: 447.2 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.1186, allocations: 239.6 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.119, allocations: 161.8 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.1192, allocations: 155.7 kB / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.743e-05/0.1193, allocations: 8 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.99e-05/0.1194, allocations: 107.7 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.1197, allocations: 191.6 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.1197, allocations: 4 kB / 475.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.08e-05/0.1198, allocations: 23.97 kB / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.194e-05/0.1199, allocations: 83.69 kB / 475.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.525e-05/0.1199, allocations: 116.7 kB / 475.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.1202, allocations: 239.3 kB / 475.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1202, allocations: 0 / 475.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1202, allocations: 7.938 kB / 475.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1202, allocations: 3.938 kB / 475.8 MB, free: 9.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005757/0.1208, allocations: 0.5834 MB / 476.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1208, allocations: 8.031 kB / 476.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.878e-05/0.1209, allocations: 34.75 kB / 476.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.1209, allocations: 44.38 kB / 476.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.1212, allocations: 300.1 kB / 476.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.1212, allocations: 4.375 kB / 476.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.1212, allocations: 8.375 kB / 476.8 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.1213, allocations: 53.62 kB / 476.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.1213, allocations: 3.938 kB / 476.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.1214, allocations: 0 / 476.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1214, allocations: 4 kB / 476.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.811e-05/0.1215, allocations: 23.98 kB / 476.9 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.1219, allocations: 396.8 kB / 477.3 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.456e-05/0.122, allocations: 34.56 kB / 477.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.812e-05/0.1221, allocations: 16.86 kB / 477.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.1221, allocations: 0 / 477.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.1222, allocations: 38.56 kB / 477.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1222, allocations: 0 / 477.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002545/0.1224, allocations: 105.1 kB / 477.5 MB, free: 7.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.1225, allocations: 55.41 kB / 477.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007391/0.1232, allocations: 0.8653 MB / 478.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.1232, allocations: 33.81 kB / 478.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.1234, allocations: 220.1 kB / 478.6 MB, free: 6.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.1234, allocations: 7.844 kB / 478.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/0.1234, allocations: 9.719 kB / 478.6 MB, free: 6.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1236, allocations: 362.7 kB / 479 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.668e-05/0.1236, allocations: 19.92 kB / 479 MB, free: 6.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.488e-05/0.1237, allocations: 11.98 kB / 479 MB, free: 6.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.584e-05/0.1237, allocations: 32.91 kB / 479.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1238, allocations: 0 / 479.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001392/0.1239, allocations: 97.12 kB / 479.1 MB, free: 6.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1239, allocations: 10.34 kB / 479.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1239, allocations: 0 / 479.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.1239, allocations: 4.031 kB / 479.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.124, allocations: 7.984 kB / 479.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.124, allocations: 0 / 479.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.914e-05/0.1241, allocations: 4 kB / 479.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.1241, allocations: 3.938 kB / 479.2 MB, free: 6.152 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 (2): * Single equations (assignments): 2 * 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.0001614/0.1243, allocations: 213.7 kB / 479.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.1243, allocations: 39.53 kB / 479.4 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.1245, allocations: 120.6 kB / 479.5 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1245, allocations: 3.938 kB / 479.5 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1245, allocations: 0 / 479.5 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.1245, allocations: 0 / 479.5 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.1248, allocations: 293.4 kB / 479.8 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1248, allocations: 0 / 479.8 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.1248, allocations: 7.984 kB / 479.8 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1248, allocations: 0 / 479.8 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.1249, allocations: 32 / 479.8 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1249, allocations: 8 kB / 479.8 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1249, allocations: 0 / 479.8 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.125, allocations: 190.9 kB / 480 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-05/0.1251, allocations: 116.5 kB / 480.1 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.1252, allocations: 0 / 480.1 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.508e-05/0.1252, allocations: 16.02 kB / 480.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.1253, allocations: 3.984 kB / 480.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.1253, allocations: 0 / 480.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005335/0.1258, allocations: 0.655 MB / 480.8 MB, free: 4.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1258, allocations: 0 / 480.8 MB, free: 4.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.1261, allocations: 23.94 kB / 480.8 MB, free: 4.379 MB / 350.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 (2): * Single equations (assignments): 2 * 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.001028/0.1271, allocations: 0.9631 MB / 481.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.1272, allocations: 35.92 kB / 481.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1272, allocations: 0 / 481.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.611e-05/0.1273, allocations: 15.98 kB / 481.9 MB, free: 3.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.1276, allocations: 24.95 kB / 481.9 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/0.1306, allocations: 3.247 MB / 485.1 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.1309, allocations: 0.8208 MB / 486 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.757e-05/0.131, allocations: 16.05 kB / 486 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.1311, allocations: 115.4 kB / 486.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1311, allocations: 4 kB / 486.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.1471, allocations: 5.186 MB / 491.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/0.1473, allocations: 247 kB / 491.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/1.895, allocations: 0 / 491.5 MB, free: 9.781 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches