Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",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.001215/0.001216, 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.001433/0.001433, 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.503/1.503, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2136/0.2136, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 68.92 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1232, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003495/0.1268, allocations: 1.611 MB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008438/0.1276, allocations: 455.1 kB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.124e-05/0.1277, allocations: 3.938 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005404/0.1283, allocations: 447.2 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003756/0.1287, allocations: 251.5 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004901/0.1292, allocations: 175.1 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.1295, allocations: 171.6 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1296, allocations: 16 kB / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.1297, allocations: 111.8 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.13, allocations: 211.6 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.13, allocations: 4 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.896e-05/0.1302, allocations: 35.92 kB / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.1303, allocations: 91.61 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.099e-05/0.1304, allocations: 103 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.1307, allocations: 263.2 kB / 473.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1307, allocations: 0 / 473.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1307, allocations: 0 / 473.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1307, allocations: 0 / 473.3 MB, free: 10.34 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.0007946/0.1315, allocations: 0.6414 MB / 473.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.1316, allocations: 8.031 kB / 473.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.5e-05/0.1316, allocations: 42.73 kB / 474 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.1317, allocations: 44.38 kB / 474 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.132, allocations: 300.1 kB / 474.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.132, allocations: 12.3 kB / 474.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.1321, allocations: 384 / 474.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.1323, allocations: 61.61 kB / 474.4 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1323, allocations: 0 / 474.4 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1323, allocations: 12 kB / 474.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1323, allocations: 0 / 474.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.1325, allocations: 35.95 kB / 474.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/0.133, allocations: 408.6 kB / 474.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.1332, allocations: 50.55 kB / 474.9 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.763e-05/0.1333, allocations: 24.94 kB / 474.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.1333, allocations: 4 kB / 474.9 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.1333, allocations: 30.56 kB / 474.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.1333, allocations: 0 / 474.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008973/0.1342, allocations: 311.9 kB / 475.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.1343, allocations: 51.41 kB / 475.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008626/0.1351, allocations: 0.8613 MB / 476.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.1352, allocations: 29.7 kB / 476.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.1354, allocations: 212 kB / 476.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.1354, allocations: 31.64 kB / 476.4 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/0.1355, allocations: 17.72 kB / 476.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1356, allocations: 366.8 kB / 476.8 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.1358, allocations: 31.97 kB / 476.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.1359, allocations: 43.91 kB / 476.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.1361, allocations: 88.8 kB / 476.9 MB, free: 6.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1361, allocations: 0 / 476.9 MB, free: 6.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003278/0.1365, allocations: 153.1 kB / 477.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.1365, allocations: 8 kB / 477.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1365, allocations: 0 / 477.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1365, allocations: 0 / 477.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.1367, allocations: 19.98 kB / 477.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1367, allocations: 4 kB / 477.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.446e-05/0.1368, allocations: 19.86 kB / 477.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.1368, allocations: 7.938 kB / 477.1 MB, free: 6.219 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 (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 0.0002036/0.137, allocations: 213.8 kB / 477.4 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/0.1371, allocations: 43.44 kB / 477.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000405/0.1375, allocations: 181.7 kB / 477.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1375, allocations: 0 / 477.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1375, allocations: 0 / 477.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1375, allocations: 3.938 kB / 477.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007002/0.1382, allocations: 0.5102 MB / 478.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1382, allocations: 4 kB / 478.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.244e-05/0.1383, allocations: 19.98 kB / 478.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1383, allocations: 0 / 478.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1384, allocations: 3.938 kB / 478.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1384, allocations: 0 / 478.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1384, allocations: 4 kB / 478.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.1387, allocations: 258.9 kB / 478.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.179e-05/0.1388, allocations: 120.5 kB / 478.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.1389, allocations: 3.938 kB / 478.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.985e-05/0.139, allocations: 7.984 kB / 478.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.139, allocations: 4.281 kB / 478.5 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.139, allocations: 8 kB / 478.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005875/0.1396, allocations: 0.655 MB / 479.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1396, allocations: 0 / 479.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1399, allocations: 24 kB / 479.2 MB, free: 4.062 MB / 350.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.001499/0.1414, allocations: 1.093 MB / 480.3 MB, free: 3.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003147/0.1417, allocations: 91.92 kB / 480.4 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1418, allocations: 0 / 480.4 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.1419, allocations: 47.91 kB / 480.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.1424, allocations: 29.89 kB / 480.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003863/0.1462, allocations: 3.387 MB / 483.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.1467, allocations: 0.826 MB / 484.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.01e-05/0.1468, allocations: 32.94 kB / 484.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.1469, allocations: 115.4 kB / 484.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1469, allocations: 0 / 484.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.1712, allocations: 6.025 MB / 490.8 MB, free: 8.516 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.599/7.771, allocations: 9.688 kB / 490.8 MB, free: 8.508 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches