Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31",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.0008545/0.0008546, allocations: 102.6 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.001195/0.001195, allocations: 180.7 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.539/1.539, allocations: 205.4 MB / 223.1 MB, free: 5.738 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.3324/0.3324, allocations: 43.58 MB / 315 MB, free: 8.719 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.0005507/0.0005507, allocations: 15.98 kB / 384.7 MB, free: 7.539 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.119, allocations: 58.86 MB / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002069/0.1212, allocations: 1.329 MB / 444.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1225, allocations: 0.926 MB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.095e-05/0.1226, allocations: 0 / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.1228, allocations: 23.91 kB / 445.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.1229, allocations: 39.78 kB / 445.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.1233, allocations: 147.7 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.1234, allocations: 63.84 kB / 446.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1236, allocations: 20.2 kB / 446.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.578e-05/0.1236, allocations: 23.86 kB / 446.1 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.1238, allocations: 27.84 kB / 446.1 MB, free: 9.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1238, allocations: 4 kB / 446.1 MB, free: 9.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1239, allocations: 51.97 kB / 446.2 MB, free: 9.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.081e-05/0.124, allocations: 15.91 kB / 446.2 MB, free: 9.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.238e-05/0.124, allocations: 49.52 kB / 446.3 MB, free: 9.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.1242, allocations: 99.73 kB / 446.4 MB, free: 9.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1242, allocations: 0 / 446.4 MB, free: 9.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1242, allocations: 0 / 446.4 MB, free: 9.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1243, allocations: 0 / 446.4 MB, free: 9.738 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.0005853/0.1249, allocations: 399.1 kB / 446.7 MB, free: 9.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.1249, allocations: 8.031 kB / 446.8 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.1249, allocations: 34.73 kB / 446.8 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.125, allocations: 8.844 kB / 446.8 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.1252, allocations: 196.2 kB / 447 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.1252, allocations: 384 / 447 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.1253, allocations: 4.375 kB / 447 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.1255, allocations: 83.27 kB / 447.1 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1255, allocations: 0 / 447.1 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.1255, allocations: 8 kB / 447.1 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.1255, allocations: 7.984 kB / 447.1 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.1257, allocations: 43.97 kB / 447.1 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.1262, allocations: 316.7 kB / 447.4 MB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.1263, allocations: 54.5 kB / 447.5 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.95e-05/0.1264, allocations: 28.94 kB / 447.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.1265, allocations: 7.984 kB / 447.5 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/0.1265, allocations: 30.56 kB / 447.6 MB, free: 8.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.1265, allocations: 4 kB / 447.6 MB, free: 8.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008759/0.1274, allocations: 261.1 kB / 447.8 MB, free: 8.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.1275, allocations: 77.11 kB / 447.9 MB, free: 7.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.1276, allocations: 141.8 kB / 448 MB, free: 7.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1277, allocations: 25.7 kB / 448.1 MB, free: 7.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.658e-05/0.1277, allocations: 100.1 kB / 448.2 MB, free: 7.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.1278, allocations: 19.73 kB / 448.2 MB, free: 7.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.1278, allocations: 13.72 kB / 448.2 MB, free: 7.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1279, allocations: 322.8 kB / 448.5 MB, free: 7.352 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.1281, allocations: 47.95 kB / 448.5 MB, free: 7.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.1282, allocations: 65.75 kB / 448.6 MB, free: 7.234 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.1285, allocations: 116.8 kB / 448.7 MB, free: 7.117 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1285, allocations: 0 / 448.7 MB, free: 7.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003107/0.1288, allocations: 133.5 kB / 448.9 MB, free: 6.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1288, allocations: 4 kB / 448.9 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.1289, allocations: 7.938 kB / 448.9 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1289, allocations: 0 / 448.9 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.129, allocations: 23.97 kB / 448.9 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.129, allocations: 7.938 kB / 448.9 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.891e-05/0.1291, allocations: 16 kB / 448.9 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1291, allocations: 3.984 kB / 448.9 MB, free: 6.918 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 (7): * Single equations (assignments): 7 * 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 8.2e-05/0.1292, allocations: 121.8 kB / 449 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.1292, allocations: 7.906 kB / 449 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.1296, allocations: 154.3 kB / 449.2 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1296, allocations: 4 kB / 449.2 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1296, allocations: 3.938 kB / 449.2 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1296, allocations: 0 / 449.2 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005558/0.1302, allocations: 422.4 kB / 449.6 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1302, allocations: 4 kB / 449.6 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.86e-05/0.1303, allocations: 23.98 kB / 449.6 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.1303, allocations: 3.938 kB / 449.6 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1303, allocations: 8 kB / 449.7 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1303, allocations: 0 / 449.7 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1304, allocations: 0 / 449.7 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.1307, allocations: 235.4 kB / 449.9 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.1308, allocations: 92.94 kB / 450 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.1308, allocations: 3.938 kB / 450 MB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1309, allocations: 23.98 kB / 450 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.1309, allocations: 4 kB / 450 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.131, allocations: 0 / 450 MB, free: 5.727 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.099e-05/0.131, allocations: 118.6 kB / 450.1 MB, free: 5.613 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1311, allocations: 0 / 450.1 MB, free: 5.613 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.1313, allocations: 24 kB / 450.1 MB, free: 5.59 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 (7): * Single equations (assignments): 7 * 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.001581/0.1329, allocations: 1.117 MB / 451.3 MB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003274/0.1332, allocations: 111.9 kB / 451.4 MB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1332, allocations: 0 / 451.4 MB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.1334, allocations: 51.97 kB / 451.4 MB, free: 4.324 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.1337, allocations: 19.98 kB / 451.4 MB, free: 4.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.1357, allocations: 1.651 MB / 453.1 MB, free: 2.574 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.136, allocations: 0.7004 MB / 453.8 MB, free: 1.848 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.313e-05/0.1361, allocations: 33.11 kB / 453.8 MB, free: 1.816 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.468e-05/0.1361, allocations: 27.42 kB / 453.9 MB, free: 1.789 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1361, allocations: 4 kB / 453.9 MB, free: 1.785 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2031/0.3393, allocations: 2.623 MB / 456.5 MB, free: 45.91 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.3395, allocations: 237.1 kB / 456.7 MB, free: 45.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.177, allocations: 0.6562 kB / 456.7 MB, free: 45.66 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches