Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.00202/0.00202, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002442/0.002442, allocations: 211.6 kB / 23.77 MB, free: 4.555 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.477/1.477, allocations: 207.7 MB / 234.6 MB, free: 9.793 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.2798/0.2798, allocations: 44.26 MB / 331.1 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4",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.00221/0.00221, allocations: 79.83 kB / 468.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1278, allocations: 61.04 MB / 0.5169 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.004536/0.1323, allocations: 1.579 MB / 0.5185 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008314/0.1331, allocations: 316.7 kB / 0.5188 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.086e-05/0.1332, allocations: 0 / 0.5188 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000422/0.1336, allocations: 99.73 kB / 0.5189 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.1339, allocations: 63.73 kB / 0.5189 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.1342, allocations: 75.83 kB / 0.519 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.1344, allocations: 79.77 kB / 0.5191 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.1345, allocations: 20.14 kB / 0.5191 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.195e-05/0.1346, allocations: 35.91 kB / 0.5191 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.1347, allocations: 63.81 kB / 0.5192 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.1348, allocations: 4 kB / 0.5192 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.071e-05/0.1348, allocations: 27.98 kB / 0.5192 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.793e-05/0.1349, allocations: 23.92 kB / 0.5192 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.813e-05/0.135, allocations: 35.72 kB / 0.5193 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.1352, allocations: 99.53 kB / 0.5194 GB, free: 4.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1352, allocations: 0 / 0.5194 GB, free: 4.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1352, allocations: 0 / 0.5194 GB, free: 4.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1352, allocations: 3.938 kB / 0.5194 GB, free: 4.656 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006233/0.1359, allocations: 341.6 kB / 0.5197 GB, free: 4.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.1359, allocations: 8.031 kB / 0.5197 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.651e-05/0.1359, allocations: 8.188 kB / 0.5197 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.594e-05/0.136, allocations: 34.75 kB / 0.5197 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.136, allocations: 12.84 kB / 0.5198 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.1362, allocations: 151.2 kB / 0.5199 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.1362, allocations: 8.375 kB / 0.5199 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.1363, allocations: 3.938 kB / 0.5199 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.1364, allocations: 53.69 kB / 0.52 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1364, allocations: 0 / 0.52 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1364, allocations: 3.984 kB / 0.52 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1364, allocations: 4 kB / 0.52 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.1365, allocations: 27.98 kB / 0.52 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.137, allocations: 279.8 kB / 0.5203 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.1371, allocations: 46.56 kB / 0.5203 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.1372, allocations: 20.97 kB / 0.5203 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.1372, allocations: 0 / 0.5203 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.1372, allocations: 34.56 kB / 0.5204 GB, free: 3.508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1372, allocations: 0 / 0.5204 GB, free: 3.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007359/0.138, allocations: 185.6 kB / 0.5205 GB, free: 3.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.138, allocations: 59.33 kB / 0.5206 GB, free: 3.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.1383, allocations: 230.3 kB / 0.5208 GB, free: 3.016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.1384, allocations: 29.7 kB / 0.5208 GB, free: 2.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.132e-05/0.1384, allocations: 104.1 kB / 0.5209 GB, free: 2.875 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.1385, allocations: 31.73 kB / 0.521 GB, free: 2.844 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/0.1385, allocations: 21.8 kB / 0.521 GB, free: 2.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.1387, allocations: 326.8 kB / 0.5213 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.998e-05/0.1388, allocations: 23.97 kB / 0.5213 GB, free: 2.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.877e-05/0.1389, allocations: 31.97 kB / 0.5214 GB, free: 2.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.1391, allocations: 60.91 kB / 0.5214 GB, free: 2.371 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1391, allocations: 3.938 kB / 0.5214 GB, free: 2.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002294/0.1393, allocations: 101.6 kB / 0.5215 GB, free: 2.262 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.1393, allocations: 8 kB / 0.5215 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1393, allocations: 0 / 0.5215 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1393, allocations: 0 / 0.5215 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.1394, allocations: 23.92 kB / 0.5215 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1394, allocations: 7.938 kB / 0.5216 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.814e-05/0.1395, allocations: 3.984 kB / 0.5216 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.1395, allocations: 4 kB / 0.5216 GB, free: 2.215 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 (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 0.0001103/0.1396, allocations: 125.8 kB / 0.5217 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.1396, allocations: 15.89 kB / 0.5217 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.1399, allocations: 119.3 kB / 0.5218 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.1399, allocations: 7.969 kB / 0.5218 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1399, allocations: 7.938 kB / 0.5218 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1399, allocations: 7.938 kB / 0.5218 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004987/0.1404, allocations: 349.6 kB / 0.5222 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1404, allocations: 0 / 0.5222 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.511e-05/0.1405, allocations: 19.94 kB / 0.5222 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.1405, allocations: 3.984 kB / 0.5222 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.1405, allocations: 3.938 kB / 0.5222 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1405, allocations: 0 / 0.5222 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1405, allocations: 0 / 0.5222 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.1408, allocations: 211.4 kB / 0.5224 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/0.1408, allocations: 11.89 kB / 0.5224 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.1408, allocations: 0 / 0.5224 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.676e-05/0.1409, allocations: 4 kB / 0.5224 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.1409, allocations: 3.984 kB / 0.5224 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.1409, allocations: 4 kB / 0.5224 GB, free: 1.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001602/0.1411, allocations: 176.2 kB / 0.5226 GB, free: 1.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1411, allocations: 0 / 0.5226 GB, free: 1.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000253/0.1414, allocations: 16 kB / 0.5226 GB, free: 1.062 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 (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.002152/0.1435, allocations: 1.077 MB / 0.5237 GB, free: 8 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002481/0.1438, allocations: 59.95 kB / 0.5237 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1438, allocations: 0 / 0.5237 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.902e-05/0.1438, allocations: 35.91 kB / 0.5237 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.1442, allocations: 16 kB / 0.5238 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.1464, allocations: 1.675 MB / 0.5254 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.1465, allocations: 96.73 kB / 0.5255 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.836e-05/0.1466, allocations: 12.97 kB / 0.5255 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.637e-05/0.1467, allocations: 35.42 kB / 0.5255 GB, free: 13.98 MB / 414.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1467, allocations: 0 / 0.5255 GB, free: 13.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.171, allocations: 3.254 MB / 0.5287 GB, free: 10.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.81, allocations: 4.062 kB / 0.5287 GB, free: 10.61 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.38402428093832]