Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",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.002047/0.002047, allocations: 100 kB / 17.63 MB, free: 5.523 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.002784/0.002784, allocations: 192.1 kB / 18.56 MB, free: 4.602 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.433/1.433, allocations: 222.9 MB / 242.2 MB, free: 15.27 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.2206/0.2206, allocations: 44.18 MB / 336.6 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 64.95 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1235, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003673/0.1272, allocations: 1.969 MB / 471.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.1292, allocations: 1.135 MB / 472.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.1294, allocations: 4 kB / 472.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002814/0.1296, allocations: 47.59 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004121/0.1301, allocations: 151.3 kB / 472.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.1315, allocations: 0.5902 MB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004026/0.1319, allocations: 279.2 kB / 473.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.1321, allocations: 72.7 kB / 473.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.1323, allocations: 123.5 kB / 473.7 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.1326, allocations: 183.3 kB / 473.9 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.655e-05/0.1327, allocations: 12 kB / 473.9 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.1328, allocations: 59.97 kB / 474 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.133, allocations: 135.6 kB / 474.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.1331, allocations: 170.6 kB / 474.3 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.1336, allocations: 374.6 kB / 474.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1336, allocations: 0 / 474.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1336, allocations: 0 / 474.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.1336, allocations: 0 / 474.6 MB, free: 9.008 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001084/0.1347, allocations: 0.7813 MB / 475.4 MB, free: 8.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.318e-05/0.1348, allocations: 12.03 kB / 475.4 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.565e-05/0.1348, allocations: 38.75 kB / 475.5 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.909e-05/0.135, allocations: 56.27 kB / 475.5 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005526/0.1355, allocations: 463.7 kB / 476 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1355, allocations: 4.375 kB / 476 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.1356, allocations: 15.94 kB / 476 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.1359, allocations: 152.9 kB / 476.1 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.1359, allocations: 0 / 476.1 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1359, allocations: 0 / 476.1 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.1359, allocations: 4 kB / 476.1 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000233/0.1362, allocations: 99.86 kB / 476.2 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000933/0.1371, allocations: 0.6955 MB / 476.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.1373, allocations: 113.2 kB / 477 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.1375, allocations: 49.81 kB / 477.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.1375, allocations: 11.94 kB / 477.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.1375, allocations: 34.5 kB / 477.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.1375, allocations: 0 / 477.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001517/0.1391, allocations: 0.5373 MB / 477.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.1391, allocations: 81.05 kB / 477.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009517/0.1401, allocations: 0.8857 MB / 478.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.1401, allocations: 29.7 kB / 478.7 MB, free: 4.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.1403, allocations: 260.2 kB / 478.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.014e-05/0.1404, allocations: 55.2 kB / 479 MB, free: 4.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.945e-05/0.1404, allocations: 33.7 kB / 479 MB, free: 4.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1406, allocations: 370.7 kB / 479.4 MB, free: 4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.1408, allocations: 63.95 kB / 479.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.141, allocations: 85.66 kB / 479.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.1414, allocations: 161.6 kB / 479.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1414, allocations: 0 / 479.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004978/0.1419, allocations: 237 kB / 479.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.1419, allocations: 7.984 kB / 479.9 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1419, allocations: 4 kB / 479.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1419, allocations: 0 / 479.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.1422, allocations: 39.91 kB / 480 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.1422, allocations: 4 kB / 480 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.1423, allocations: 16.2 kB / 480 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.1424, allocations: 4 kB / 480 MB, free: 3.371 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002177/0.1426, allocations: 221.6 kB / 480.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.1427, allocations: 55.25 kB / 480.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006776/0.1434, allocations: 286.1 kB / 480.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1434, allocations: 4 kB / 480.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.1434, allocations: 0.5625 kB / 480.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1434, allocations: 0 / 480.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.1447, allocations: 0.8178 MB / 481.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1447, allocations: 0 / 481.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.1449, allocations: 39.97 kB / 481.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.1449, allocations: 0 / 481.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.1449, allocations: 4 kB / 481.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.1449, allocations: 4.016 kB / 481.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.1449, allocations: 3.984 kB / 481.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005929/0.1455, allocations: 420.5 kB / 481.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.1457, allocations: 152.4 kB / 482 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.378e-05/0.1458, allocations: 0 / 482 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.146, allocations: 19.92 kB / 482 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.1461, allocations: 15.98 kB / 482 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.1461, allocations: 4 kB / 482 MB, free: 1.242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007676/0.1468, allocations: 0.6472 MB / 482.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1469, allocations: 0 / 482.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003892/0.1473, allocations: 52 kB / 482.7 MB, free: 0.5469 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 (16): * Single equations (assignments): 16 * 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.002063/0.1493, allocations: 1.254 MB / 484 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004802/0.1498, allocations: 175.8 kB / 484.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1498, allocations: 4 kB / 484.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.15, allocations: 91.88 kB / 484.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006462/0.1507, allocations: 77.5 kB / 484.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00682/0.1575, allocations: 5.232 MB / 489.5 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/0.1581, allocations: 0.8653 MB / 490.4 MB, free: 8.871 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002537/0.1584, allocations: 95.2 kB / 490.5 MB, free: 8.777 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.1586, allocations: 167.4 kB / 490.6 MB, free: 8.613 MB / 366.1 MB Notification: Performance of SimCode: time 1.362e-06/0.1587, allocations: 0 / 490.6 MB, free: 8.613 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03275/0.1914, allocations: 9.578 MB / 0.4885 GB, free: 15.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.71/7.901, allocations: 6.953 kB / 0.4885 GB, free: 15.12 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches