Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.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.001289/0.001289, 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.001363/0.001363, allocations: 213.8 kB / 23.77 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.442/1.442, 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.2359/0.2359, allocations: 44.27 MB / 331.1 MB, free: 9.312 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.CombiTable1D.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test32",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test32",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.002271/0.002271, allocations: 67.89 kB / 468.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1268, allocations: 61.05 MB / 0.5169 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test32): time 0.003433/0.1302, allocations: 1.555 MB / 0.5184 GB, free: 5.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000709/0.1309, allocations: 328.7 kB / 0.5188 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.412e-05/0.131, allocations: 0 / 0.5188 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003784/0.1314, allocations: 111.7 kB / 0.5189 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.1317, allocations: 79.72 kB / 0.5189 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.132, allocations: 91.81 kB / 0.519 GB, free: 5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.1322, allocations: 83.75 kB / 0.5191 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1323, allocations: 15.97 kB / 0.5191 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.556e-05/0.1323, allocations: 35.89 kB / 0.5192 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.1325, allocations: 67.81 kB / 0.5192 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.1325, allocations: 4 kB / 0.5192 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.29e-05/0.1326, allocations: 35.97 kB / 0.5193 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.773e-05/0.1326, allocations: 23.86 kB / 0.5193 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5e-05/0.1327, allocations: 19.81 kB / 0.5193 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.1329, allocations: 99.52 kB / 0.5194 GB, free: 4.621 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1329, allocations: 0 / 0.5194 GB, free: 4.621 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1329, allocations: 4 kB / 0.5194 GB, free: 4.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1329, allocations: 7.938 kB / 0.5194 GB, free: 4.609 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.000546/0.1334, allocations: 329.7 kB / 0.5197 GB, free: 4.258 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1335, allocations: 8.031 kB / 0.5197 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.284e-05/0.1335, allocations: 4.188 kB / 0.5197 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.1335, allocations: 38.73 kB / 0.5198 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.1336, allocations: 12.84 kB / 0.5198 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.1338, allocations: 150.2 kB / 0.5199 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.1339, allocations: 4.375 kB / 0.5199 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.1339, allocations: 4.125 kB / 0.5199 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.1341, allocations: 49.67 kB / 0.52 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1341, allocations: 4 kB / 0.52 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1341, allocations: 0 / 0.52 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1341, allocations: 0 / 0.52 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.1342, allocations: 27.98 kB / 0.52 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004255/0.1346, allocations: 259.9 kB / 0.5203 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.1348, allocations: 42.56 kB / 0.5203 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.583e-05/0.1349, allocations: 16.94 kB / 0.5203 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.1349, allocations: 0 / 0.5203 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.135, allocations: 38.56 kB / 0.5203 GB, free: 3.508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.135, allocations: 0 / 0.5203 GB, free: 3.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006049/0.1356, allocations: 165.2 kB / 0.5205 GB, free: 3.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.1356, allocations: 55.41 kB / 0.5206 GB, free: 3.273 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.136, allocations: 234.8 kB / 0.5208 GB, free: 3.027 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.136, allocations: 29.7 kB / 0.5208 GB, free: 2.992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.1361, allocations: 104.1 kB / 0.5209 GB, free: 2.887 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.1361, allocations: 23.8 kB / 0.5209 GB, free: 2.863 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.1361, allocations: 25.7 kB / 0.521 GB, free: 2.832 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1363, allocations: 326.8 kB / 0.5213 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.14e-05/0.1364, allocations: 23.92 kB / 0.5213 GB, free: 2.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.892e-05/0.1364, allocations: 19.98 kB / 0.5213 GB, free: 2.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.1366, allocations: 53.02 kB / 0.5214 GB, free: 2.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.1366, allocations: 0 / 0.5214 GB, free: 2.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002769/0.1369, allocations: 93.61 kB / 0.5215 GB, free: 2.309 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1369, allocations: 8 kB / 0.5215 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1369, allocations: 0 / 0.5215 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1369, allocations: 0 / 0.5215 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.912e-05/0.137, allocations: 11.98 kB / 0.5215 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.137, allocations: 7.938 kB / 0.5215 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.196e-05/0.137, allocations: 3.938 kB / 0.5215 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1371, allocations: 4 kB / 0.5215 GB, free: 2.273 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 (5): * Single equations (assignments): 5 * 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.0001149/0.1372, allocations: 125.8 kB / 0.5216 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.1372, allocations: 15.91 kB / 0.5216 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.1375, allocations: 110.7 kB / 0.5217 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1375, allocations: 0 / 0.5217 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1375, allocations: 0 / 0.5217 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1375, allocations: 3.938 kB / 0.5217 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005309/0.138, allocations: 325.6 kB / 0.522 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.138, allocations: 0 / 0.522 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.795e-05/0.1381, allocations: 15.98 kB / 0.5221 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1381, allocations: 0 / 0.5221 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.1381, allocations: 7.938 kB / 0.5221 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1381, allocations: 0 / 0.5221 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1381, allocations: 0 / 0.5221 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.1383, allocations: 199.5 kB / 0.5223 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.1384, allocations: 7.953 kB / 0.5223 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.1384, allocations: 7.875 kB / 0.5223 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.111e-05/0.1385, allocations: 7.984 kB / 0.5223 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.1385, allocations: 4 kB / 0.5223 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.1385, allocations: 0 / 0.5223 GB, free: 1.379 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.1387, allocations: 192.3 kB / 0.5225 GB, free: 1.191 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1387, allocations: 0 / 0.5225 GB, free: 1.191 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.1389, allocations: 16 kB / 0.5225 GB, free: 1.176 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 (5): * Single equations (assignments): 5 * 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.1411, allocations: 1.048 MB / 0.5235 GB, free: 152 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.1413, allocations: 59.83 kB / 0.5236 GB, free: 92 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1413, allocations: 0 / 0.5236 GB, free: 92 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.942e-05/0.1414, allocations: 27.98 kB / 0.5236 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.1417, allocations: 15.98 kB / 0.5236 GB, free: 48 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.1438, allocations: 1.667 MB / 0.5252 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.1439, allocations: 96.17 kB / 0.5253 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.981e-05/0.144, allocations: 11.98 kB / 0.5253 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.7e-05/0.144, allocations: 31.44 kB / 0.5254 GB, free: 14.14 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.144, allocations: 0 / 0.5254 GB, free: 14.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.1676, allocations: 3.175 MB / 0.5285 GB, free: 10.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/11.9, allocations: 12 kB / 0.5285 GB, free: 10.84 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test32_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.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.202778950915672]