Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",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.001345/0.001344, allocations: 110.2 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.001237/0.001237, allocations: 185.5 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.395/1.395, 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.222/0.222, allocations: 43.53 MB / 314.1 MB, free: 456 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.002272/0.002272, allocations: 75.89 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1183, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004007/0.1223, allocations: 1.958 MB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.1238, allocations: 0.7642 MB / 0.4901 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.82e-05/0.1239, allocations: 0 / 0.4901 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005244/0.1244, allocations: 263.2 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.1248, allocations: 191.3 kB / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.1261, allocations: 0.612 MB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003985/0.1265, allocations: 291.3 kB / 0.4914 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.1267, allocations: 80.64 kB / 0.4915 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.1269, allocations: 135.5 kB / 0.4916 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.1272, allocations: 199.4 kB / 0.4918 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.655e-05/0.1272, allocations: 8 kB / 0.4918 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.1274, allocations: 71.91 kB / 0.4918 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.1275, allocations: 95.67 kB / 0.4919 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.1277, allocations: 123 kB / 0.4921 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.1281, allocations: 334.3 kB / 0.4924 GB, free: 7.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1281, allocations: 0 / 0.4924 GB, free: 7.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1281, allocations: 0 / 0.4924 GB, free: 7.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.1281, allocations: 0 / 0.4924 GB, free: 7.195 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.0009074/0.129, allocations: 0.6687 MB / 0.493 GB, free: 6.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1291, allocations: 11.89 kB / 0.493 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.898e-05/0.1291, allocations: 42.73 kB / 0.4931 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.449e-05/0.1292, allocations: 44.66 kB / 0.4931 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.1296, allocations: 334.5 kB / 0.4934 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.1297, allocations: 8.375 kB / 0.4935 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.1297, allocations: 12.38 kB / 0.4935 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.13, allocations: 133.4 kB / 0.4936 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.13, allocations: 4 kB / 0.4936 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.13, allocations: 4 kB / 0.4936 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.13, allocations: 4 kB / 0.4936 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.1302, allocations: 91.86 kB / 0.4937 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007157/0.131, allocations: 0.5081 MB / 0.4942 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.1312, allocations: 110.5 kB / 0.4943 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.385e-05/0.1313, allocations: 44.83 kB / 0.4943 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.1313, allocations: 4 kB / 0.4943 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.1313, allocations: 38.44 kB / 0.4944 GB, free: 4.973 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.1314, allocations: 0 / 0.4944 GB, free: 4.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001016/0.1324, allocations: 444.6 kB / 0.4948 GB, free: 4.531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.1324, allocations: 63.34 kB / 0.4949 GB, free: 4.457 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006146/0.1331, allocations: 0.5448 MB / 0.4954 GB, free: 3.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.1331, allocations: 29.7 kB / 0.4954 GB, free: 3.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.1333, allocations: 208.4 kB / 0.4956 GB, free: 3.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.676e-05/0.1333, allocations: 59.47 kB / 0.4957 GB, free: 3.602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.915e-05/0.1334, allocations: 37.7 kB / 0.4957 GB, free: 3.559 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.1336, allocations: 350.8 kB / 0.496 GB, free: 3.207 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.1337, allocations: 71.95 kB / 0.4961 GB, free: 3.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.1339, allocations: 66.61 kB / 0.4962 GB, free: 3.074 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.1342, allocations: 156.6 kB / 0.4963 GB, free: 2.918 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1342, allocations: 0 / 0.4963 GB, free: 2.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003955/0.1346, allocations: 234 kB / 0.4965 GB, free: 2.684 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1346, allocations: 4 kB / 0.4966 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1346, allocations: 7.984 kB / 0.4966 GB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/0.1347, allocations: 7.984 kB / 0.4966 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.1348, allocations: 27.98 kB / 0.4966 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.1348, allocations: 8 kB / 0.4966 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.219e-05/0.1349, allocations: 11.98 kB / 0.4966 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.1349, allocations: 4 kB / 0.4966 GB, free: 2.613 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.0001848/0.1351, allocations: 189.6 kB / 0.4968 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-05/0.1352, allocations: 39.72 kB / 0.4968 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000514/0.1357, allocations: 276.3 kB / 0.4971 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1357, allocations: 0 / 0.4971 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1357, allocations: 0 / 0.4971 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.1357, allocations: 3.984 kB / 0.4971 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009333/0.1367, allocations: 0.6815 MB / 0.4978 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1367, allocations: 3.938 kB / 0.4978 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.1368, allocations: 35.98 kB / 0.4978 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1368, allocations: 3.984 kB / 0.4978 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1368, allocations: 4 kB / 0.4978 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.1369, allocations: 3.938 kB / 0.4978 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1369, allocations: 3.938 kB / 0.4978 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/0.1373, allocations: 338.8 kB / 0.4981 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.64e-05/0.1374, allocations: 112.9 kB / 0.4983 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.1375, allocations: 11.98 kB / 0.4983 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.1376, allocations: 15.94 kB / 0.4983 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.1376, allocations: 11.98 kB / 0.4983 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.1377, allocations: 4 kB / 0.4983 GB, free: 0.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004393/0.1381, allocations: 419.1 kB / 0.4987 GB, free: 396 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1381, allocations: 0 / 0.4987 GB, free: 396 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003057/0.1384, allocations: 55.88 kB / 0.4987 GB, free: 340 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.003308/0.1417, allocations: 1.438 MB / 0.5002 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003595/0.1421, allocations: 163.8 kB / 0.5003 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1421, allocations: 0 / 0.5003 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.1423, allocations: 95.88 kB / 0.5004 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.1429, allocations: 77.33 kB / 0.5005 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003943/0.1468, allocations: 3.198 MB / 0.5036 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.1473, allocations: 0.8221 MB / 0.5044 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000149/0.1474, allocations: 62.23 kB / 0.5045 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.1476, allocations: 123.4 kB / 0.5046 GB, free: 10.27 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1476, allocations: 0 / 0.5046 GB, free: 10.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/0.1778, allocations: 7.508 MB / 0.5119 GB, free: 2.723 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.352/8.529, allocations: 3.938 kB / 0.5119 GB, free: 2.719 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches