Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.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.001864/0.001864, 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.002443/0.002443, allocations: 215.5 kB / 23.78 MB, free: 4.551 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.463/1.463, 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.2412/0.2412, allocations: 44.25 MB / 331.1 MB, free: 9.324 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.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",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.002385/0.002385, allocations: 71.89 kB / 468.3 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1277, allocations: 61.05 MB / 0.5169 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.004576/0.1322, allocations: 1.91 MB / 0.5188 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.1341, allocations: 0.655 MB / 0.5194 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.1342, allocations: 8 kB / 0.5194 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005625/0.1348, allocations: 255.2 kB / 0.5197 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004695/0.1353, allocations: 203.3 kB / 0.5199 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.1364, allocations: 439.2 kB / 0.5203 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005577/0.137, allocations: 283.2 kB / 0.5206 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.1372, allocations: 48.91 kB / 0.5206 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002847/0.1375, allocations: 135.4 kB / 0.5207 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003508/0.1378, allocations: 219.2 kB / 0.5209 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.1379, allocations: 12 kB / 0.521 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.138, allocations: 63.98 kB / 0.521 GB, free: 2.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.1382, allocations: 91.61 kB / 0.5211 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.1383, allocations: 95.2 kB / 0.5212 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004631/0.1388, allocations: 314.4 kB / 0.5215 GB, free: 2.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1388, allocations: 0 / 0.5215 GB, free: 2.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1388, allocations: 0 / 0.5215 GB, free: 2.465 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.1388, allocations: 0 / 0.5215 GB, free: 2.465 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009584/0.1397, allocations: 0.5779 MB / 0.5221 GB, free: 1.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.1398, allocations: 12.03 kB / 0.5221 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.907e-05/0.1398, allocations: 8.172 kB / 0.5221 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.621e-05/0.1399, allocations: 42.75 kB / 0.5221 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.14, allocations: 44.66 kB / 0.5222 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.1404, allocations: 260.7 kB / 0.5224 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1404, allocations: 4.375 kB / 0.5224 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.1404, allocations: 20.06 kB / 0.5224 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.1407, allocations: 105.6 kB / 0.5225 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.1407, allocations: 4 kB / 0.5225 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.1407, allocations: 4 kB / 0.5225 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.1407, allocations: 4 kB / 0.5225 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.1409, allocations: 71.89 kB / 0.5226 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007576/0.1416, allocations: 439.5 kB / 0.523 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.1418, allocations: 94.47 kB / 0.5231 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.47e-05/0.1419, allocations: 28.84 kB / 0.5232 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.1419, allocations: 7.984 kB / 0.5232 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.142, allocations: 46.42 kB / 0.5232 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.142, allocations: 0 / 0.5232 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009791/0.143, allocations: 385.3 kB / 0.5236 GB, free: 200 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.143, allocations: 55.41 kB / 0.5236 GB, free: 132 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006928/0.1437, allocations: 0.5448 MB / 0.5242 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.1437, allocations: 29.7 kB / 0.5242 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.1439, allocations: 200.4 kB / 0.5244 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.056e-05/0.144, allocations: 63.42 kB / 0.5244 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.267e-05/0.144, allocations: 37.7 kB / 0.5245 GB, free: 15.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1442, allocations: 354.7 kB / 0.5248 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1443, allocations: 51.97 kB / 0.5249 GB, free: 14.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.1444, allocations: 48.91 kB / 0.5249 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.1447, allocations: 126.6 kB / 0.525 GB, free: 14.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1447, allocations: 0 / 0.525 GB, free: 14.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003537/0.145, allocations: 189.3 kB / 0.5252 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.145, allocations: 10.81 kB / 0.5252 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.341e-06/0.1451, allocations: 0 / 0.5252 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1451, allocations: 0 / 0.5252 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.1452, allocations: 43.98 kB / 0.5253 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1452, allocations: 0 / 0.5253 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.022e-05/0.1453, allocations: 7.984 kB / 0.5253 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.1453, allocations: 4 kB / 0.5253 GB, free: 14.41 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 (17): * Single equations (assignments): 17 * 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.0001747/0.1455, allocations: 181.7 kB / 0.5254 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.406e-05/0.1456, allocations: 39.72 kB / 0.5255 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005818/0.1461, allocations: 229.4 kB / 0.5257 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.1462, allocations: 0 / 0.5257 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1462, allocations: 4 kB / 0.5257 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1462, allocations: 0 / 0.5257 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008543/0.147, allocations: 0.5792 MB / 0.5263 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.147, allocations: 3.938 kB / 0.5263 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.1471, allocations: 31.97 kB / 0.5263 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1471, allocations: 0 / 0.5263 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1471, allocations: 4 kB / 0.5263 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.1472, allocations: 3.938 kB / 0.5263 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1472, allocations: 4 kB / 0.5263 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004093/0.1476, allocations: 305.2 kB / 0.5266 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.1476, allocations: 43.67 kB / 0.5266 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.1477, allocations: 8 kB / 0.5267 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.1478, allocations: 11.94 kB / 0.5267 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.1478, allocations: 15.97 kB / 0.5267 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.1478, allocations: 4 kB / 0.5267 GB, free: 12.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004349/0.1483, allocations: 411.1 kB / 0.5271 GB, free: 12.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1483, allocations: 0 / 0.5271 GB, free: 12.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003136/0.1486, allocations: 51.92 kB / 0.5271 GB, free: 12.42 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 (17): * Single equations (assignments): 17 * 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.003726/0.1523, allocations: 1.473 MB / 0.5286 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003819/0.1527, allocations: 123.9 kB / 0.5287 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1527, allocations: 0 / 0.5287 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.1529, allocations: 71.91 kB / 0.5288 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006636/0.1535, allocations: 81.34 kB / 0.5288 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004598/0.1581, allocations: 3.043 MB / 0.5318 GB, free: 7.574 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.1583, allocations: 195.5 kB / 0.532 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001505/0.1585, allocations: 49.91 kB / 0.532 GB, free: 7.316 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.1587, allocations: 119.4 kB / 0.5322 GB, free: 7.199 MB / 414.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1587, allocations: 0 / 0.5322 GB, free: 7.199 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.241/0.3997, allocations: 7.651 MB / 0.5396 GB, free: 28.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.54, allocations: 6.625 kB / 0.5396 GB, free: 28.59 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.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.82910221698694]