Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.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.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test28",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.001297/0.001297, allocations: 107.7 kB / 16.41 MB, free: 6.488 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.00134/0.001341, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.504/1.504, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2385/0.2385, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 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.002081/0.002081, allocations: 67.89 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1295, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002924/0.1324, allocations: 1.612 MB / 0.489 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000634/0.1331, allocations: 335.6 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.726e-05/0.1332, allocations: 3.938 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.1334, allocations: 59.78 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.1336, allocations: 55.75 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003782/0.134, allocations: 155.7 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.1342, allocations: 79.73 kB / 0.4896 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1343, allocations: 23.98 kB / 0.4897 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.23e-05/0.1343, allocations: 27.91 kB / 0.4897 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1345, allocations: 43.83 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.1345, allocations: 4 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.245e-05/0.1346, allocations: 35.98 kB / 0.4898 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.41e-05/0.1347, allocations: 23.92 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.16e-05/0.1347, allocations: 35.72 kB / 0.4898 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.1349, allocations: 91.59 kB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.1349, allocations: 7.938 kB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1349, allocations: 0 / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.135, allocations: 4 kB / 0.4899 GB, free: 9.695 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.0006059/0.1356, allocations: 410.8 kB / 0.4903 GB, free: 9.246 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1356, allocations: 15.89 kB / 0.4903 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.743e-05/0.1357, allocations: 30.75 kB / 0.4904 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.1357, allocations: 12.84 kB / 0.4904 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.1359, allocations: 200.2 kB / 0.4906 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.136, allocations: 12.36 kB / 0.4906 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.136, allocations: 384 / 0.4906 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.1362, allocations: 77.52 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1362, allocations: 0 / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1362, allocations: 4 kB / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1362, allocations: 0 / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.1364, allocations: 31.97 kB / 0.4907 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.1368, allocations: 312.8 kB / 0.491 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.137, allocations: 58.5 kB / 0.491 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.874e-05/0.1371, allocations: 24.94 kB / 0.4911 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.1371, allocations: 80 / 0.4911 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.1371, allocations: 30.56 kB / 0.4911 GB, free: 8.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1371, allocations: 4 kB / 0.4911 GB, free: 8.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000819/0.138, allocations: 233.2 kB / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.138, allocations: 51.41 kB / 0.4914 GB, free: 8.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.1382, allocations: 194.2 kB / 0.4916 GB, free: 7.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1383, allocations: 29.7 kB / 0.4916 GB, free: 7.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.019e-05/0.1384, allocations: 104.1 kB / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.1384, allocations: 35.73 kB / 0.4917 GB, free: 7.652 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.1384, allocations: 17.72 kB / 0.4917 GB, free: 7.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1386, allocations: 322.8 kB / 0.492 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.1387, allocations: 35.97 kB / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.1389, allocations: 35.97 kB / 0.4921 GB, free: 7.234 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.1392, allocations: 92.73 kB / 0.4922 GB, free: 7.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1392, allocations: 0 / 0.4922 GB, free: 7.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000314/0.1395, allocations: 129.5 kB / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1395, allocations: 4 kB / 0.4923 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1395, allocations: 0 / 0.4923 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.1395, allocations: 4 kB / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.1397, allocations: 19.98 kB / 0.4924 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1397, allocations: 3.938 kB / 0.4924 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.647e-05/0.1398, allocations: 19.92 kB / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1398, allocations: 0 / 0.4924 GB, free: 6.957 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.828e-05/0.1399, allocations: 129.8 kB / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.1399, allocations: 11.91 kB / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/0.1403, allocations: 146.3 kB / 0.4927 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1403, allocations: 4 kB / 0.4927 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1403, allocations: 0 / 0.4927 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1403, allocations: 3.938 kB / 0.4927 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005836/0.1409, allocations: 418.4 kB / 0.4931 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1409, allocations: 0 / 0.4931 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.056e-05/0.141, allocations: 19.98 kB / 0.4931 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.141, allocations: 0 / 0.4931 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.141, allocations: 7.938 kB / 0.4931 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.141, allocations: 0 / 0.4931 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.141, allocations: 0 / 0.4931 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.1414, allocations: 227.8 kB / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.1414, allocations: 89.06 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.1415, allocations: 7.922 kB / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.819e-05/0.1416, allocations: 8 kB / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.1416, allocations: 8.203 kB / 0.4934 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.1416, allocations: 4 kB / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.1418, allocations: 156 kB / 0.4936 GB, free: 5.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1418, allocations: 0 / 0.4936 GB, free: 5.633 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.142, allocations: 23.94 kB / 0.4936 GB, free: 5.609 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.002022/0.1441, allocations: 1.065 MB / 0.4946 GB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003163/0.1444, allocations: 95.86 kB / 0.4947 GB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1444, allocations: 0 / 0.4947 GB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.1446, allocations: 47.97 kB / 0.4948 GB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.1449, allocations: 19.64 kB / 0.4948 GB, free: 4.406 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.1471, allocations: 1.725 MB / 0.4965 GB, free: 2.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.1475, allocations: 0.708 MB / 0.4972 GB, free: 1.867 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.385e-05/0.1475, allocations: 24.95 kB / 0.4972 GB, free: 1.844 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.373e-05/0.1476, allocations: 35.42 kB / 0.4972 GB, free: 1.809 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1476, allocations: 0 / 0.4972 GB, free: 1.809 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.1702, allocations: 3.032 MB / 0.5002 GB, free: 14.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.866/8.036, allocations: 0 / 0.5002 GB, free: 14.75 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches