Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",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.001123/0.001123, allocations: 104 kB / 17.32 MB, free: 5.984 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.001295/0.001295, allocations: 193.3 kB / 18.25 MB, free: 5.07 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.387/1.387, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.2141/0.2141, allocations: 44.17 MB / 336.2 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 64.34 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1178, allocations: 60.82 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.004311/0.1222, allocations: 1.633 MB / 470.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.1243, allocations: 1.015 MB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.1244, allocations: 4 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004171/0.1248, allocations: 15.92 kB / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003452/0.1252, allocations: 35.91 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/0.1258, allocations: 111.2 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002925/0.1261, allocations: 67.83 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.1263, allocations: 16.19 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.515e-05/0.1264, allocations: 35.84 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.1266, allocations: 27.86 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.1267, allocations: 4 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.1269, allocations: 59.89 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.991e-05/0.1269, allocations: 15.94 kB / 471.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.134e-05/0.127, allocations: 27.8 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.1273, allocations: 99.97 kB / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.1274, allocations: 8 kB / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1274, allocations: 3.938 kB / 472 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.1274, allocations: 0 / 472 MB, free: 11.44 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007108/0.1281, allocations: 383.3 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.1282, allocations: 8.031 kB / 472.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.835e-05/0.1282, allocations: 42.75 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.1283, allocations: 4.844 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.1286, allocations: 200.1 kB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.1287, allocations: 384 / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.1287, allocations: 12.12 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.129, allocations: 79.38 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.129, allocations: 3.938 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.129, allocations: 0 / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.129, allocations: 0 / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.1292, allocations: 39.97 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005373/0.1297, allocations: 308.8 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.1299, allocations: 50.59 kB / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.066e-05/0.1299, allocations: 24.97 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.13, allocations: 3.984 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/0.13, allocations: 38.56 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.13, allocations: 0 / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007941/0.1308, allocations: 185.2 kB / 473.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.364e-05/0.1309, allocations: 81.05 kB / 473.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.1311, allocations: 152.4 kB / 473.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.1312, allocations: 25.7 kB / 473.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/0.1313, allocations: 112 kB / 473.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.1313, allocations: 15.72 kB / 473.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/0.1314, allocations: 25.7 kB / 473.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.1315, allocations: 318.8 kB / 474.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.013e-05/0.1316, allocations: 27.97 kB / 474.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.257e-05/0.1317, allocations: 41.64 kB / 474.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.1319, allocations: 76.84 kB / 474.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1319, allocations: 3.938 kB / 474.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002525/0.1322, allocations: 105.6 kB / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.1322, allocations: 4 kB / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.1322, allocations: 0 / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.1323, allocations: 0 / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.1324, allocations: 19.98 kB / 474.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.1324, allocations: 7.875 kB / 474.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.324e-05/0.1325, allocations: 11.98 kB / 474.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1325, allocations: 0 / 474.3 MB, free: 8.828 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.0001799/0.1327, allocations: 125.8 kB / 474.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.1328, allocations: 7.906 kB / 474.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003436/0.1331, allocations: 134.2 kB / 474.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.1331, allocations: 0 / 474.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.1332, allocations: 4.312 kB / 474.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.1332, allocations: 4 kB / 474.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006472/0.1338, allocations: 398.5 kB / 475 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.1338, allocations: 4 kB / 475 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.633e-05/0.1339, allocations: 19.92 kB / 475 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1339, allocations: 0 / 475 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.134, allocations: 4 kB / 475 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.134, allocations: 0 / 475 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.134, allocations: 4 kB / 475 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.1343, allocations: 207.3 kB / 475.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.085e-05/0.1344, allocations: 84.95 kB / 475.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.1344, allocations: 0 / 475.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.824e-05/0.1345, allocations: 8 kB / 475.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.1345, allocations: 11.92 kB / 475.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.1346, allocations: 8 kB / 475.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.526e-05/0.1347, allocations: 103.3 kB / 475.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1347, allocations: 0 / 475.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.135, allocations: 27.98 kB / 475.5 MB, free: 7.59 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 (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.001675/0.1366, allocations: 1.082 MB / 476.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003269/0.137, allocations: 79.92 kB / 476.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.137, allocations: 3.938 kB / 476.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.1371, allocations: 39.97 kB / 476.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.1376, allocations: 19.98 kB / 476.7 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.1396, allocations: 1.52 MB / 478.2 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.14, allocations: 0.6924 MB / 478.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.673e-05/0.1401, allocations: 21.11 kB / 478.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.693e-05/0.1402, allocations: 31.42 kB / 479 MB, free: 4.145 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1402, allocations: 0 / 479 MB, free: 4.145 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02748/0.1677, allocations: 2.815 MB / 481.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/0.1679, allocations: 237.1 kB / 482 MB, free: 1.168 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.012/2.18, allocations: 0 / 482 MB, free: 1.168 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches