Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_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.001271/0.001271, allocations: 96.14 kB / 15.87 MB, free: 16 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.001191/0.001191, allocations: 203.9 kB / 16.79 MB, free: 6.84 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.376/1.376, allocations: 205.1 MB / 222.6 MB, free: 4.973 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.3079/0.3079, allocations: 43.5 MB / 313.5 MB, free: 8.578 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.00135/0.00135, allocations: 68.47 kB / 382.1 MB, free: 8.953 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1197, allocations: 57.79 MB / 439.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.002909/0.1226, allocations: 1.656 MB / 441.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006006/0.1232, allocations: 335.6 kB / 441.9 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.754e-05/0.1233, allocations: 0 / 441.9 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005367/0.1238, allocations: 443.2 kB / 442.3 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000289/0.1241, allocations: 251.5 kB / 442.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.1244, allocations: 99.81 kB / 442.7 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.1246, allocations: 147.7 kB / 442.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.307e-05/0.1247, allocations: 24.44 kB / 442.8 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.369e-05/0.1248, allocations: 99.73 kB / 442.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.125, allocations: 199.6 kB / 443.1 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.1251, allocations: 0 / 443.1 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.159e-05/0.1251, allocations: 39.92 kB / 443.2 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.66e-05/0.1252, allocations: 83.67 kB / 443.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.908e-05/0.1253, allocations: 99 kB / 443.4 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.1256, allocations: 254.9 kB / 443.6 MB, free: 11.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1256, allocations: 3.938 kB / 443.6 MB, free: 11.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1256, allocations: 0 / 443.6 MB, free: 11.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1256, allocations: 0 / 443.6 MB, free: 11.35 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.00068/0.1263, allocations: 0.6337 MB / 444.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1263, allocations: 8.031 kB / 444.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.814e-05/0.1264, allocations: 42.69 kB / 444.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.1264, allocations: 40.38 kB / 444.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.1267, allocations: 296.2 kB / 444.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.1267, allocations: 4.375 kB / 444.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.1267, allocations: 8.125 kB / 444.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.1269, allocations: 57.66 kB / 444.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1269, allocations: 0 / 444.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.1269, allocations: 3.984 kB / 444.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1269, allocations: 0 / 444.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.337e-05/0.127, allocations: 27.92 kB / 444.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.1275, allocations: 388.7 kB / 445.1 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.1277, allocations: 42.55 kB / 445.1 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.767e-05/0.1277, allocations: 24.88 kB / 445.2 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.1278, allocations: 0 / 445.2 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.1278, allocations: 38.5 kB / 445.2 MB, free: 9.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.1278, allocations: 0 / 445.2 MB, free: 9.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005601/0.1284, allocations: 223.9 kB / 445.4 MB, free: 9.352 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.1284, allocations: 51.41 kB / 445.5 MB, free: 9.289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007258/0.1292, allocations: 0.8691 MB / 446.3 MB, free: 8.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.1292, allocations: 25.7 kB / 446.4 MB, free: 8.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.1293, allocations: 216.1 kB / 446.6 MB, free: 8.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.1294, allocations: 23.73 kB / 446.6 MB, free: 8.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.1294, allocations: 21.72 kB / 446.6 MB, free: 8.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1295, allocations: 358.8 kB / 447 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.257e-05/0.1296, allocations: 19.98 kB / 447 MB, free: 7.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.512e-05/0.1297, allocations: 19.98 kB / 447 MB, free: 7.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.1298, allocations: 36.84 kB / 447 MB, free: 7.676 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1298, allocations: 0 / 447 MB, free: 7.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001886/0.13, allocations: 133.2 kB / 447.2 MB, free: 7.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.13, allocations: 4 kB / 447.2 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.13, allocations: 0 / 447.2 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1301, allocations: 4 kB / 447.2 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.575e-05/0.1301, allocations: 8 kB / 447.2 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.1301, allocations: 3.938 kB / 447.2 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.347e-05/0.1302, allocations: 7.984 kB / 447.2 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.1302, allocations: 0 / 447.2 MB, free: 7.512 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.0001657/0.1304, allocations: 217.7 kB / 447.4 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.1304, allocations: 47.45 kB / 447.5 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.1307, allocations: 136.9 kB / 447.6 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.1307, allocations: 4 kB / 447.6 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1307, allocations: 3.938 kB / 447.6 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1307, allocations: 0 / 447.6 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005109/0.1312, allocations: 458.5 kB / 448.1 MB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1313, allocations: 3.984 kB / 448.1 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.773e-05/0.1313, allocations: 8 kB / 448.1 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1313, allocations: 3.938 kB / 448.1 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1313, allocations: 4 kB / 448.1 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.1313, allocations: 3.938 kB / 448.1 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1314, allocations: 3.938 kB / 448.1 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.1316, allocations: 211.3 kB / 448.3 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.967e-05/0.1317, allocations: 116.5 kB / 448.4 MB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.1317, allocations: 7.922 kB / 448.4 MB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.838e-05/0.1318, allocations: 4 kB / 448.4 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.1318, allocations: 4 kB / 448.4 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.1318, allocations: 0 / 448.4 MB, free: 6.188 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005727/0.1324, allocations: 0.6511 MB / 449.1 MB, free: 5.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1324, allocations: 8 kB / 449.1 MB, free: 5.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.1327, allocations: 20 kB / 449.1 MB, free: 5.512 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.001269/0.1339, allocations: 1.055 MB / 450.1 MB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.1341, allocations: 47.97 kB / 450.2 MB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1341, allocations: 0 / 450.2 MB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.835e-05/0.1342, allocations: 27.92 kB / 450.2 MB, free: 4.395 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.1346, allocations: 29.81 kB / 450.3 MB, free: 4.363 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/0.1379, allocations: 3.291 MB / 453.5 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.1382, allocations: 0.8185 MB / 454.4 MB, free: 140 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.706e-05/0.1383, allocations: 11.98 kB / 454.4 MB, free: 128 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.1384, allocations: 103.4 kB / 454.5 MB, free: 24 kB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.1384, allocations: 0 / 454.5 MB, free: 24 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1936/0.3321, allocations: 5.661 MB / 460.1 MB, free: 48.42 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/0.3323, allocations: 238.1 kB / 460.4 MB, free: 48.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.171, allocations: 4 kB / 460.4 MB, free: 48.15 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches