Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.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.001666/0.001666, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.002118/0.002118, allocations: 227.6 kB / 23.01 MB, free: 5.039 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.368/1.368, allocations: 207.6 MB / 233.8 MB, free: 9.977 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.2191/0.2191, allocations: 44.23 MB / 330.3 MB, free: 9.516 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.CombiTable1D.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test33",fmuType="me",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.002251/0.002251, allocations: 71.91 kB / 467.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1187, allocations: 61.05 MB / 0.5162 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test33): time 0.003103/0.1218, allocations: 1.576 MB / 0.5177 GB, free: 5.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.1233, allocations: 1.048 MB / 0.5187 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.289e-05/0.1233, allocations: 0 / 0.5187 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002082/0.1236, allocations: 27.84 kB / 0.5187 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.1238, allocations: 43.78 kB / 0.5188 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.124, allocations: 91.81 kB / 0.5189 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.1242, allocations: 67.77 kB / 0.5189 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.897e-05/0.1243, allocations: 11.97 kB / 0.5189 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.073e-05/0.1243, allocations: 23.88 kB / 0.519 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004127/0.1248, allocations: 31.89 kB / 0.519 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1248, allocations: 0 / 0.519 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1249, allocations: 51.92 kB / 0.519 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.275e-05/0.1249, allocations: 4 kB / 0.5191 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.125, allocations: 31.78 kB / 0.5191 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.1252, allocations: 95.66 kB / 0.5192 GB, free: 4.215 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1252, allocations: 0 / 0.5192 GB, free: 4.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1252, allocations: 0 / 0.5192 GB, free: 4.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.1252, allocations: 0 / 0.5192 GB, free: 4.215 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005075/0.1257, allocations: 301.9 kB / 0.5195 GB, free: 3.891 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1257, allocations: 8.031 kB / 0.5195 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/0.1258, allocations: 34.73 kB / 0.5195 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.1258, allocations: 8.891 kB / 0.5195 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.126, allocations: 126.5 kB / 0.5196 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.126, allocations: 8.375 kB / 0.5196 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.126, allocations: 8.312 kB / 0.5196 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.1262, allocations: 63.33 kB / 0.5197 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1262, allocations: 0 / 0.5197 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1262, allocations: 4 kB / 0.5197 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.1262, allocations: 4 kB / 0.5197 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.986e-05/0.1263, allocations: 19.98 kB / 0.5197 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/0.1267, allocations: 255.9 kB / 0.52 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.1269, allocations: 46.55 kB / 0.52 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.17e-05/0.127, allocations: 12.86 kB / 0.52 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.127, allocations: 4 kB / 0.52 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.127, allocations: 38.64 kB / 0.5201 GB, free: 3.152 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.127, allocations: 0 / 0.5201 GB, free: 3.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005394/0.1276, allocations: 145.4 kB / 0.5202 GB, free: 3.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.1276, allocations: 77.11 kB / 0.5203 GB, free: 2.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.1279, allocations: 129.8 kB / 0.5204 GB, free: 2.773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.1279, allocations: 29.7 kB / 0.5204 GB, free: 2.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.128, allocations: 96.06 kB / 0.5205 GB, free: 2.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.128, allocations: 23.8 kB / 0.5206 GB, free: 2.617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.128, allocations: 17.72 kB / 0.5206 GB, free: 2.594 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1282, allocations: 318.8 kB / 0.5209 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.877e-05/0.1283, allocations: 19.98 kB / 0.5209 GB, free: 2.254 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.738e-05/0.1283, allocations: 41.64 kB / 0.5209 GB, free: 2.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.1285, allocations: 60.84 kB / 0.521 GB, free: 2.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1285, allocations: 0 / 0.521 GB, free: 2.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002142/0.1287, allocations: 81.81 kB / 0.5211 GB, free: 2.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1287, allocations: 4 kB / 0.5211 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.1287, allocations: 0 / 0.5211 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1287, allocations: 4 kB / 0.5211 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.873e-05/0.1288, allocations: 15.98 kB / 0.5211 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1288, allocations: 0 / 0.5211 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.29e-05/0.1288, allocations: 15.94 kB / 0.5211 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1289, allocations: 3.938 kB / 0.5211 GB, free: 2.016 MB / 398.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.0001035/0.129, allocations: 117.8 kB / 0.5212 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.129, allocations: 7.953 kB / 0.5212 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.1292, allocations: 93.72 kB / 0.5213 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1292, allocations: 0 / 0.5213 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1292, allocations: 0 / 0.5213 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1292, allocations: 7.984 kB / 0.5213 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.1297, allocations: 325.5 kB / 0.5216 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1297, allocations: 0 / 0.5216 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.092e-05/0.1298, allocations: 11.98 kB / 0.5217 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1298, allocations: 0 / 0.5217 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.1298, allocations: 4 kB / 0.5217 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.1298, allocations: 3.938 kB / 0.5217 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1298, allocations: 288 / 0.5217 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.13, allocations: 183.4 kB / 0.5218 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.13, allocations: 11.98 kB / 0.5218 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.13, allocations: 192 / 0.5218 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.1301, allocations: 15.92 kB / 0.5219 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.1301, allocations: 4 kB / 0.5219 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1302, allocations: 3.984 kB / 0.5219 GB, free: 1.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.13e-05/0.1302, allocations: 107.3 kB / 0.522 GB, free: 1.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1302, allocations: 3.938 kB / 0.522 GB, free: 1.047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.1305, allocations: 19.94 kB / 0.522 GB, free: 1.027 MB / 398.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.002099/0.1326, allocations: 1.04 MB / 0.523 GB, free: 16 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002587/0.1328, allocations: 55.89 kB / 0.5231 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1328, allocations: 3.938 kB / 0.5231 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.455e-05/0.1329, allocations: 23.98 kB / 0.5231 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.1333, allocations: 27.2 kB / 0.5231 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.135, allocations: 1.417 MB / 0.5245 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.1354, allocations: 0.6924 MB / 0.5252 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.593e-05/0.1354, allocations: 11.98 kB / 0.5252 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.806e-05/0.1355, allocations: 23.42 kB / 0.5252 GB, free: 13.66 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1355, allocations: 0 / 0.5252 GB, free: 13.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04383/0.1793, allocations: 2.931 MB / 0.5281 GB, free: 10.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.21, allocations: 8.062 kB / 0.5281 GB, free: 10.6 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test33_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test33.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.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: 14.3043505710084]