Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",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.001191/0.001191, allocations: 106.7 kB / 17.33 MB, free: 5.996 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.001395/0.001395, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.445/1.445, allocations: 222.9 MB / 241.9 MB, free: 15.37 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.2198/0.2198, allocations: 44.17 MB / 336.2 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 65.64 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1389, allocations: 60.82 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.004043/0.1429, allocations: 1.633 MB / 470.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000855/0.1439, allocations: 419.3 kB / 470.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.1439, allocations: 3.938 kB / 470.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.1443, allocations: 119.8 kB / 471 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.1445, allocations: 79.78 kB / 471.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.1449, allocations: 99.75 kB / 471.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.1451, allocations: 95.8 kB / 471.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1452, allocations: 16.17 kB / 471.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.67e-05/0.1453, allocations: 43.83 kB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.1454, allocations: 83.78 kB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.1454, allocations: 4 kB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1456, allocations: 51.97 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.717e-05/0.1456, allocations: 23.92 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.932e-05/0.1457, allocations: 39.67 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.1459, allocations: 115.8 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1459, allocations: 0 / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1459, allocations: 0 / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1459, allocations: 0 / 471.6 MB, free: 11.81 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.0005567/0.1465, allocations: 426.8 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1465, allocations: 8.031 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.926e-05/0.1466, allocations: 42.73 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.1466, allocations: 8.844 kB / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.1468, allocations: 207.9 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.1468, allocations: 384 / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.1469, allocations: 16.11 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.147, allocations: 49.62 kB / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.147, allocations: 0 / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.147, allocations: 0 / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.147, allocations: 0 / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.1471, allocations: 31.97 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.1476, allocations: 316.7 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.803e-05/0.1477, allocations: 42.5 kB / 472.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.594e-05/0.1478, allocations: 20.94 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.1478, allocations: 0 / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.1478, allocations: 38.56 kB / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1479, allocations: 0 / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009092/0.1488, allocations: 245.3 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.1488, allocations: 59.34 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.1491, allocations: 270.2 kB / 473.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.1491, allocations: 29.7 kB / 473.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.475e-05/0.1492, allocations: 112 kB / 473.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.1492, allocations: 23.66 kB / 473.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.1492, allocations: 21.7 kB / 473.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1493, allocations: 326.8 kB / 473.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.965e-05/0.1494, allocations: 35.92 kB / 473.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.508e-05/0.1495, allocations: 31.97 kB / 473.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.1497, allocations: 72.77 kB / 474 MB, free: 9.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1497, allocations: 0 / 474 MB, free: 9.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002022/0.1499, allocations: 121.7 kB / 474.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1499, allocations: 6.969 kB / 474.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1499, allocations: 0 / 474.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1499, allocations: 8 kB / 474.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.863e-05/0.15, allocations: 19.92 kB / 474.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.15, allocations: 8 kB / 474.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.051e-05/0.1501, allocations: 8 kB / 474.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.1501, allocations: 0 / 474.2 MB, free: 9.027 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 8.488e-05/0.1502, allocations: 133.8 kB / 474.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.1502, allocations: 15.81 kB / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.1505, allocations: 135 kB / 474.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1505, allocations: 4 kB / 474.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1505, allocations: 3.938 kB / 474.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1505, allocations: 0 / 474.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004756/0.151, allocations: 431.1 kB / 474.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.151, allocations: 7.875 kB / 474.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.093e-05/0.1511, allocations: 20.02 kB / 474.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.1511, allocations: 4 kB / 474.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.1511, allocations: 0 / 474.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1511, allocations: 0 / 474.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1511, allocations: 0 / 474.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.1514, allocations: 216.3 kB / 475.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.1514, allocations: 96.8 kB / 475.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.1514, allocations: 0 / 475.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.1515, allocations: 7.938 kB / 475.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.1516, allocations: 11.98 kB / 475.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.1516, allocations: 0 / 475.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.1517, allocations: 199.2 kB / 475.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1517, allocations: 0 / 475.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.152, allocations: 23.98 kB / 475.5 MB, free: 7.637 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 (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.00133/0.1533, allocations: 1.092 MB / 476.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.1536, allocations: 87.86 kB / 476.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1536, allocations: 0 / 476.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.963e-05/0.1537, allocations: 43.91 kB / 476.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.154, allocations: 19.92 kB / 476.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.1558, allocations: 1.841 MB / 478.5 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.1561, allocations: 0.7235 MB / 479.3 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.987e-05/0.1562, allocations: 24.64 kB / 479.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.492e-05/0.1562, allocations: 43.42 kB / 479.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1562, allocations: 0 / 479.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.1692, allocations: 3.167 MB / 482.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/0.1694, allocations: 241.6 kB / 482.7 MB, free: 484 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.091, allocations: 0 / 482.7 MB, free: 484 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches