Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",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.0007294/0.0007295, allocations: 95.34 kB / 17.35 MB, free: 6.371 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.0008216/0.0008217, allocations: 178.6 kB / 18.26 MB, free: 5.52 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.318/1.318, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1823/0.1823, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003033, allocations: 8 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1222, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002077/0.1244, allocations: 1.356 MB / 473.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007917/0.1252, allocations: 439.2 kB / 474.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.991e-05/0.1252, allocations: 3.938 kB / 474.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.1255, allocations: 55.84 kB / 474.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.1257, allocations: 43.89 kB / 474.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.1261, allocations: 167.2 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.1262, allocations: 71.77 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.1264, allocations: 31.97 kB / 474.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.284e-05/0.1264, allocations: 19.92 kB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.733e-05/0.1265, allocations: 51.75 kB / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.1265, allocations: 3.938 kB / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.1267, allocations: 43.98 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.151e-05/0.1267, allocations: 23.92 kB / 474.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.131e-05/0.1268, allocations: 53.5 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.127, allocations: 103.9 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.127, allocations: 0 / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.127, allocations: 3.938 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.127, allocations: 4 kB / 474.8 MB, free: 10.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.0004786/0.1275, allocations: 403.2 kB / 475.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1275, allocations: 11.97 kB / 475.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.703e-05/0.1276, allocations: 34.75 kB / 475.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.1276, allocations: 8.844 kB / 475.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.1278, allocations: 204 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1278, allocations: 4.375 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.1279, allocations: 8.375 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.128, allocations: 73.59 kB / 475.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1281, allocations: 3.906 kB / 475.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1281, allocations: 4 kB / 475.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1281, allocations: 0 / 475.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.1282, allocations: 55.91 kB / 475.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.1287, allocations: 320.8 kB / 475.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.1289, allocations: 70.58 kB / 476 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.447e-05/0.129, allocations: 32.97 kB / 476 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.1291, allocations: 0 / 476 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.1291, allocations: 30.56 kB / 476.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.1291, allocations: 0 / 476.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001501/0.1306, allocations: 0.5049 MB / 476.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.1306, allocations: 55.41 kB / 476.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.1308, allocations: 186.2 kB / 476.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1308, allocations: 29.7 kB / 476.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.1309, allocations: 104.1 kB / 476.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.1309, allocations: 35.41 kB / 477 MB, free: 8.418 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.131, allocations: 17.7 kB / 477 MB, free: 8.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.588e-05/0.1311, allocations: 322.8 kB / 477.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.1312, allocations: 63.97 kB / 477.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.1314, allocations: 59.95 kB / 477.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.1317, allocations: 148.8 kB / 477.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1317, allocations: 0 / 477.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003436/0.132, allocations: 185.4 kB / 477.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.132, allocations: 8 kB / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.132, allocations: 0 / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1321, allocations: 3.938 kB / 477.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1322, allocations: 35.92 kB / 477.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1322, allocations: 0 / 477.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.861e-05/0.1323, allocations: 15.98 kB / 477.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.1323, allocations: 3.938 kB / 477.8 MB, free: 7.547 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 9.041e-05/0.1324, allocations: 129.8 kB / 477.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.1324, allocations: 7.906 kB / 477.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004225/0.1329, allocations: 210.2 kB / 478.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1329, allocations: 3.938 kB / 478.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.1329, allocations: 4 kB / 478.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1329, allocations: 0 / 478.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006704/0.1336, allocations: 0.5194 MB / 478.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1336, allocations: 4 kB / 478.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.1337, allocations: 27.98 kB / 478.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1337, allocations: 0 / 478.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.1337, allocations: 0 / 478.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1337, allocations: 8.062 kB / 478.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1337, allocations: 0 / 478.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003752/0.1341, allocations: 297.4 kB / 479 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.1342, allocations: 96.91 kB / 479.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.1342, allocations: 4 kB / 479.1 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.937e-05/0.1343, allocations: 11.98 kB / 479.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.1343, allocations: 19.98 kB / 479.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.1344, allocations: 4 kB / 479.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.975e-05/0.1345, allocations: 140.1 kB / 479.3 MB, free: 5.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1345, allocations: 0 / 479.3 MB, free: 5.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1347, allocations: 27.98 kB / 479.3 MB, free: 5.934 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.001507/0.1362, allocations: 1.171 MB / 480.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003524/0.1366, allocations: 143.8 kB / 480.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1366, allocations: 0 / 480.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.1368, allocations: 84.02 kB / 480.7 MB, free: 4.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.1371, allocations: 19.97 kB / 480.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.1394, allocations: 1.95 MB / 482.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.1397, allocations: 0.7121 MB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.653e-05/0.1398, allocations: 32.53 kB / 483.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.647e-05/0.1399, allocations: 35.42 kB / 483.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1399, allocations: 0 / 483.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.1536, allocations: 2.963 MB / 486.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/0.1539, allocations: 237 kB / 486.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/1.857, allocations: 0 / 486.6 MB, free: 14.71 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches