Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",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.001069/0.00107, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.002088/0.002088, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.379/1.379, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.2133/0.2133, allocations: 44.17 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.28 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1178, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.004273/0.1221, allocations: 2.046 MB / 471.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.1243, allocations: 1.158 MB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002287/0.1246, allocations: 0 / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.1249, allocations: 55.52 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005471/0.1256, allocations: 151.3 kB / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.1271, allocations: 0.5966 MB / 473.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005722/0.1276, allocations: 307 kB / 473.7 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.1279, allocations: 80.67 kB / 473.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.1282, allocations: 127.5 kB / 473.9 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/0.1285, allocations: 195.3 kB / 474.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.655e-05/0.1286, allocations: 16 kB / 474.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.1288, allocations: 63.92 kB / 474.1 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.129, allocations: 143.5 kB / 474.3 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.1292, allocations: 174.6 kB / 474.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000535/0.1297, allocations: 398.4 kB / 474.8 MB, free: 8.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1297, allocations: 4 kB / 474.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1298, allocations: 0 / 474.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.1298, allocations: 0 / 474.8 MB, free: 8.781 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001228/0.131, allocations: 0.7969 MB / 475.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.1311, allocations: 16.03 kB / 475.6 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.715e-05/0.1311, allocations: 46.73 kB / 475.7 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.1312, allocations: 56.19 kB / 475.7 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006449/0.1319, allocations: 471.6 kB / 476.2 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.1319, allocations: 8.375 kB / 476.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.132, allocations: 15.94 kB / 476.2 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/0.1323, allocations: 151 kB / 476.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.1324, allocations: 7.906 kB / 476.4 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.1324, allocations: 8 kB / 476.4 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1324, allocations: 7.922 kB / 476.4 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003357/0.1327, allocations: 119.8 kB / 476.5 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.134, allocations: 0.7191 MB / 477.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.1343, allocations: 133.1 kB / 477.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.1345, allocations: 73.81 kB / 477.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.1345, allocations: 4 kB / 477.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.1346, allocations: 38.48 kB / 477.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.933e-06/0.1346, allocations: 0 / 477.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0023/0.1369, allocations: 0.7399 MB / 478.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.137, allocations: 85.11 kB / 478.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.1381, allocations: 0.8906 MB / 479.2 MB, free: 4.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.1382, allocations: 33.7 kB / 479.2 MB, free: 4.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.1384, allocations: 252.4 kB / 479.5 MB, free: 3.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.696e-05/0.1385, allocations: 70.94 kB / 479.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.1386, allocations: 33.7 kB / 479.6 MB, free: 3.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.1388, allocations: 378.7 kB / 479.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.1391, allocations: 111.9 kB / 480.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/0.1394, allocations: 125.6 kB / 480.2 MB, free: 3.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005815/0.14, allocations: 257.6 kB / 480.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.14, allocations: 0 / 480.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007397/0.1408, allocations: 344.6 kB / 480.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1408, allocations: 8 kB / 480.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1408, allocations: 0 / 480.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1408, allocations: 0 / 480.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.1411, allocations: 51.95 kB / 480.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1412, allocations: 0 / 480.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.1414, allocations: 23.97 kB / 480.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.1414, allocations: 8 kB / 480.9 MB, free: 2.477 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.000239/0.1416, allocations: 225.6 kB / 481.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.1418, allocations: 59.25 kB / 481.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008893/0.1427, allocations: 390.9 kB / 481.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.1427, allocations: 8 kB / 481.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1427, allocations: 0 / 481.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.1427, allocations: 0 / 481.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.1443, allocations: 0.9545 MB / 482.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1443, allocations: 0 / 482.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.1446, allocations: 55.89 kB / 482.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.1446, allocations: 4 kB / 482.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.1446, allocations: 0 / 482.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.1446, allocations: 11.92 kB / 482.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1447, allocations: 3.938 kB / 482.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007951/0.1455, allocations: 0.5096 MB / 483.1 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.1456, allocations: 156.3 kB / 483.2 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.411e-05/0.1457, allocations: 4 kB / 483.2 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/0.146, allocations: 27.91 kB / 483.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-05/0.1461, allocations: 19.97 kB / 483.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.1461, allocations: 8 kB / 483.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000763/0.1469, allocations: 0.6474 MB / 483.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1469, allocations: 0 / 483.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003979/0.1473, allocations: 60 kB / 484 MB, free: 15.25 MB / 366.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 (20): * Single equations (assignments): 20 * 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.002007/0.1493, allocations: 1.357 MB / 485.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007526/0.1501, allocations: 279.6 kB / 485.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1501, allocations: 0 / 485.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003322/0.1504, allocations: 143.8 kB / 485.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000699/0.1511, allocations: 78.27 kB / 485.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007483/0.1586, allocations: 5.528 MB / 491.4 MB, free: 7.918 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.1591, allocations: 0.8809 MB / 492.2 MB, free: 7.012 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002889/0.1594, allocations: 103.2 kB / 492.3 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.1597, allocations: 179.4 kB / 492.5 MB, free: 6.734 MB / 366.1 MB Notification: Performance of SimCode: time 1.083e-06/0.1597, allocations: 0 / 492.5 MB, free: 6.734 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03205/0.1918, allocations: 10.1 MB / 0.4908 GB, free: 12.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/8.018, allocations: 17.62 kB / 0.4908 GB, free: 12.71 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches