Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.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.001317/0.001317, allocations: 104.3 kB / 19.7 MB, free: 1.941 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.001487/0.001487, allocations: 214.2 kB / 22.98 MB, free: 4.473 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.478/1.478, allocations: 207.7 MB / 233.8 MB, free: 9.785 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.229/0.229, allocations: 44.27 MB / 330.3 MB, free: 9.312 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.CombiTable1D.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test29",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.002408/0.002408, allocations: 73 kB / 467.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.132, allocations: 61.04 MB / 0.5162 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test29): time 0.003786/0.1357, allocations: 1.569 MB / 0.5177 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007829/0.1365, allocations: 335.5 kB / 0.518 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.827e-05/0.1366, allocations: 0 / 0.518 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.1369, allocations: 35.84 kB / 0.518 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.1371, allocations: 39.83 kB / 0.5181 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.1374, allocations: 107.7 kB / 0.5182 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.1376, allocations: 71.77 kB / 0.5183 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1377, allocations: 20.16 kB / 0.5183 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.798e-05/0.1378, allocations: 27.91 kB / 0.5183 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.253e-05/0.1379, allocations: 27.86 kB / 0.5183 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.1379, allocations: 0 / 0.5183 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.466e-05/0.138, allocations: 35.98 kB / 0.5184 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.138, allocations: 23.91 kB / 0.5184 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.84e-05/0.1381, allocations: 19.88 kB / 0.5184 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.1383, allocations: 91.53 kB / 0.5185 GB, free: 4.766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1383, allocations: 0 / 0.5185 GB, free: 4.766 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1383, allocations: 0 / 0.5185 GB, free: 4.766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1383, allocations: 0 / 0.5185 GB, free: 4.766 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005502/0.1388, allocations: 317.9 kB / 0.5188 GB, free: 4.426 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1389, allocations: 8.031 kB / 0.5188 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.06e-05/0.1389, allocations: 38.73 kB / 0.5188 GB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.1389, allocations: 8.891 kB / 0.5188 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.1391, allocations: 146.3 kB / 0.519 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.1392, allocations: 384 / 0.519 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.1392, allocations: 8.125 kB / 0.519 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.1394, allocations: 79.39 kB / 0.5191 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1394, allocations: 0 / 0.5191 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.1394, allocations: 0 / 0.5191 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.1394, allocations: 4 kB / 0.5191 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.1395, allocations: 39.91 kB / 0.5191 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/0.14, allocations: 348.2 kB / 0.5194 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.1403, allocations: 81.16 kB / 0.5195 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.99e-05/0.1404, allocations: 33.8 kB / 0.5196 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.1405, allocations: 0 / 0.5196 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.1405, allocations: 38.56 kB / 0.5196 GB, free: 3.484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.1405, allocations: 3.938 kB / 0.5196 GB, free: 3.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007941/0.1413, allocations: 229.1 kB / 0.5198 GB, free: 3.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.1413, allocations: 81.05 kB / 0.5199 GB, free: 3.152 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.1415, allocations: 158.8 kB / 0.52 GB, free: 2.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.1415, allocations: 29.7 kB / 0.5201 GB, free: 2.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.747e-05/0.1416, allocations: 100.1 kB / 0.5202 GB, free: 2.852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.1417, allocations: 35.64 kB / 0.5202 GB, free: 2.816 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.1417, allocations: 25.7 kB / 0.5202 GB, free: 2.785 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1418, allocations: 318.8 kB / 0.5205 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.81e-05/0.1419, allocations: 31.98 kB / 0.5206 GB, free: 2.434 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.861e-05/0.142, allocations: 45.69 kB / 0.5206 GB, free: 2.383 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.1422, allocations: 93.8 kB / 0.5207 GB, free: 2.285 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1422, allocations: 4 kB / 0.5207 GB, free: 2.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002521/0.1425, allocations: 117.5 kB / 0.5208 GB, free: 2.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1425, allocations: 5.875 kB / 0.5208 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1425, allocations: 0 / 0.5208 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.1425, allocations: 0 / 0.5208 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.635e-05/0.1426, allocations: 31.92 kB / 0.5208 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1426, allocations: 7.875 kB / 0.5209 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.66e-05/0.1427, allocations: 7.984 kB / 0.5209 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1427, allocations: 0 / 0.5209 GB, free: 2.109 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0001172/0.1428, allocations: 129.8 kB / 0.521 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.1429, allocations: 11.91 kB / 0.521 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.1432, allocations: 142.7 kB / 0.5211 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.1432, allocations: 11.94 kB / 0.5211 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1432, allocations: 0 / 0.5211 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1432, allocations: 0 / 0.5211 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007162/0.1439, allocations: 465.6 kB / 0.5216 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1439, allocations: 0 / 0.5216 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.927e-05/0.144, allocations: 23.92 kB / 0.5216 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.144, allocations: 4 kB / 0.5216 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.144, allocations: 4 kB / 0.5216 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.144, allocations: 4 kB / 0.5216 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.144, allocations: 3.984 kB / 0.5216 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.1444, allocations: 299.6 kB / 0.5219 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.1444, allocations: 7.953 kB / 0.5219 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.1444, allocations: 16.02 kB / 0.5219 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1445, allocations: 4 kB / 0.5219 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.1446, allocations: 7.984 kB / 0.5219 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.1446, allocations: 4 kB / 0.5219 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.1447, allocations: 119.2 kB / 0.5221 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1447, allocations: 0 / 0.5221 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003008/0.145, allocations: 16 kB / 0.5221 GB, free: 0.7695 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.002377/0.1474, allocations: 1.164 MB / 0.5232 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002654/0.1477, allocations: 79.89 kB / 0.5233 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1477, allocations: 0 / 0.5233 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.1478, allocations: 47.91 kB / 0.5233 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004746/0.1483, allocations: 19.98 kB / 0.5234 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.1506, allocations: 1.692 MB / 0.525 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.1507, allocations: 91.25 kB / 0.5251 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.949e-05/0.1508, allocations: 24.77 kB / 0.5251 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.05e-05/0.1508, allocations: 31.44 kB / 0.5251 GB, free: 13.53 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1508, allocations: 4 kB / 0.5252 GB, free: 13.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03239/0.1832, allocations: 3.382 MB / 0.5285 GB, free: 10.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.74, allocations: 11.91 kB / 0.5285 GB, free: 10.02 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.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.948867091909051]