Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",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.001114/0.001114, allocations: 104.7 kB / 16.4 MB, free: 6.504 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.00119/0.00119, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.462/1.462, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2068/0.2068, allocations: 43.53 MB / 314.1 MB, free: 464 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.00143/0.00143, allocations: 69.47 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.127, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003872/0.1309, allocations: 1.974 MB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.1324, allocations: 0.7642 MB / 0.4901 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000198/0.1326, allocations: 4 kB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005319/0.1332, allocations: 267.2 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004466/0.1336, allocations: 199.2 kB / 0.4905 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.1351, allocations: 0.5926 MB / 0.4911 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004757/0.1355, allocations: 291.3 kB / 0.4914 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.1358, allocations: 84.67 kB / 0.4915 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.136, allocations: 135.4 kB / 0.4916 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.1363, allocations: 199.4 kB / 0.4918 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.685e-05/0.1363, allocations: 11.94 kB / 0.4918 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.1365, allocations: 67.97 kB / 0.4918 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.1366, allocations: 91.69 kB / 0.4919 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.1368, allocations: 127 kB / 0.4921 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004716/0.1372, allocations: 326.7 kB / 0.4924 GB, free: 7.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1373, allocations: 0 / 0.4924 GB, free: 7.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1373, allocations: 0 / 0.4924 GB, free: 7.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.1373, allocations: 0 / 0.4924 GB, free: 7.184 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008772/0.1382, allocations: 0.6612 MB / 0.493 GB, free: 6.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1382, allocations: 11.89 kB / 0.493 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.721e-05/0.1383, allocations: 42.73 kB / 0.4931 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.471e-05/0.1384, allocations: 40.47 kB / 0.4931 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.1387, allocations: 330.1 kB / 0.4934 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.1388, allocations: 16.31 kB / 0.4934 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.1388, allocations: 12.38 kB / 0.4934 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.1391, allocations: 125.5 kB / 0.4936 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.1391, allocations: 7.938 kB / 0.4936 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.1391, allocations: 7.984 kB / 0.4936 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.1391, allocations: 4 kB / 0.4936 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.1393, allocations: 87.94 kB / 0.4937 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007021/0.14, allocations: 0.508 MB / 0.4942 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.1402, allocations: 114.4 kB / 0.4943 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.658e-05/0.1403, allocations: 48.83 kB / 0.4943 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.1404, allocations: 4 kB / 0.4943 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.1404, allocations: 38.48 kB / 0.4944 GB, free: 4.965 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.1404, allocations: 0 / 0.4944 GB, free: 4.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009608/0.1414, allocations: 428.6 kB / 0.4948 GB, free: 4.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.1414, allocations: 55.41 kB / 0.4948 GB, free: 4.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005906/0.142, allocations: 0.5565 MB / 0.4954 GB, free: 3.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.1421, allocations: 33.7 kB / 0.4954 GB, free: 3.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.1422, allocations: 200.3 kB / 0.4956 GB, free: 3.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.1423, allocations: 55.2 kB / 0.4956 GB, free: 3.613 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/0.1423, allocations: 37.7 kB / 0.4957 GB, free: 3.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1425, allocations: 350.8 kB / 0.496 GB, free: 3.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.1426, allocations: 67.86 kB / 0.4961 GB, free: 3.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.1428, allocations: 74.77 kB / 0.4961 GB, free: 3.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.143, allocations: 156.7 kB / 0.4963 GB, free: 2.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.143, allocations: 0 / 0.4963 GB, free: 2.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003729/0.1434, allocations: 231.9 kB / 0.4965 GB, free: 2.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1434, allocations: 4 kB / 0.4965 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1434, allocations: 0 / 0.4965 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1435, allocations: 4 kB / 0.4965 GB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.1436, allocations: 35.92 kB / 0.4966 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.1436, allocations: 7.984 kB / 0.4966 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.953e-05/0.1437, allocations: 8 kB / 0.4966 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1437, allocations: 4 kB / 0.4966 GB, free: 2.633 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 (17): * Single equations (assignments): 17 * 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.0001651/0.1439, allocations: 185.7 kB / 0.4968 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/0.144, allocations: 39.44 kB / 0.4968 GB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004867/0.1445, allocations: 281.4 kB / 0.4971 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1445, allocations: 4 kB / 0.4971 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1445, allocations: 0 / 0.4971 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1445, allocations: 3.938 kB / 0.4971 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008376/0.1453, allocations: 0.67 MB / 0.4977 GB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1454, allocations: 0 / 0.4977 GB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.1455, allocations: 35.98 kB / 0.4978 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1455, allocations: 0 / 0.4978 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.1455, allocations: 8 kB / 0.4978 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.1455, allocations: 3.938 kB / 0.4978 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1455, allocations: 0 / 0.4978 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004349/0.146, allocations: 331.6 kB / 0.4981 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.491e-05/0.1461, allocations: 120.6 kB / 0.4982 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.1461, allocations: 4 kB / 0.4982 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.1462, allocations: 11.94 kB / 0.4982 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.1463, allocations: 19.97 kB / 0.4982 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.1463, allocations: 4 kB / 0.4982 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004266/0.1467, allocations: 411.1 kB / 0.4986 GB, free: 436 kB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1467, allocations: 4 kB / 0.4986 GB, free: 432 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.000309/0.147, allocations: 51.98 kB / 0.4987 GB, free: 380 kB / 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 (17): * Single equations (assignments): 17 * 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.002241/0.1493, allocations: 1.468 MB / 0.5001 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003694/0.1497, allocations: 163.8 kB / 0.5003 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1497, allocations: 0 / 0.5003 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.1499, allocations: 87.89 kB / 0.5004 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00061/0.1505, allocations: 93.28 kB / 0.5004 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004713/0.1552, allocations: 3.179 MB / 0.5036 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.1557, allocations: 0.8182 MB / 0.5044 GB, free: 10.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001689/0.1559, allocations: 54.25 kB / 0.5044 GB, free: 10.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.156, allocations: 123.4 kB / 0.5045 GB, free: 10.31 MB / 398.1 MB Notification: Performance of SimCode: time 8.92e-07/0.156, allocations: 0 / 0.5045 GB, free: 10.31 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.1812, allocations: 7.574 MB / 0.5119 GB, free: 2.699 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.693/7.874, allocations: 8 kB / 0.5119 GB, free: 2.691 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches