Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.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.001276/0.001276, 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.001734/0.001734, allocations: 207.8 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.471/1.471, allocations: 207.6 MB / 234.6 MB, free: 9.984 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.2238/0.2238, allocations: 44.23 MB / 331 MB, free: 9.523 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.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19",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.002333/0.002333, allocations: 67.91 kB / 468.3 MB, free: 4.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1182, allocations: 61.05 MB / 0.5169 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003894/0.1221, allocations: 1.871 MB / 0.5188 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.1237, allocations: 0.7487 MB / 0.5195 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.1239, allocations: 7.938 kB / 0.5195 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005811/0.1244, allocations: 259.2 kB / 0.5197 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004746/0.1249, allocations: 191.3 kB / 0.5199 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.1264, allocations: 0.5887 MB / 0.5205 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005213/0.1269, allocations: 287.2 kB / 0.5208 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002052/0.1271, allocations: 40.55 kB / 0.5208 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002906/0.1274, allocations: 135.4 kB / 0.5209 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003672/0.1278, allocations: 203.4 kB / 0.5211 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.274e-05/0.1278, allocations: 8 kB / 0.5211 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.128, allocations: 55.91 kB / 0.5212 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.1282, allocations: 95.56 kB / 0.5213 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.1283, allocations: 107.1 kB / 0.5214 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00053/0.1288, allocations: 282.6 kB / 0.5217 GB, free: 2.438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1288, allocations: 0 / 0.5217 GB, free: 2.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1288, allocations: 4 kB / 0.5217 GB, free: 2.434 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.1288, allocations: 0 / 0.5217 GB, free: 2.434 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008909/0.1297, allocations: 0.5739 MB / 0.5222 GB, free: 1.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1298, allocations: 12.03 kB / 0.5222 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.849e-05/0.1298, allocations: 192 / 0.5222 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.1298, allocations: 38.75 kB / 0.5223 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.434e-05/0.1299, allocations: 40.66 kB / 0.5223 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.1303, allocations: 252.8 kB / 0.5226 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.1303, allocations: 8.375 kB / 0.5226 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.1303, allocations: 8.125 kB / 0.5226 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.1305, allocations: 97.58 kB / 0.5227 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1306, allocations: 4 kB / 0.5227 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1306, allocations: 4 kB / 0.5227 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1306, allocations: 3.938 kB / 0.5227 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.1307, allocations: 71.95 kB / 0.5227 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006629/0.1314, allocations: 431.6 kB / 0.5232 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.1315, allocations: 62.55 kB / 0.5232 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.133e-05/0.1316, allocations: 40.91 kB / 0.5232 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.1317, allocations: 3.984 kB / 0.5233 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.1317, allocations: 38.56 kB / 0.5233 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.1317, allocations: 0 / 0.5233 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003879/0.1321, allocations: 153.3 kB / 0.5234 GB, free: 488 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.1321, allocations: 55.41 kB / 0.5235 GB, free: 420 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006648/0.1328, allocations: 0.5488 MB / 0.524 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.1328, allocations: 33.7 kB / 0.5241 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.133, allocations: 196 kB / 0.5242 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.133, allocations: 23.78 kB / 0.5243 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.1331, allocations: 21.72 kB / 0.5243 GB, free: 15.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.1333, allocations: 346.8 kB / 0.5246 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.606e-05/0.1333, allocations: 27.92 kB / 0.5246 GB, free: 15.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.719e-05/0.1334, allocations: 32.22 kB / 0.5247 GB, free: 15.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.1335, allocations: 68.95 kB / 0.5247 GB, free: 15.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1335, allocations: 0 / 0.5247 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002445/0.1338, allocations: 125.4 kB / 0.5249 GB, free: 14.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1338, allocations: 4 kB / 0.5249 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.1338, allocations: 0 / 0.5249 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1338, allocations: 3.938 kB / 0.5249 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1339, allocations: 15.98 kB / 0.5249 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1339, allocations: 7.875 kB / 0.5249 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.006e-05/0.134, allocations: 11.95 kB / 0.5249 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.134, allocations: 8 kB / 0.5249 GB, free: 14.91 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 (6): * Single equations (assignments): 6 * 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.0001893/0.1342, allocations: 169.8 kB / 0.5251 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.1343, allocations: 39.75 kB / 0.5251 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003257/0.1346, allocations: 148.8 kB / 0.5253 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1346, allocations: 0 / 0.5253 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1346, allocations: 0 / 0.5253 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.1346, allocations: 0 / 0.5253 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/0.1349, allocations: 264.6 kB / 0.5255 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1349, allocations: 7.938 kB / 0.5255 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.768e-05/0.135, allocations: 15.92 kB / 0.5255 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.135, allocations: 0 / 0.5255 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.135, allocations: 11.94 kB / 0.5255 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.135, allocations: 3.984 kB / 0.5255 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.135, allocations: 0 / 0.5255 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.1353, allocations: 223.4 kB / 0.5258 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.1354, allocations: 43.73 kB / 0.5258 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.1354, allocations: 7.938 kB / 0.5258 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.769e-05/0.1355, allocations: 4 kB / 0.5258 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.1355, allocations: 4 kB / 0.5258 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.1355, allocations: 7.984 kB / 0.5258 GB, free: 13.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004341/0.136, allocations: 407.1 kB / 0.5262 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.136, allocations: 0 / 0.5262 GB, free: 13.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003026/0.1363, allocations: 35.92 kB / 0.5262 GB, free: 13.47 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 (6): * Single equations (assignments): 6 * 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.002935/0.1392, allocations: 1.253 MB / 0.5275 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.1394, allocations: 63.89 kB / 0.5275 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1395, allocations: 0 / 0.5275 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.602e-05/0.1395, allocations: 36.05 kB / 0.5276 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006328/0.1402, allocations: 85.62 kB / 0.5276 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003745/0.1439, allocations: 2.834 MB / 0.5304 GB, free: 9.164 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.1444, allocations: 0.7905 MB / 0.5312 GB, free: 8.348 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.1445, allocations: 53.58 kB / 0.5312 GB, free: 8.297 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.1447, allocations: 99.39 kB / 0.5313 GB, free: 8.199 MB / 414.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1447, allocations: 4 kB / 0.5313 GB, free: 8.195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03753/0.1822, allocations: 6.861 MB / 0.538 GB, free: 1.215 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/11.98, allocations: 15.84 kB / 0.538 GB, free: 1.199 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.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.434642534004524]