Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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.001837/0.001837, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.002121/0.002121, allocations: 215.5 kB / 23.78 MB, free: 4.523 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.702/1.702, allocations: 207.7 MB / 234.6 MB, free: 9.777 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.2357/0.2357, allocations: 44.26 MB / 331.1 MB, free: 9.316 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.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30",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.002158/0.002158, allocations: 72.31 kB / 468.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1464, allocations: 61.04 MB / 0.5169 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.004146/0.1505, allocations: 1.622 MB / 0.5185 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000821/0.1513, allocations: 335.6 kB / 0.5188 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.1514, allocations: 0 / 0.5188 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.1518, allocations: 75.77 kB / 0.5189 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.152, allocations: 71.73 kB / 0.519 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.1524, allocations: 151.6 kB / 0.5191 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.1526, allocations: 79.81 kB / 0.5192 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1527, allocations: 15.97 kB / 0.5192 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.198e-05/0.1528, allocations: 43.83 kB / 0.5192 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.1529, allocations: 55.83 kB / 0.5193 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.1529, allocations: 3.938 kB / 0.5193 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.849e-05/0.153, allocations: 39.92 kB / 0.5193 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.073e-05/0.1531, allocations: 27.91 kB / 0.5194 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.694e-05/0.1531, allocations: 27.8 kB / 0.5194 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.1534, allocations: 99.58 kB / 0.5195 GB, free: 4.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1534, allocations: 3.984 kB / 0.5195 GB, free: 4.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1534, allocations: 0 / 0.5195 GB, free: 4.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1534, allocations: 0 / 0.5195 GB, free: 4.539 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006167/0.154, allocations: 349.6 kB / 0.5198 GB, free: 4.168 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.1541, allocations: 8.031 kB / 0.5198 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.715e-05/0.1541, allocations: 4.125 kB / 0.5198 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.027e-05/0.1541, allocations: 34.75 kB / 0.5199 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.1542, allocations: 8.891 kB / 0.5199 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.1544, allocations: 151 kB / 0.52 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.1544, allocations: 384 / 0.52 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.1544, allocations: 8.125 kB / 0.52 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.1546, allocations: 61.66 kB / 0.5201 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1546, allocations: 0 / 0.5201 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1546, allocations: 8 kB / 0.5201 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1546, allocations: 0 / 0.5201 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.1548, allocations: 39.91 kB / 0.5201 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.1554, allocations: 279.8 kB / 0.5204 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.1555, allocations: 42.56 kB / 0.5204 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.793e-05/0.1556, allocations: 24.94 kB / 0.5205 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.1556, allocations: 4 kB / 0.5205 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.1557, allocations: 38.5 kB / 0.5205 GB, free: 3.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1557, allocations: 0 / 0.5205 GB, free: 3.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007979/0.1565, allocations: 221.3 kB / 0.5207 GB, free: 3.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.1565, allocations: 59.34 kB / 0.5208 GB, free: 3.074 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.1567, allocations: 223.2 kB / 0.521 GB, free: 2.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.1567, allocations: 25.7 kB / 0.521 GB, free: 2.816 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.382e-05/0.1568, allocations: 112.1 kB / 0.5211 GB, free: 2.703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.1568, allocations: 23.84 kB / 0.5211 GB, free: 2.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.1569, allocations: 21.7 kB / 0.5212 GB, free: 2.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.157, allocations: 326.8 kB / 0.5215 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.1572, allocations: 39.91 kB / 0.5215 GB, free: 2.285 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.1573, allocations: 35.97 kB / 0.5215 GB, free: 2.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.1575, allocations: 88.8 kB / 0.5216 GB, free: 2.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1575, allocations: 0 / 0.5216 GB, free: 2.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002966/0.1578, allocations: 133.5 kB / 0.5218 GB, free: 2.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1578, allocations: 4 kB / 0.5218 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1578, allocations: 0 / 0.5218 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1578, allocations: 7.938 kB / 0.5218 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.1579, allocations: 23.98 kB / 0.5218 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1579, allocations: 3.938 kB / 0.5218 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.281e-05/0.158, allocations: 11.98 kB / 0.5218 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.158, allocations: 0 / 0.5218 GB, free: 1.973 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 (7): * Single equations (assignments): 7 * 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.0001096/0.1581, allocations: 129.8 kB / 0.5219 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.1582, allocations: 8.234 kB / 0.5219 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/0.1585, allocations: 155.2 kB / 0.5221 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.1585, allocations: 3.984 kB / 0.5221 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1585, allocations: 3.938 kB / 0.5221 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1585, allocations: 0 / 0.5221 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.1591, allocations: 377.6 kB / 0.5225 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1591, allocations: 0 / 0.5225 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.899e-05/0.1592, allocations: 19.92 kB / 0.5225 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.1592, allocations: 7.938 kB / 0.5225 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.1592, allocations: 4 kB / 0.5225 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1592, allocations: 0 / 0.5225 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1592, allocations: 0 / 0.5225 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.1596, allocations: 219.4 kB / 0.5227 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.687e-05/0.1596, allocations: 19.89 kB / 0.5227 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.1596, allocations: 7.938 kB / 0.5227 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.048e-05/0.1597, allocations: 11.98 kB / 0.5227 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.1598, allocations: 8 kB / 0.5227 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.1598, allocations: 3.984 kB / 0.5227 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.1599, allocations: 159.2 kB / 0.5229 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1599, allocations: 3.938 kB / 0.5229 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1602, allocations: 19.94 kB / 0.5229 GB, free: 0.7461 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 (7): * Single equations (assignments): 7 * 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.002181/0.1624, allocations: 1.086 MB / 0.524 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002935/0.1626, allocations: 79.94 kB / 0.5241 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1626, allocations: 0 / 0.5241 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.1628, allocations: 51.89 kB / 0.5241 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.1631, allocations: 19.98 kB / 0.5241 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.1654, allocations: 1.773 MB / 0.5259 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.1655, allocations: 92.19 kB / 0.5259 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.099e-05/0.1656, allocations: 28.94 kB / 0.526 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.071e-05/0.1656, allocations: 31.42 kB / 0.526 GB, free: 13.51 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1656, allocations: 0 / 0.526 GB, free: 13.51 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.1884, allocations: 3.38 MB / 0.5293 GB, free: 10.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.43, allocations: 8.016 kB / 0.5293 GB, free: 10.01 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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.227567687048577]