Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",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.0009537/0.0009537, allocations: 94.64 kB / 17.35 MB, free: 6.344 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.001123/0.001123, allocations: 170.2 kB / 18.25 MB, free: 5.508 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.342/1.342, allocations: 223.3 MB / 242.3 MB, free: 204 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.1951/0.1951, allocations: 44.24 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003011/0.0003011, allocations: 8 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1116, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.001847/0.1135, allocations: 1.297 MB / 473.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007196/0.1142, allocations: 403.4 kB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.46e-05/0.1143, allocations: 8 kB / 474.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.1146, allocations: 71.78 kB / 474.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.1148, allocations: 55.8 kB / 474.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.1151, allocations: 99.2 kB / 474.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.1152, allocations: 67.88 kB / 474.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.992e-05/0.1153, allocations: 16.19 kB / 474.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.991e-05/0.1154, allocations: 35.78 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.475e-05/0.1155, allocations: 51.88 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.1155, allocations: 0 / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.421e-05/0.1156, allocations: 35.98 kB / 474.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.766e-05/0.1157, allocations: 19.92 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.251e-05/0.1157, allocations: 53.45 kB / 474.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.1159, allocations: 99.91 kB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1159, allocations: 4 kB / 474.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1159, allocations: 0 / 474.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.1159, allocations: 0 / 474.7 MB, free: 10.95 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.0004055/0.1163, allocations: 395.1 kB / 475 MB, free: 10.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1164, allocations: 8.031 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.523e-05/0.1164, allocations: 34.75 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.1165, allocations: 12.83 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.1166, allocations: 200 kB / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-06/0.1167, allocations: 4.375 kB / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.1167, allocations: 16.03 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.1168, allocations: 49.67 kB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1168, allocations: 4 kB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.1169, allocations: 4 kB / 475.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1169, allocations: 0 / 475.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.842e-05/0.117, allocations: 35.91 kB / 475.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.1173, allocations: 300.8 kB / 475.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.1175, allocations: 50.5 kB / 475.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.145e-05/0.1175, allocations: 20.94 kB / 475.8 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1175, allocations: 4 kB / 475.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.1176, allocations: 34.56 kB / 475.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1176, allocations: 0 / 475.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008674/0.1184, allocations: 265.6 kB / 476.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.1185, allocations: 59.34 kB / 476.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.1187, allocations: 206.2 kB / 476.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.1187, allocations: 25.7 kB / 476.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.1188, allocations: 112 kB / 476.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.1188, allocations: 27.64 kB / 476.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.1188, allocations: 9.719 kB / 476.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.345e-05/0.1189, allocations: 322.8 kB / 476.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-05/0.119, allocations: 35.98 kB / 476.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.582e-05/0.1191, allocations: 35.97 kB / 476.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.1193, allocations: 84.98 kB / 477 MB, free: 8.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1193, allocations: 0 / 477 MB, free: 8.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002323/0.1195, allocations: 125.5 kB / 477.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1195, allocations: 10.44 kB / 477.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1195, allocations: 7.969 kB / 477.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1196, allocations: 0 / 477.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.468e-05/0.1197, allocations: 16 kB / 477.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1197, allocations: 3.938 kB / 477.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.53e-05/0.1197, allocations: 19.98 kB / 477.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1197, allocations: 0 / 477.1 MB, free: 8.227 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 (8): * Single equations (assignments): 8 * 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 8.67e-05/0.1198, allocations: 133.8 kB / 477.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.1199, allocations: 7.906 kB / 477.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.1201, allocations: 134.4 kB / 477.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1202, allocations: 0 / 477.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1202, allocations: 3.938 kB / 477.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1202, allocations: 3.984 kB / 477.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/0.1207, allocations: 427.2 kB / 477.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.1207, allocations: 3.938 kB / 477.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.955e-05/0.1207, allocations: 27.86 kB / 477.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1208, allocations: 0 / 477.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1208, allocations: 4 kB / 477.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1208, allocations: 0 / 477.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1208, allocations: 0 / 477.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.121, allocations: 220.3 kB / 478.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.1211, allocations: 92.95 kB / 478.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.1211, allocations: 0 / 478.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.297e-05/0.1212, allocations: 11.98 kB / 478.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.1212, allocations: 4 kB / 478.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.1212, allocations: 8 kB / 478.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.1214, allocations: 151.2 kB / 478.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1214, allocations: 3.938 kB / 478.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000243/0.1216, allocations: 27.89 kB / 478.4 MB, free: 6.875 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001372/0.123, allocations: 1.11 MB / 479.5 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.1232, allocations: 87.88 kB / 479.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1232, allocations: 0 / 479.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.687e-05/0.1233, allocations: 44.03 kB / 479.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.1237, allocations: 26.91 kB / 479.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.1254, allocations: 1.709 MB / 481.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.1258, allocations: 0.7158 MB / 482.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.399e-05/0.1258, allocations: 20.95 kB / 482.1 MB, free: 3.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.553e-05/0.1259, allocations: 31.42 kB / 482.1 MB, free: 3.172 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1259, allocations: 0 / 482.1 MB, free: 3.172 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01276/0.1387, allocations: 2.635 MB / 484.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/0.1389, allocations: 246.5 kB / 485 MB, free: 392 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/1.901, allocations: 0 / 485 MB, free: 392 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches