Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001089/0.001089, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001165/0.001165, allocations: 192 kB / 18.56 MB, free: 4.434 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.411/1.411, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2093/0.2093, allocations: 44.18 MB / 336.6 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.00124, allocations: 64 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1138, allocations: 60.81 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003286/0.1171, allocations: 2.036 MB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.1187, allocations: 1.049 MB / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.995e-05/0.1188, allocations: 0 / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.119, allocations: 39.59 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.1194, allocations: 159.3 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008385/0.1202, allocations: 434.1 kB / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003025/0.1205, allocations: 283 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.1207, allocations: 72.89 kB / 473.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.1208, allocations: 119.5 kB / 473.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.1211, allocations: 195.3 kB / 473.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.1211, allocations: 12 kB / 473.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.1212, allocations: 63.92 kB / 473.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.1214, allocations: 143.6 kB / 473.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.1215, allocations: 174.6 kB / 474.1 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.1219, allocations: 386.5 kB / 474.5 MB, free: 9.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1219, allocations: 0 / 474.5 MB, free: 9.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1219, allocations: 0 / 474.5 MB, free: 9.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.1219, allocations: 0 / 474.5 MB, free: 9.117 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.0009608/0.1228, allocations: 0.7968 MB / 475.3 MB, free: 8.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1229, allocations: 8.031 kB / 475.3 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.1229, allocations: 42.73 kB / 475.3 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.828e-05/0.123, allocations: 56.28 kB / 475.4 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.1235, allocations: 463.7 kB / 475.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1235, allocations: 4.375 kB / 475.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.1236, allocations: 19.88 kB / 475.9 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.1239, allocations: 137 kB / 476 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1239, allocations: 3.984 kB / 476 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.1239, allocations: 8 kB / 476 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.1239, allocations: 4 kB / 476 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002793/0.1242, allocations: 99.86 kB / 476.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000836/0.1251, allocations: 0.68 MB / 476.8 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.1253, allocations: 125.2 kB / 476.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.1255, allocations: 57.81 kB / 477 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.1255, allocations: 4 kB / 477 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.1256, allocations: 42.5 kB / 477 MB, free: 6.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.1256, allocations: 0 / 477 MB, free: 6.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001923/0.1275, allocations: 0.6738 MB / 477.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.1275, allocations: 81.11 kB / 477.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009297/0.1285, allocations: 0.8706 MB / 478.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.1285, allocations: 33.7 kB / 478.7 MB, free: 4.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.1287, allocations: 260.2 kB / 478.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.051e-05/0.1288, allocations: 71 kB / 479 MB, free: 4.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.908e-05/0.1288, allocations: 37.7 kB / 479 MB, free: 4.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.129, allocations: 374.7 kB / 479.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.1293, allocations: 87.94 kB / 479.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.1295, allocations: 109.6 kB / 479.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/0.13, allocations: 209.5 kB / 479.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.13, allocations: 0 / 479.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006585/0.1307, allocations: 304.7 kB / 480.1 MB, free: 3.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1307, allocations: 4 kB / 480.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1307, allocations: 192 / 480.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1308, allocations: 8 kB / 480.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.1311, allocations: 51.89 kB / 480.1 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1311, allocations: 4 kB / 480.2 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.1313, allocations: 23.97 kB / 480.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.1313, allocations: 4 kB / 480.2 MB, free: 3.133 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.0001937/0.1315, allocations: 217.6 kB / 480.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.1316, allocations: 63.31 kB / 480.5 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007722/0.1324, allocations: 345.9 kB / 480.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1324, allocations: 4 kB / 480.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1324, allocations: 4 kB / 480.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1324, allocations: 0 / 480.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.1337, allocations: 0.8801 MB / 481.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1337, allocations: 384 / 481.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.1339, allocations: 59.89 kB / 481.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1339, allocations: 0 / 481.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.134, allocations: 11.98 kB / 481.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.134, allocations: 3.938 kB / 481.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.134, allocations: 0 / 481.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007132/0.1347, allocations: 482.2 kB / 482.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.1348, allocations: 152.4 kB / 482.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/0.1349, allocations: 4 kB / 482.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.1352, allocations: 35.84 kB / 482.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.1353, allocations: 19.97 kB / 482.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.1353, allocations: 4 kB / 482.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006523/0.1359, allocations: 0.6393 MB / 483.1 MB, free: 132 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.136, allocations: 0 / 483.1 MB, free: 132 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003574/0.1363, allocations: 64 kB / 483.1 MB, free: 68 kB / 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 (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.001819/0.1381, allocations: 1.302 MB / 484.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006248/0.1388, allocations: 235.7 kB / 484.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1388, allocations: 0 / 484.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.1391, allocations: 127.9 kB / 484.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006305/0.1397, allocations: 81.34 kB / 484.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006563/0.1463, allocations: 5.329 MB / 490.2 MB, free: 9.047 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.1468, allocations: 0.8651 MB / 491.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002081/0.147, allocations: 79.22 kB / 491.1 MB, free: 8.082 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.1473, allocations: 175.4 kB / 491.3 MB, free: 7.91 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1473, allocations: 0 / 491.3 MB, free: 7.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/0.177, allocations: 9.837 MB / 0.4894 GB, free: 14.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.67/7.847, allocations: 3.984 kB / 0.4894 GB, free: 14.16 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches