Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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 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.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001356/0.001356, allocations: 95.34 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.001586/0.001585, allocations: 171.2 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.34/1.34, allocations: 223.3 MB / 242.3 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.19/0.19, allocations: 44.26 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003446, allocations: 12 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1186, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.00196/0.1206, allocations: 1.297 MB / 473.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007536/0.1214, allocations: 411.4 kB / 474.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.342e-05/0.1215, allocations: 0 / 474.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.1218, allocations: 119.7 kB / 474.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.122, allocations: 79.83 kB / 474.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.1223, allocations: 99.75 kB / 474.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.1225, allocations: 75.88 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1226, allocations: 24.17 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.002e-05/0.1227, allocations: 43.77 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.1229, allocations: 67.86 kB / 474.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.1229, allocations: 4 kB / 474.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.123, allocations: 47.92 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.111e-05/0.1231, allocations: 27.91 kB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.749e-05/0.1231, allocations: 65.38 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.1233, allocations: 99.91 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1234, allocations: 0 / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.1234, allocations: 0 / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1234, allocations: 7.938 kB / 474.8 MB, free: 10.79 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004817/0.1239, allocations: 411 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.1239, allocations: 8.031 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.058e-05/0.124, allocations: 38.75 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.124, allocations: 16.75 kB / 475.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.1243, allocations: 207.9 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1243, allocations: 4.375 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.1243, allocations: 4.125 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.1245, allocations: 57.67 kB / 475.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1245, allocations: 0 / 475.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1245, allocations: 0 / 475.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1245, allocations: 0 / 475.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.1246, allocations: 35.92 kB / 475.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.1251, allocations: 312.7 kB / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.1252, allocations: 58.48 kB / 475.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.391e-05/0.1253, allocations: 20.86 kB / 476 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.1253, allocations: 0 / 476 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.1254, allocations: 30.66 kB / 476 MB, free: 9.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1254, allocations: 0 / 476 MB, free: 9.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001035/0.1264, allocations: 277.3 kB / 476.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.1265, allocations: 55.34 kB / 476.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.1268, allocations: 274.2 kB / 476.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.1268, allocations: 29.64 kB / 476.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.086e-05/0.1269, allocations: 112.1 kB / 476.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.1269, allocations: 31.55 kB / 476.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.127, allocations: 13.72 kB / 476.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1271, allocations: 330.8 kB / 477.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.323e-05/0.1272, allocations: 35.97 kB / 477.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.167e-05/0.1273, allocations: 31.98 kB / 477.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.1274, allocations: 92.97 kB / 477.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.1275, allocations: 0 / 477.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002321/0.1277, allocations: 121.5 kB / 477.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1277, allocations: 6.5 kB / 477.4 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1277, allocations: 0 / 477.4 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1278, allocations: 4 kB / 477.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.1279, allocations: 19.98 kB / 477.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1279, allocations: 3.938 kB / 477.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.1279, allocations: 8 kB / 477.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.128, allocations: 7.984 kB / 477.4 MB, free: 7.957 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 (8): * Single equations (assignments): 8 * 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.0001097/0.1281, allocations: 133.8 kB / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.1281, allocations: 19.81 kB / 477.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/0.1284, allocations: 135 kB / 477.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1284, allocations: 0 / 477.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.1285, allocations: 3.938 kB / 477.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1285, allocations: 3.984 kB / 477.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005617/0.129, allocations: 439.2 kB / 478.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.129, allocations: 7.938 kB / 478.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.954e-05/0.1291, allocations: 19.94 kB / 478.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1291, allocations: 4 kB / 478.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1291, allocations: 8.016 kB / 478.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.1292, allocations: 0 / 478.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1292, allocations: 0 / 478.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.1294, allocations: 224.2 kB / 478.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.1295, allocations: 96.84 kB / 478.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.1295, allocations: 4 kB / 478.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.269e-05/0.1296, allocations: 4 kB / 478.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.1297, allocations: 11.92 kB / 478.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.1297, allocations: 4 kB / 478.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001685/0.1298, allocations: 199.2 kB / 478.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1298, allocations: 3.938 kB / 478.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.1301, allocations: 20 kB / 478.7 MB, free: 6.535 MB / 350.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 (8): * Single equations (assignments): 8 * 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.001594/0.1317, allocations: 1.106 MB / 479.8 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002782/0.132, allocations: 91.88 kB / 479.9 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.132, allocations: 0 / 479.9 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.1321, allocations: 43.97 kB / 480 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.1325, allocations: 22.91 kB / 480 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.1347, allocations: 1.863 MB / 481.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.135, allocations: 0.7199 MB / 482.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.184e-05/0.1351, allocations: 24.95 kB / 482.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.339e-05/0.1352, allocations: 35.42 kB / 482.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1352, allocations: 0 / 482.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.1521, allocations: 2.915 MB / 485.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/0.1524, allocations: 239.9 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/1.912, allocations: 0 / 485.8 MB, free: 15.61 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches