Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.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.001434/0.001434, allocations: 109.2 kB / 20.48 MB, free: 1.492 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.001452/0.001452, allocations: 215 kB / 23.79 MB, free: 4.703 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.434/1.434, allocations: 207.6 MB / 234.6 MB, free: 10 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.2352/0.2352, allocations: 44.24 MB / 331.1 MB, free: 9.531 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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31",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.002384/0.002384, allocations: 71.12 kB / 468.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1199, allocations: 61.05 MB / 0.5169 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test31): time 0.003624/0.1235, allocations: 1.634 MB / 0.5185 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1253, allocations: 1.037 MB / 0.5195 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.1254, allocations: 0 / 0.5195 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.1256, allocations: 19.86 kB / 0.5196 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.1258, allocations: 43.78 kB / 0.5196 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.1261, allocations: 119.7 kB / 0.5197 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.1263, allocations: 59.83 kB / 0.5198 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1264, allocations: 16.11 kB / 0.5198 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.208e-05/0.1265, allocations: 23.92 kB / 0.5198 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.1266, allocations: 31.84 kB / 0.5198 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.1266, allocations: 4 kB / 0.5198 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.1268, allocations: 51.97 kB / 0.5199 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.455e-05/0.1268, allocations: 19.86 kB / 0.5199 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.474e-05/0.1269, allocations: 31.8 kB / 0.5199 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.1271, allocations: 103.6 kB / 0.52 GB, free: 4.129 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1271, allocations: 4 kB / 0.52 GB, free: 4.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1271, allocations: 0 / 0.52 GB, free: 4.125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1271, allocations: 0 / 0.52 GB, free: 4.125 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.0005221/0.1276, allocations: 317.9 kB / 0.5203 GB, free: 3.785 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1277, allocations: 12.03 kB / 0.5204 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.155e-05/0.1277, allocations: 192 / 0.5204 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.249e-05/0.1277, allocations: 30.75 kB / 0.5204 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.1278, allocations: 8.891 kB / 0.5204 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.128, allocations: 138.3 kB / 0.5205 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1281, allocations: 12.38 kB / 0.5205 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.1281, allocations: 11.81 kB / 0.5206 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.1283, allocations: 71.39 kB / 0.5206 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1283, allocations: 0 / 0.5206 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1283, allocations: 0 / 0.5206 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1283, allocations: 0 / 0.5206 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1284, allocations: 39.97 kB / 0.5207 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.1288, allocations: 259.8 kB / 0.5209 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.129, allocations: 38.56 kB / 0.5209 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.469e-05/0.129, allocations: 20.94 kB / 0.521 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.1291, allocations: 0 / 0.521 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.1291, allocations: 38.56 kB / 0.521 GB, free: 3.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1291, allocations: 0 / 0.521 GB, free: 3.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008864/0.13, allocations: 209.4 kB / 0.5212 GB, free: 2.797 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.906e-05/0.1301, allocations: 89.05 kB / 0.5213 GB, free: 2.691 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.1302, allocations: 138 kB / 0.5214 GB, free: 2.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.1303, allocations: 25.7 kB / 0.5214 GB, free: 2.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.1304, allocations: 96.12 kB / 0.5215 GB, free: 2.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.1304, allocations: 27.75 kB / 0.5216 GB, free: 2.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.1304, allocations: 21.7 kB / 0.5216 GB, free: 2.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1306, allocations: 318.8 kB / 0.5219 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.1307, allocations: 31.97 kB / 0.5219 GB, free: 2.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.1308, allocations: 49.62 kB / 0.522 GB, free: 1.953 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.1311, allocations: 76.8 kB / 0.522 GB, free: 1.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1311, allocations: 0 / 0.522 GB, free: 1.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002933/0.1314, allocations: 113.6 kB / 0.5221 GB, free: 1.758 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1314, allocations: 8 kB / 0.5221 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1314, allocations: 4 kB / 0.5222 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1314, allocations: 0 / 0.5222 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.1315, allocations: 23.92 kB / 0.5222 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.1315, allocations: 7.875 kB / 0.5222 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.791e-05/0.1316, allocations: 7.984 kB / 0.5222 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1316, allocations: 4 kB / 0.5222 GB, free: 1.703 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 (7): * Single equations (assignments): 7 * 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.0001038/0.1317, allocations: 121.8 kB / 0.5223 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.1318, allocations: 7.953 kB / 0.5223 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.1321, allocations: 118.3 kB / 0.5224 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1321, allocations: 288 / 0.5224 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.1321, allocations: 7.875 kB / 0.5224 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1321, allocations: 7.984 kB / 0.5224 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005602/0.1327, allocations: 365.5 kB / 0.5228 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1327, allocations: 0 / 0.5228 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.384e-05/0.1327, allocations: 15.98 kB / 0.5228 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.1328, allocations: 7.938 kB / 0.5228 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1328, allocations: 0 / 0.5228 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1328, allocations: 0 / 0.5228 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1328, allocations: 4 kB / 0.5228 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.1331, allocations: 211.9 kB / 0.523 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.1331, allocations: 15.88 kB / 0.523 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.1331, allocations: 4 kB / 0.523 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.372e-05/0.1332, allocations: 7.984 kB / 0.5231 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.1333, allocations: 8 kB / 0.5231 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.1333, allocations: 3.984 kB / 0.5231 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1334, allocations: 111.1 kB / 0.5232 GB, free: 0.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1334, allocations: 0 / 0.5232 GB, free: 0.625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003102/0.1337, allocations: 31.92 kB / 0.5232 GB, free: 0.5938 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 (7): * Single equations (assignments): 7 * 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.002369/0.1361, allocations: 1.071 MB / 0.5242 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003192/0.1364, allocations: 79.92 kB / 0.5243 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1364, allocations: 0 / 0.5243 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.1365, allocations: 43.91 kB / 0.5244 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.1369, allocations: 15.44 kB / 0.5244 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.1393, allocations: 1.538 MB / 0.5259 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.1398, allocations: 0.6894 MB / 0.5266 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.1399, allocations: 21.11 kB / 0.5266 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.457e-05/0.14, allocations: 31.42 kB / 0.5266 GB, free: 13.03 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.14, allocations: 0 / 0.5266 GB, free: 13.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/0.1657, allocations: 3.257 MB / 0.5298 GB, free: 9.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.6, allocations: 8 kB / 0.5298 GB, free: 9.641 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.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.986531699018087]