Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 109 kB / 20.48 MB, free: 1.477 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002833/0.002833, allocations: 207.9 kB / 23.78 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 207.6 MB / 234.5 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2284/0.2284, allocations: 44.24 MB / 331.1 MB, free: 9.512 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 71.91 kB / 468.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1104, allocations: 61.05 MB / 0.5169 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.003092/0.1135, allocations: 1.626 MB / 0.5185 GB, free: 5.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006393/0.1141, allocations: 343.5 kB / 0.5188 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.1142, allocations: 0 / 0.5188 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006141/0.1148, allocations: 447.2 kB / 0.5193 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003786/0.1152, allocations: 255.4 kB / 0.5195 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.1155, allocations: 107.8 kB / 0.5196 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.1157, allocations: 163.6 kB / 0.5198 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1158, allocations: 12.17 kB / 0.5198 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.116, allocations: 103.8 kB / 0.5199 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.1162, allocations: 247.5 kB / 0.5201 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.855e-05/0.1163, allocations: 8 kB / 0.5201 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.298e-05/0.1163, allocations: 31.98 kB / 0.5202 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1164, allocations: 79.69 kB / 0.5202 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.589e-05/0.1165, allocations: 106.9 kB / 0.5203 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003248/0.1169, allocations: 266.6 kB / 0.5206 GB, free: 3.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1169, allocations: 0 / 0.5206 GB, free: 3.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1169, allocations: 0 / 0.5206 GB, free: 3.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1169, allocations: 0 / 0.5206 GB, free: 3.539 MB / 398.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.0007277/0.1176, allocations: 0.5699 MB / 0.5211 GB, free: 2.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1176, allocations: 16.03 kB / 0.5212 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.129e-05/0.1177, allocations: 192 / 0.5212 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.327e-05/0.1177, allocations: 38.73 kB / 0.5212 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.219e-05/0.1177, allocations: 44.66 kB / 0.5212 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.118, allocations: 242.7 kB / 0.5215 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.118, allocations: 4.375 kB / 0.5215 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.118, allocations: 3.938 kB / 0.5215 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.1182, allocations: 57.61 kB / 0.5215 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.1183, allocations: 0 / 0.5215 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1183, allocations: 8 kB / 0.5215 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1183, allocations: 0 / 0.5215 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.042e-05/0.1184, allocations: 19.98 kB / 0.5216 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.1188, allocations: 367.8 kB / 0.5219 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.119, allocations: 42.5 kB / 0.522 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.96e-05/0.1191, allocations: 12.86 kB / 0.522 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.1191, allocations: 4 kB / 0.522 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1191, allocations: 38.64 kB / 0.522 GB, free: 1.953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1191, allocations: 0 / 0.522 GB, free: 1.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006127/0.1197, allocations: 228.6 kB / 0.5222 GB, free: 1.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.1198, allocations: 59.34 kB / 0.5223 GB, free: 1.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008596/0.1206, allocations: 0.8652 MB / 0.5231 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.1206, allocations: 25.7 kB / 0.5232 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.1208, allocations: 220.1 kB / 0.5234 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.1209, allocations: 11.91 kB / 0.5234 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.1209, allocations: 17.72 kB / 0.5234 GB, free: 500 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.1211, allocations: 362.8 kB / 0.5237 GB, free: 128 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.219e-05/0.1212, allocations: 15.98 kB / 0.5238 GB, free: 112 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.882e-05/0.1212, allocations: 28.05 kB / 0.5238 GB, free: 84 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.1214, allocations: 48.77 kB / 0.5238 GB, free: 32 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1214, allocations: 0 / 0.5238 GB, free: 32 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002356/0.1216, allocations: 113.4 kB / 0.5239 GB, free: 15.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1216, allocations: 8 kB / 0.5239 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1216, allocations: 0 / 0.5239 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1216, allocations: 0 / 0.5239 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.352e-05/0.1217, allocations: 15.98 kB / 0.524 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.1217, allocations: 11.92 kB / 0.524 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.032e-05/0.1218, allocations: 7.875 kB / 0.524 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.1218, allocations: 4 kB / 0.524 GB, free: 15.87 MB / 414.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 (5): * Single equations (assignments): 5 * 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.0002019/0.122, allocations: 217.7 kB / 0.5242 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.207e-05/0.122, allocations: 47.61 kB / 0.5242 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.1223, allocations: 129.2 kB / 0.5244 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1223, allocations: 7.984 kB / 0.5244 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1223, allocations: 3.938 kB / 0.5244 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1223, allocations: 0 / 0.5244 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005831/0.1229, allocations: 429.5 kB / 0.5248 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1229, allocations: 320 / 0.5248 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.937e-05/0.123, allocations: 16 kB / 0.5248 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.123, allocations: 7.922 kB / 0.5248 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.123, allocations: 0 / 0.5248 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.123, allocations: 4 kB / 0.5248 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.123, allocations: 0 / 0.5248 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.1233, allocations: 207.3 kB / 0.525 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.1233, allocations: 47.64 kB / 0.525 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.1234, allocations: 3.938 kB / 0.5251 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.527e-05/0.1234, allocations: 4 kB / 0.5251 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.1235, allocations: 7.984 kB / 0.5251 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.1235, allocations: 4 kB / 0.5251 GB, free: 14.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007201/0.1242, allocations: 0.6472 MB / 0.5257 GB, free: 14.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1242, allocations: 0 / 0.5257 GB, free: 14.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1245, allocations: 27.98 kB / 0.5257 GB, free: 14 MB / 414.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 (5): * Single equations (assignments): 5 * 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.002115/0.1266, allocations: 1.059 MB / 0.5268 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.1268, allocations: 47.91 kB / 0.5268 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1268, allocations: 0 / 0.5268 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.763e-05/0.1269, allocations: 23.98 kB / 0.5268 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.1273, allocations: 29.95 kB / 0.5269 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003788/0.131, allocations: 3.199 MB / 0.53 GB, free: 9.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.1315, allocations: 0.8143 MB / 0.5308 GB, free: 8.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.551e-05/0.1316, allocations: 11.98 kB / 0.5308 GB, free: 8.719 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.1317, allocations: 103.3 kB / 0.5309 GB, free: 8.617 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1317, allocations: 0 / 0.5309 GB, free: 8.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.1589, allocations: 6.171 MB / 0.5369 GB, free: 2.352 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.3, allocations: 15.8 kB / 0.5369 GB, free: 2.336 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.723968764010351]