Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",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.001356/0.001356, 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.002473/0.002473, 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.429/1.429, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2415/0.2415, allocations: 44.17 MB / 336.2 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 57 kB / 408 MB, free: 27.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1345, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.005045/0.1397, allocations: 1.703 MB / 470.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.1407, allocations: 451.1 kB / 471 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.741e-05/0.1408, allocations: 4 kB / 471 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.1413, allocations: 63.84 kB / 471 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.1416, allocations: 59.88 kB / 471.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005243/0.1421, allocations: 150.1 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.1423, allocations: 95.73 kB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.1425, allocations: 19.98 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.289e-05/0.1426, allocations: 39.83 kB / 471.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.1427, allocations: 59.77 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.1427, allocations: 4 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.1429, allocations: 51.97 kB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.142e-05/0.143, allocations: 27.91 kB / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.143, allocations: 35.75 kB / 471.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.1433, allocations: 115.9 kB / 471.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1433, allocations: 0 / 471.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1433, allocations: 0 / 471.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1433, allocations: 0 / 471.7 MB, free: 11.77 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.0005871/0.1439, allocations: 430.9 kB / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.1439, allocations: 8.031 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.144, allocations: 38.69 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.144, allocations: 8.844 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.1444, allocations: 208.8 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1444, allocations: 8.375 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.1444, allocations: 4.281 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.1446, allocations: 69.59 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1446, allocations: 3.938 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1447, allocations: 4 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.1447, allocations: 4 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.1448, allocations: 43.95 kB / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.1453, allocations: 316.8 kB / 472.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.1456, allocations: 62.58 kB / 472.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.09e-05/0.1457, allocations: 32.97 kB / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.1457, allocations: 0 / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.1458, allocations: 30.56 kB / 472.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1458, allocations: 0 / 472.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001509/0.1473, allocations: 425 kB / 473.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.1473, allocations: 63.28 kB / 473.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.1476, allocations: 223.9 kB / 473.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.1476, allocations: 25.7 kB / 473.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.1477, allocations: 108.1 kB / 473.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.1477, allocations: 43.38 kB / 473.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.1478, allocations: 25.72 kB / 473.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1479, allocations: 322.8 kB / 474.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.148, allocations: 59.95 kB / 474.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.1482, allocations: 51.95 kB / 474.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.1484, allocations: 120.8 kB / 474.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1485, allocations: 0 / 474.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000332/0.1488, allocations: 173.7 kB / 474.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1488, allocations: 7.938 kB / 474.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1488, allocations: 0 / 474.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.1489, allocations: 3.938 kB / 474.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.149, allocations: 23.98 kB / 474.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.149, allocations: 4 kB / 474.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.774e-05/0.1491, allocations: 11.98 kB / 474.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1491, allocations: 4 kB / 474.6 MB, free: 8.621 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.0001097/0.1492, allocations: 133.8 kB / 474.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.1492, allocations: 11.81 kB / 474.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000418/0.1497, allocations: 198.9 kB / 474.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.1497, allocations: 3.938 kB / 474.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1497, allocations: 0 / 474.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1497, allocations: 4 kB / 474.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006886/0.1504, allocations: 0.496 MB / 475.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1504, allocations: 0 / 475.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.803e-05/0.1505, allocations: 28.03 kB / 475.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.1505, allocations: 4 kB / 475.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.1505, allocations: 8 kB / 475.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1506, allocations: 192 / 475.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.1506, allocations: 4 kB / 475.5 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003792/0.1509, allocations: 276.9 kB / 475.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.151, allocations: 92.91 kB / 475.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.151, allocations: 4.094 kB / 475.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.561e-05/0.1511, allocations: 15.92 kB / 475.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.1512, allocations: 11.98 kB / 475.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1512, allocations: 0 / 475.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000127/0.1513, allocations: 168.2 kB / 476 MB, free: 7.066 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1514, allocations: 4 kB / 476 MB, free: 7.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1516, allocations: 31.98 kB / 476.1 MB, free: 7.031 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.001541/0.1532, allocations: 1.15 MB / 477.2 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003502/0.1535, allocations: 131.9 kB / 477.3 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1536, allocations: 4 kB / 477.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.1537, allocations: 63.89 kB / 477.4 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.1541, allocations: 22.8 kB / 477.4 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.1564, allocations: 1.968 MB / 479.4 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.1567, allocations: 0.7199 MB / 480.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.823e-05/0.1568, allocations: 32.52 kB / 480.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.1569, allocations: 43.36 kB / 480.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1569, allocations: 0 / 480.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01335/0.1702, allocations: 3.323 MB / 483.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002786/0.1705, allocations: 237.8 kB / 483.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2, allocations: 0 / 483.7 MB, free: 15.45 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches