Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001313/0.001313, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001511/0.001511, allocations: 214.2 kB / 22.99 MB, free: 4.977 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.483/1.483, allocations: 207.7 MB / 233.8 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.2185/0.2185, allocations: 44.27 MB / 330.3 MB, free: 9.301 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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9",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.002288/0.002288, allocations: 82.66 kB / 467.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1334, allocations: 61.04 MB / 0.5162 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003229/0.1366, allocations: 1.576 MB / 0.5177 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007153/0.1373, allocations: 335.7 kB / 0.518 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.795e-05/0.1374, allocations: 3.938 kB / 0.518 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006575/0.1381, allocations: 447.2 kB / 0.5184 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003892/0.1384, allocations: 255.5 kB / 0.5187 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.1388, allocations: 143.7 kB / 0.5188 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.1391, allocations: 175.6 kB / 0.519 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1392, allocations: 16.11 kB / 0.519 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.1393, allocations: 111.7 kB / 0.5191 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002792/0.1396, allocations: 247.5 kB / 0.5194 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.1396, allocations: 4 kB / 0.5194 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.589e-05/0.1397, allocations: 20 kB / 0.5194 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.1398, allocations: 79.67 kB / 0.5195 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.291e-05/0.1399, allocations: 71.23 kB / 0.5195 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004216/0.1403, allocations: 262.6 kB / 0.5198 GB, free: 3.445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1403, allocations: 0 / 0.5198 GB, free: 3.445 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1403, allocations: 0 / 0.5198 GB, free: 3.445 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1403, allocations: 4 kB / 0.5198 GB, free: 3.441 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.000801/0.1411, allocations: 0.5738 MB / 0.5203 GB, free: 2.836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1412, allocations: 12.03 kB / 0.5203 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.762e-05/0.1412, allocations: 30.75 kB / 0.5204 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.1413, allocations: 48.61 kB / 0.5204 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.1416, allocations: 238.8 kB / 0.5206 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1416, allocations: 8.375 kB / 0.5207 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.1416, allocations: 4.125 kB / 0.5207 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.1418, allocations: 57.61 kB / 0.5207 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1418, allocations: 4 kB / 0.5207 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1418, allocations: 0 / 0.5207 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1418, allocations: 0 / 0.5207 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.142, allocations: 35.97 kB / 0.5208 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006057/0.1426, allocations: 363.8 kB / 0.5211 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.1427, allocations: 38.5 kB / 0.5211 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.012e-05/0.1428, allocations: 28.92 kB / 0.5212 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.1428, allocations: 4 kB / 0.5212 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.1429, allocations: 34.56 kB / 0.5212 GB, free: 1.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1429, allocations: 0 / 0.5212 GB, free: 1.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003963/0.1433, allocations: 125.6 kB / 0.5213 GB, free: 1.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.1433, allocations: 51.41 kB / 0.5214 GB, free: 1.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009882/0.1443, allocations: 0.8574 MB / 0.5222 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.1444, allocations: 41.58 kB / 0.5222 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.1446, allocations: 208.1 kB / 0.5224 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.1446, allocations: 27.78 kB / 0.5225 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.1446, allocations: 13.72 kB / 0.5225 GB, free: 492 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.1448, allocations: 366.7 kB / 0.5228 GB, free: 116 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.112e-05/0.1449, allocations: 15.98 kB / 0.5229 GB, free: 100 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.124e-05/0.145, allocations: 19.97 kB / 0.5229 GB, free: 80 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.1451, allocations: 44.83 kB / 0.5229 GB, free: 32 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1451, allocations: 0 / 0.5229 GB, free: 32 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002341/0.1453, allocations: 113.6 kB / 0.523 GB, free: 15.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1454, allocations: 8 kB / 0.523 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1454, allocations: 0 / 0.523 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1454, allocations: 0 / 0.523 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.129e-05/0.1455, allocations: 11.94 kB / 0.523 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1455, allocations: 0 / 0.523 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.328e-05/0.1455, allocations: 7.984 kB / 0.523 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1456, allocations: 3.984 kB / 0.5231 GB, free: 15.88 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 (3): * Single equations (assignments): 3 * 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.0002313/0.1458, allocations: 209.5 kB / 0.5233 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-05/0.1459, allocations: 51.7 kB / 0.5233 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/0.1461, allocations: 121.1 kB / 0.5234 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1461, allocations: 0 / 0.5234 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.1461, allocations: 4 kB / 0.5234 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1461, allocations: 3.984 kB / 0.5234 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.1465, allocations: 264.6 kB / 0.5237 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1465, allocations: 0 / 0.5237 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.089e-05/0.1465, allocations: 11.92 kB / 0.5237 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1465, allocations: 0 / 0.5237 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.1465, allocations: 4 kB / 0.5237 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1465, allocations: 4 kB / 0.5237 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1465, allocations: 0 / 0.5237 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.1468, allocations: 207.2 kB / 0.5239 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.1469, allocations: 39.72 kB / 0.5239 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.1469, allocations: 0 / 0.5239 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.523e-05/0.147, allocations: 7.984 kB / 0.5239 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.147, allocations: 0 / 0.5239 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.147, allocations: 0 / 0.5239 GB, free: 14.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000707/0.1477, allocations: 0.655 MB / 0.5246 GB, free: 14.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1477, allocations: 4 kB / 0.5246 GB, free: 14.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.148, allocations: 27.89 kB / 0.5246 GB, free: 14.21 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 (3): * Single equations (assignments): 3 * 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.001879/0.1499, allocations: 1.02 MB / 0.5256 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002055/0.1501, allocations: 43.95 kB / 0.5256 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1501, allocations: 0 / 0.5256 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.253e-05/0.1501, allocations: 27.92 kB / 0.5257 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005921/0.1507, allocations: 21.95 kB / 0.5257 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004133/0.1549, allocations: 3.166 MB / 0.5288 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.1551, allocations: 215.5 kB / 0.529 GB, free: 9.629 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.426e-05/0.1552, allocations: 11.98 kB / 0.529 GB, free: 9.617 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.1554, allocations: 107.4 kB / 0.5291 GB, free: 9.512 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1554, allocations: 0 / 0.5291 GB, free: 9.512 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0359/0.1913, allocations: 6.366 MB / 0.5353 GB, free: 3.035 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.76, allocations: 7.859 kB / 0.5353 GB, free: 3.027 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.062503153923899]