Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.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.001726/0.001726, allocations: 110 kB / 19.69 MB, free: 2.203 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.002084/0.002084, allocations: 220.1 kB / 23.01 MB, free: 5.043 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.501/1.501, allocations: 207.6 MB / 233.8 MB, free: 9.973 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.2324/0.2324, allocations: 44.24 MB / 330.3 MB, free: 9.605 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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test6",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.002704/0.002704, allocations: 67.89 kB / 467.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.128, allocations: 61.05 MB / 0.5162 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test6): time 0.004333/0.1323, allocations: 1.592 MB / 0.5177 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000919/0.1333, allocations: 351.4 kB / 0.5181 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.002e-05/0.1333, allocations: 0 / 0.5181 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003758/0.1337, allocations: 95.67 kB / 0.5181 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.134, allocations: 75.78 kB / 0.5182 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.1344, allocations: 87.81 kB / 0.5183 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.1346, allocations: 79.81 kB / 0.5184 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.1348, allocations: 24.14 kB / 0.5184 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.1349, allocations: 35.84 kB / 0.5184 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.135, allocations: 67.75 kB / 0.5185 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.135, allocations: 0 / 0.5185 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.1352, allocations: 35.98 kB / 0.5185 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.286e-05/0.1352, allocations: 19.92 kB / 0.5185 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.1353, allocations: 39.73 kB / 0.5186 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003924/0.1357, allocations: 107.5 kB / 0.5187 GB, free: 4.723 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1357, allocations: 0 / 0.5187 GB, free: 4.723 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1357, allocations: 0 / 0.5187 GB, free: 4.723 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1357, allocations: 0 / 0.5187 GB, free: 4.723 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.0007702/0.1365, allocations: 349.5 kB / 0.519 GB, free: 4.352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.1365, allocations: 8.031 kB / 0.519 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.308e-05/0.1366, allocations: 34.75 kB / 0.5191 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.1367, allocations: 12.84 kB / 0.5191 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.1369, allocations: 147.3 kB / 0.5192 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.1369, allocations: 8.375 kB / 0.5192 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.137, allocations: 8.125 kB / 0.5192 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.1372, allocations: 75.33 kB / 0.5193 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.1373, allocations: 0 / 0.5193 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.1373, allocations: 4 kB / 0.5193 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1373, allocations: 0 / 0.5193 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.1374, allocations: 35.97 kB / 0.5193 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006741/0.1381, allocations: 372 kB / 0.5197 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.1385, allocations: 85.16 kB / 0.5198 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.86e-05/0.1386, allocations: 37.78 kB / 0.5198 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.1386, allocations: 3.984 kB / 0.5198 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.1386, allocations: 38.56 kB / 0.5199 GB, free: 3.375 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1386, allocations: 0 / 0.5199 GB, free: 3.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000966/0.1396, allocations: 241 kB / 0.5201 GB, free: 3.133 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/0.1397, allocations: 88.98 kB / 0.5202 GB, free: 3.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.14, allocations: 234.3 kB / 0.5204 GB, free: 2.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.14, allocations: 25.7 kB / 0.5204 GB, free: 2.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.592e-05/0.1401, allocations: 108.1 kB / 0.5205 GB, free: 2.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.118e-05/0.1402, allocations: 35.73 kB / 0.5206 GB, free: 2.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/0.1402, allocations: 17.72 kB / 0.5206 GB, free: 2.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.1404, allocations: 326.8 kB / 0.5209 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.1406, allocations: 39.97 kB / 0.5209 GB, free: 2.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.1407, allocations: 49.62 kB / 0.521 GB, free: 2.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.141, allocations: 81.81 kB / 0.521 GB, free: 2.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.141, allocations: 0 / 0.521 GB, free: 2.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003562/0.1413, allocations: 133.5 kB / 0.5212 GB, free: 1.945 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.1413, allocations: 4 kB / 0.5212 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1413, allocations: 4 kB / 0.5212 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.1414, allocations: 0 / 0.5212 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.1415, allocations: 27.92 kB / 0.5212 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.1415, allocations: 3.938 kB / 0.5212 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.961e-05/0.1415, allocations: 4 kB / 0.5212 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.1416, allocations: 4 kB / 0.5212 GB, free: 1.898 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.0001428/0.1417, allocations: 133.8 kB / 0.5213 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.23e-05/0.1418, allocations: 15.91 kB / 0.5214 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004243/0.1422, allocations: 154.6 kB / 0.5215 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1422, allocations: 256 / 0.5215 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.1422, allocations: 11.88 kB / 0.5215 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.1422, allocations: 4 kB / 0.5215 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009818/0.1432, allocations: 481.6 kB / 0.522 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.1432, allocations: 7.969 kB / 0.522 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.1433, allocations: 19.98 kB / 0.522 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.1433, allocations: 4 kB / 0.522 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.1434, allocations: 3.984 kB / 0.522 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/0.1434, allocations: 7.938 kB / 0.522 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1434, allocations: 0 / 0.522 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004365/0.1438, allocations: 299.7 kB / 0.5223 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.814e-05/0.1438, allocations: 15.84 kB / 0.5223 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.1439, allocations: 7.984 kB / 0.5223 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.144, allocations: 4 kB / 0.5223 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.1441, allocations: 11.98 kB / 0.5224 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.1441, allocations: 0 / 0.5224 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000214/0.1443, allocations: 176.2 kB / 0.5225 GB, free: 488 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1443, allocations: 4 kB / 0.5225 GB, free: 484 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004585/0.1447, allocations: 20 kB / 0.5225 GB, free: 464 kB / 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.002688/0.1474, allocations: 1.133 MB / 0.5236 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003402/0.1478, allocations: 79.89 kB / 0.5237 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1478, allocations: 0 / 0.5237 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.1479, allocations: 51.89 kB / 0.5238 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006837/0.1486, allocations: 23.92 kB / 0.5238 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.1516, allocations: 1.858 MB / 0.5256 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.1521, allocations: 0.7157 MB / 0.5263 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.1522, allocations: 28.39 kB / 0.5263 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.812e-05/0.1523, allocations: 39.36 kB / 0.5264 GB, free: 12.42 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1523, allocations: 0 / 0.5264 GB, free: 12.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03306/0.1854, allocations: 3.346 MB / 0.5296 GB, free: 8.988 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.2, allocations: 4 kB / 0.5296 GB, free: 8.984 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.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.446088979020715]