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.001801/0.001801, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.002329/0.002329, allocations: 223 kB / 23 MB, free: 4.969 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.578/1.578, allocations: 207.7 MB / 233.8 MB, free: 9.781 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.2288/0.2288, allocations: 44.27 MB / 330.4 MB, free: 9.293 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.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.003397/0.003397, allocations: 75.89 kB / 467.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1569, allocations: 61.05 MB / 0.5162 GB, free: 7.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test6): time 0.005069/0.162, allocations: 1.565 MB / 0.5177 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009439/0.1629, allocations: 331.5 kB / 0.518 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.804e-05/0.163, allocations: 4 kB / 0.518 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.1634, allocations: 95.75 kB / 0.5181 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.1637, allocations: 67.8 kB / 0.5182 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004133/0.1641, allocations: 99.67 kB / 0.5183 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.1643, allocations: 87.8 kB / 0.5184 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.1645, allocations: 20.16 kB / 0.5184 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.1646, allocations: 39.8 kB / 0.5184 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.1647, allocations: 59.86 kB / 0.5185 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.1648, allocations: 4 kB / 0.5185 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.1649, allocations: 27.98 kB / 0.5185 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.302e-05/0.1649, allocations: 27.84 kB / 0.5185 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.857e-05/0.165, allocations: 23.81 kB / 0.5185 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.1653, allocations: 111.4 kB / 0.5187 GB, free: 4.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1653, allocations: 4 kB / 0.5187 GB, free: 4.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1653, allocations: 4 kB / 0.5187 GB, free: 4.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1653, allocations: 0 / 0.5187 GB, free: 4.586 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.0005982/0.1659, allocations: 341.6 kB / 0.519 GB, free: 4.223 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.166, allocations: 8.031 kB / 0.519 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.383e-05/0.166, allocations: 34.75 kB / 0.519 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.1661, allocations: 16.84 kB / 0.519 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.1663, allocations: 139.4 kB / 0.5192 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.1663, allocations: 4.375 kB / 0.5192 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.1663, allocations: 8.125 kB / 0.5192 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.1666, allocations: 79.27 kB / 0.5193 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1666, allocations: 4 kB / 0.5193 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.1666, allocations: 7.984 kB / 0.5193 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1666, allocations: 4 kB / 0.5193 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.1667, allocations: 35.91 kB / 0.5193 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006114/0.1674, allocations: 364.1 kB / 0.5197 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.1677, allocations: 81.06 kB / 0.5197 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.352e-05/0.1678, allocations: 29.89 kB / 0.5198 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.1678, allocations: 11.98 kB / 0.5198 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.1679, allocations: 34.56 kB / 0.5198 GB, free: 3.254 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.664e-06/0.1679, allocations: 3.938 kB / 0.5198 GB, free: 3.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009482/0.1688, allocations: 241 kB / 0.52 GB, free: 3.008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/0.1689, allocations: 85.05 kB / 0.5201 GB, free: 2.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.1692, allocations: 230.3 kB / 0.5203 GB, free: 2.672 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.1692, allocations: 29.7 kB / 0.5204 GB, free: 2.637 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.1694, allocations: 108.1 kB / 0.5205 GB, free: 2.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.1694, allocations: 31.75 kB / 0.5205 GB, free: 2.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.995e-05/0.1695, allocations: 29.7 kB / 0.5205 GB, free: 2.461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1696, allocations: 322.8 kB / 0.5208 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.1698, allocations: 35.92 kB / 0.5209 GB, free: 2.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.1699, allocations: 45.69 kB / 0.5209 GB, free: 2.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.1701, allocations: 89.8 kB / 0.521 GB, free: 1.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1701, allocations: 0 / 0.521 GB, free: 1.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003548/0.1705, allocations: 129.5 kB / 0.5211 GB, free: 1.824 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1705, allocations: 4 kB / 0.5211 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.1705, allocations: 3.984 kB / 0.5211 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.1706, allocations: 4 kB / 0.5211 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1707, allocations: 19.98 kB / 0.5212 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.1707, allocations: 3.938 kB / 0.5212 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.626e-05/0.1707, allocations: 8 kB / 0.5212 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.1708, allocations: 4 kB / 0.5212 GB, free: 1.777 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.0001437/0.1709, allocations: 137.8 kB / 0.5213 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.026e-05/0.171, allocations: 15.91 kB / 0.5213 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004318/0.1714, allocations: 146.8 kB / 0.5215 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1714, allocations: 4 kB / 0.5215 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1714, allocations: 7.875 kB / 0.5215 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.1714, allocations: 3.984 kB / 0.5215 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009253/0.1724, allocations: 477.9 kB / 0.5219 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.1724, allocations: 7.938 kB / 0.5219 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.1725, allocations: 23.97 kB / 0.522 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.1725, allocations: 4.594 kB / 0.522 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.1725, allocations: 8 kB / 0.522 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1725, allocations: 0 / 0.522 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1725, allocations: 0 / 0.522 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.173, allocations: 291.5 kB / 0.5223 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.187e-05/0.173, allocations: 19.83 kB / 0.5223 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.173, allocations: 11.94 kB / 0.5223 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.1732, allocations: 7.984 kB / 0.5223 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.1732, allocations: 7.984 kB / 0.5223 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.1732, allocations: 8 kB / 0.5223 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002252/0.1735, allocations: 176.2 kB / 0.5225 GB, free: 364 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1735, allocations: 0 / 0.5225 GB, free: 364 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004708/0.1739, allocations: 20 kB / 0.5225 GB, free: 344 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.00288/0.1768, allocations: 1.156 MB / 0.5236 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003572/0.1772, allocations: 83.95 kB / 0.5237 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1772, allocations: 3.938 kB / 0.5237 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.1773, allocations: 39.97 kB / 0.5237 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006563/0.178, allocations: 15.98 kB / 0.5238 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003109/0.1811, allocations: 1.862 MB / 0.5256 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/0.1813, allocations: 104.7 kB / 0.5257 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.1814, allocations: 24.39 kB / 0.5257 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.1815, allocations: 39.42 kB / 0.5257 GB, free: 12.91 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1815, allocations: 0 / 0.5257 GB, free: 12.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03759/0.2191, allocations: 3.728 MB / 0.5294 GB, free: 9.078 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.75, allocations: 11.94 kB / 0.5294 GB, free: 9.066 MB / 414.1 MB " [Timeout remaining time 648] (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: 15.131116188131273]