Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",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.001352/0.001352, allocations: 107.6 kB / 17.32 MB, free: 5.672 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.001637/0.001637, allocations: 193.3 kB / 18.25 MB, free: 4.977 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.459/1.459, allocations: 222.9 MB / 241.9 MB, free: 13.73 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.2439/0.2439, allocations: 44.18 MB / 336.2 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 68.12 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1343, allocations: 60.83 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003942/0.1383, allocations: 1.676 MB / 470.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009615/0.1393, allocations: 459.1 kB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1394, allocations: 0 / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007298/0.1402, allocations: 447.2 kB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000439/0.1407, allocations: 243.5 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000547/0.1412, allocations: 167 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.1416, allocations: 167.7 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1417, allocations: 19.98 kB / 472 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.1419, allocations: 111.7 kB / 472.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.1421, allocations: 219.6 kB / 472.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.1422, allocations: 0 / 472.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.1423, allocations: 39.92 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.1424, allocations: 83.69 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.809e-05/0.1425, allocations: 111 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003243/0.1428, allocations: 263.2 kB / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1429, allocations: 0 / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1429, allocations: 0 / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.1429, allocations: 4 kB / 472.8 MB, free: 10.65 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.0008509/0.1437, allocations: 0.6375 MB / 473.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.1438, allocations: 8.031 kB / 473.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5e-05/0.1439, allocations: 34.69 kB / 473.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.04e-05/0.1439, allocations: 44.38 kB / 473.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.1443, allocations: 308.1 kB / 473.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1443, allocations: 4.375 kB / 473.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.1444, allocations: 4.375 kB / 473.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.1446, allocations: 61.61 kB / 473.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1446, allocations: 0 / 473.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1446, allocations: 0 / 473.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.1446, allocations: 4 kB / 473.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.1448, allocations: 39.91 kB / 473.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006301/0.1454, allocations: 404.7 kB / 474.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.1456, allocations: 50.55 kB / 474.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.485e-05/0.1457, allocations: 24.94 kB / 474.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.1457, allocations: 4 kB / 474.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.1458, allocations: 34.56 kB / 474.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1458, allocations: 3.938 kB / 474.4 MB, free: 8.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008802/0.1466, allocations: 303.9 kB / 474.7 MB, free: 8.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.1467, allocations: 59.34 kB / 474.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008384/0.1475, allocations: 0.8652 MB / 475.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1476, allocations: 25.7 kB / 475.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.1477, allocations: 216 kB / 475.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.1478, allocations: 27.64 kB / 475.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.857e-05/0.1478, allocations: 13.72 kB / 475.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.148, allocations: 370.7 kB / 476.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.1482, allocations: 39.97 kB / 476.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.1483, allocations: 35.97 kB / 476.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.1485, allocations: 88.8 kB / 476.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1485, allocations: 0 / 476.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003312/0.1489, allocations: 165.2 kB / 476.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.1489, allocations: 4 kB / 476.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1489, allocations: 80 / 476.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.1489, allocations: 4.281 kB / 476.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.1491, allocations: 19.98 kB / 476.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1491, allocations: 3.984 kB / 476.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.987e-05/0.1492, allocations: 15.92 kB / 476.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1492, allocations: 4 kB / 476.7 MB, free: 6.535 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 (7): * Single equations (assignments): 7 * 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.0002019/0.1494, allocations: 217.8 kB / 476.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.615e-05/0.1495, allocations: 43.42 kB / 476.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004/0.1499, allocations: 185.3 kB / 477.1 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1499, allocations: 0 / 477.1 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1499, allocations: 0 / 477.1 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1499, allocations: 7.938 kB / 477.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000691/0.1506, allocations: 0.5023 MB / 477.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1506, allocations: 0 / 477.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.915e-05/0.1507, allocations: 23.92 kB / 477.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1507, allocations: 0 / 477.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1507, allocations: 7.938 kB / 477.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1507, allocations: 4 kB / 477.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1508, allocations: 0 / 477.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00038/0.1511, allocations: 250.9 kB / 477.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.853e-05/0.1512, allocations: 112.5 kB / 478 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.1513, allocations: 7.938 kB / 478 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.1514, allocations: 15.98 kB / 478 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.1514, allocations: 4 kB / 478 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.1515, allocations: 0 / 478 MB, free: 5.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006264/0.1521, allocations: 0.655 MB / 478.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1521, allocations: 0 / 478.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.1524, allocations: 28 kB / 478.7 MB, free: 4.379 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 (7): * Single equations (assignments): 7 * 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.001455/0.1538, allocations: 1.084 MB / 479.8 MB, free: 3.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003132/0.1542, allocations: 91.88 kB / 479.9 MB, free: 3.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1542, allocations: 4 kB / 479.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.1543, allocations: 52.11 kB / 479.9 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.1547, allocations: 29.86 kB / 480 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003945/0.1587, allocations: 3.445 MB / 483.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.1591, allocations: 0.8299 MB / 484.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.321e-05/0.1592, allocations: 16.66 kB / 484.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.1593, allocations: 115.4 kB / 484.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1593, allocations: 4 kB / 484.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/0.1794, allocations: 5.907 MB / 490.3 MB, free: 8.926 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.1796, allocations: 235.7 kB / 490.5 MB, free: 8.668 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.093, allocations: 3.938 kB / 490.5 MB, free: 8.664 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches