Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26",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.001447/0.001447, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001824/0.001824, allocations: 194 kB / 18.12 MB, free: 5.383 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.458/1.458, allocations: 222.9 MB / 241.8 MB, free: 13.79 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.2352/0.2352, allocations: 44.17 MB / 336.1 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.84 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1294, allocations: 60.83 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.003445/0.1329, allocations: 1.692 MB / 470.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009109/0.1339, allocations: 447.2 kB / 470.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.498e-05/0.1339, allocations: 4 kB / 470.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.1342, allocations: 55.86 kB / 470.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.1344, allocations: 43.88 kB / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.1348, allocations: 170.5 kB / 471 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.135, allocations: 75.77 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.869e-05/0.1351, allocations: 23.97 kB / 471.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.144e-05/0.1351, allocations: 27.91 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.91e-05/0.1352, allocations: 51.7 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.1352, allocations: 4 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-05/0.1353, allocations: 43.98 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.577e-05/0.1354, allocations: 23.92 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.219e-05/0.1355, allocations: 23.81 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.1357, allocations: 115.9 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1357, allocations: 3.938 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1357, allocations: 0 / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1357, allocations: 0 / 471.4 MB, free: 11.93 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.0005335/0.1362, allocations: 415.1 kB / 471.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1363, allocations: 12.03 kB / 471.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.622e-05/0.1363, allocations: 34.69 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.1364, allocations: 8.844 kB / 471.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.1366, allocations: 204.1 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.1366, allocations: 4.375 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.1366, allocations: 384 / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.1368, allocations: 69.59 kB / 472.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.1368, allocations: 7.906 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1369, allocations: 7.938 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.1369, allocations: 4 kB / 472.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.137, allocations: 39.97 kB / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.1375, allocations: 316.8 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.1378, allocations: 62.58 kB / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.001e-05/0.1379, allocations: 36.97 kB / 472.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.1379, allocations: 0 / 472.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.1379, allocations: 30.56 kB / 472.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1379, allocations: 0 / 472.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001493/0.1394, allocations: 424.6 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.1395, allocations: 59.34 kB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.1397, allocations: 182.2 kB / 473.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.1397, allocations: 29.7 kB / 473.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.1398, allocations: 100.1 kB / 473.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.1399, allocations: 39.39 kB / 473.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-05/0.1399, allocations: 33.7 kB / 473.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.14, allocations: 326.8 kB / 473.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.1402, allocations: 51.95 kB / 473.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.1403, allocations: 55.97 kB / 473.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.1406, allocations: 120.8 kB / 474 MB, free: 9.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1406, allocations: 3.938 kB / 474 MB, free: 9.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004202/0.141, allocations: 165.4 kB / 474.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1411, allocations: 6.188 kB / 474.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1411, allocations: 3.938 kB / 474.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1411, allocations: 7.938 kB / 474.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.1412, allocations: 27.98 kB / 474.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1412, allocations: 4 kB / 474.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.984e-05/0.1413, allocations: 7.984 kB / 474.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1413, allocations: 4 kB / 474.3 MB, free: 8.855 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 (11): * Single equations (assignments): 11 * 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.000103/0.1414, allocations: 129.8 kB / 474.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.1415, allocations: 7.906 kB / 474.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003924/0.1419, allocations: 195.2 kB / 474.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1419, allocations: 3.938 kB / 474.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1419, allocations: 4 kB / 474.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1419, allocations: 7.984 kB / 474.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007316/0.1426, allocations: 0.4921 MB / 475.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1426, allocations: 0 / 475.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.608e-05/0.1427, allocations: 27.98 kB / 475.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1428, allocations: 0 / 475.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.1428, allocations: 4 kB / 475.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1428, allocations: 0 / 475.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1428, allocations: 0 / 475.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.1431, allocations: 281 kB / 475.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.1432, allocations: 96.91 kB / 475.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.1432, allocations: 4 kB / 475.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.1433, allocations: 7.984 kB / 475.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.1434, allocations: 19.97 kB / 475.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.1434, allocations: 4 kB / 475.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001061/0.1435, allocations: 144.2 kB / 475.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1435, allocations: 3.938 kB / 475.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.1438, allocations: 31.98 kB / 475.7 MB, free: 7.293 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001627/0.1454, allocations: 1.158 MB / 476.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003645/0.1458, allocations: 119.9 kB / 477 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1458, allocations: 4 kB / 477 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.146, allocations: 63.89 kB / 477 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.1464, allocations: 19.98 kB / 477.1 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.1488, allocations: 1.902 MB / 479 MB, free: 4.086 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.1492, allocations: 0.7161 MB / 479.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.1493, allocations: 36.52 kB / 479.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.139e-05/0.1494, allocations: 35.42 kB / 479.8 MB, free: 3.273 MB / 350.1 MB Notification: Performance of SimCode: time 2.094e-06/0.1494, allocations: 192 / 479.8 MB, free: 3.273 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01297/0.1624, allocations: 3.15 MB / 482.9 MB, free: 216 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.1627, allocations: 240.9 kB / 483.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/1.962, allocations: 3.938 kB / 483.1 MB, free: 15.95 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches