Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_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.0009564/0.0009561, allocations: 87.84 kB / 16.01 MB, free: 92 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 182.7 kB / 16.92 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.4 MB / 223.1 MB, free: 5.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3516/0.3516, allocations: 43.58 MB / 315 MB, free: 8.691 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005489/0.0005487, allocations: 16 kB / 384.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1191, allocations: 58.87 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test31): time 0.002302/0.1215, allocations: 1.337 MB / 444.9 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.123, allocations: 0.9142 MB / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.63e-05/0.1231, allocations: 0 / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.1233, allocations: 11.94 kB / 445.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.1236, allocations: 35.89 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.1239, allocations: 107.8 kB / 445.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.1241, allocations: 59.83 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1242, allocations: 12.47 kB / 446 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.778e-05/0.1243, allocations: 23.86 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.1245, allocations: 27.84 kB / 446.1 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.1245, allocations: 8 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.1247, allocations: 43.97 kB / 446.1 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.692e-05/0.1247, allocations: 15.97 kB / 446.1 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.407e-05/0.1248, allocations: 53.45 kB / 446.2 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.1251, allocations: 103.7 kB / 446.3 MB, free: 9.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1251, allocations: 0 / 446.3 MB, free: 9.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1251, allocations: 0 / 446.3 MB, free: 9.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1251, allocations: 0 / 446.3 MB, free: 9.82 MB / 382.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.0005555/0.1256, allocations: 387.2 kB / 446.7 MB, free: 9.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.1257, allocations: 12.03 kB / 446.7 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.198e-05/0.1257, allocations: 34.75 kB / 446.7 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.1258, allocations: 8.875 kB / 446.7 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.126, allocations: 192.1 kB / 446.9 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.126, allocations: 384 / 446.9 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.1261, allocations: 12.12 kB / 446.9 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.1263, allocations: 79.33 kB / 447 MB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1263, allocations: 0 / 447 MB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1263, allocations: 4 kB / 447 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1263, allocations: 7.984 kB / 447 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.1265, allocations: 39.97 kB / 447 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.1269, allocations: 296.8 kB / 447.3 MB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.127, allocations: 42.56 kB / 447.4 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.184e-05/0.1271, allocations: 32.94 kB / 447.4 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.1271, allocations: 0 / 447.4 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.1272, allocations: 34.56 kB / 447.4 MB, free: 8.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 7.32e-07/0.1272, allocations: 0 / 447.4 MB, free: 8.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008183/0.128, allocations: 237.2 kB / 447.7 MB, free: 8.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.128, allocations: 77.11 kB / 447.7 MB, free: 8.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.1282, allocations: 149.2 kB / 447.9 MB, free: 7.996 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1282, allocations: 25.7 kB / 447.9 MB, free: 7.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.881e-05/0.1283, allocations: 100 kB / 448 MB, free: 7.863 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.1284, allocations: 19.66 kB / 448 MB, free: 7.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.1284, allocations: 13.72 kB / 448.1 MB, free: 7.824 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1285, allocations: 322.8 kB / 448.4 MB, free: 7.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.1286, allocations: 43.97 kB / 448.4 MB, free: 7.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.1288, allocations: 61.69 kB / 448.5 MB, free: 7.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.129, allocations: 92.91 kB / 448.6 MB, free: 7.297 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.129, allocations: 4 kB / 448.6 MB, free: 7.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003082/0.1294, allocations: 117.5 kB / 448.7 MB, free: 7.172 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1294, allocations: 12 kB / 448.7 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1294, allocations: 0 / 448.7 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1294, allocations: 0 / 448.7 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.1296, allocations: 31.91 kB / 448.7 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.1296, allocations: 7.875 kB / 448.7 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.382e-05/0.1297, allocations: 12 kB / 448.7 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1297, allocations: 4 kB / 448.7 MB, free: 7.105 MB / 382.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 9.534e-05/0.1298, allocations: 121.8 kB / 448.9 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.1298, allocations: 7.906 kB / 448.9 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003476/0.1302, allocations: 138.6 kB / 449 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1302, allocations: 0 / 449 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.1302, allocations: 7.922 kB / 449 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1302, allocations: 0 / 449 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/0.1307, allocations: 410.4 kB / 449.4 MB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1308, allocations: 3.938 kB / 449.4 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.308e-05/0.1308, allocations: 23.98 kB / 449.4 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1309, allocations: 3.938 kB / 449.4 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.1309, allocations: 4 kB / 449.5 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1309, allocations: 0 / 449.5 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1309, allocations: 0 / 449.5 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.1312, allocations: 231.3 kB / 449.7 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.1313, allocations: 89 kB / 449.8 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.1313, allocations: 7.938 kB / 449.8 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1314, allocations: 11.98 kB / 449.8 MB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.1314, allocations: 8 kB / 449.8 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.1315, allocations: 4 kB / 449.8 MB, free: 5.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.474e-05/0.1315, allocations: 115.2 kB / 449.9 MB, free: 5.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1316, allocations: 0 / 449.9 MB, free: 5.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.1318, allocations: 24 kB / 449.9 MB, free: 5.816 MB / 382.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.001486/0.1333, allocations: 1.099 MB / 451 MB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002936/0.1336, allocations: 87.94 kB / 451.1 MB, free: 4.641 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1336, allocations: 4 kB / 451.1 MB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.1338, allocations: 47.91 kB / 451.2 MB, free: 4.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.1341, allocations: 19.59 kB / 451.2 MB, free: 4.574 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.136, allocations: 1.597 MB / 452.8 MB, free: 2.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.1363, allocations: 0.6965 MB / 453.5 MB, free: 2.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.663e-05/0.1364, allocations: 17.12 kB / 453.5 MB, free: 2.164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.125e-05/0.1365, allocations: 31.41 kB / 453.5 MB, free: 2.133 MB / 382.1 MB Notification: Performance of SimCode: time 3.697e-06/0.1365, allocations: 0 / 453.5 MB, free: 2.133 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1964/0.3329, allocations: 2.554 MB / 456.1 MB, free: 45.59 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/0.3331, allocations: 227.9 kB / 456.3 MB, free: 45.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.144, allocations: 0 / 456.3 MB, free: 45.34 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches