Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001397/0.001397, allocations: 109 kB / 20.48 MB, free: 1.477 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.001535/0.001535, allocations: 209.7 kB / 23.79 MB, free: 4.688 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.485/1.485, allocations: 207.6 MB / 234.6 MB, free: 9.977 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.2353/0.2353, allocations: 44.24 MB / 331.1 MB, free: 9.52 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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",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.002278/0.002278, allocations: 75.91 kB / 468.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1476, allocations: 61.05 MB / 0.5169 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.004277/0.1518, allocations: 1.585 MB / 0.5185 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009996/0.1528, allocations: 352.6 kB / 0.5188 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.331e-05/0.1529, allocations: 4 kB / 0.5188 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.1532, allocations: 19.84 kB / 0.5188 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.1534, allocations: 39.8 kB / 0.5189 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.1537, allocations: 79.83 kB / 0.5189 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.1538, allocations: 59.84 kB / 0.519 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.154, allocations: 16.16 kB / 0.519 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.083e-05/0.154, allocations: 27.8 kB / 0.519 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.379e-05/0.1541, allocations: 31.78 kB / 0.5191 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.1541, allocations: 4 kB / 0.5191 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.1542, allocations: 51.98 kB / 0.5191 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.1543, allocations: 15.97 kB / 0.5191 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.881e-05/0.1543, allocations: 23.81 kB / 0.5192 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.1546, allocations: 99.56 kB / 0.5193 GB, free: 4.914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.1546, allocations: 4 kB / 0.5193 GB, free: 4.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.1546, allocations: 4 kB / 0.5193 GB, free: 4.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1546, allocations: 0 / 0.5193 GB, free: 4.906 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.0005344/0.1551, allocations: 301.9 kB / 0.5196 GB, free: 4.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.1552, allocations: 16.02 kB / 0.5196 GB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.13e-05/0.1552, allocations: 4.188 kB / 0.5196 GB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.028e-05/0.1552, allocations: 30.75 kB / 0.5196 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.1553, allocations: 8.891 kB / 0.5196 GB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.1555, allocations: 130.4 kB / 0.5197 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1555, allocations: 8.375 kB / 0.5197 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.1555, allocations: 3.938 kB / 0.5197 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.1557, allocations: 75.33 kB / 0.5198 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1557, allocations: 7.969 kB / 0.5198 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.1557, allocations: 0 / 0.5198 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.1557, allocations: 0 / 0.5198 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.1559, allocations: 39.97 kB / 0.5199 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.1563, allocations: 259.9 kB / 0.5201 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.1564, allocations: 62.48 kB / 0.5202 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.455e-05/0.1565, allocations: 20.97 kB / 0.5202 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.1565, allocations: 4 kB / 0.5202 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.1566, allocations: 34.56 kB / 0.5202 GB, free: 3.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.1566, allocations: 0 / 0.5202 GB, free: 3.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000705/0.1573, allocations: 177.3 kB / 0.5204 GB, free: 3.602 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.1573, allocations: 77.11 kB / 0.5205 GB, free: 3.508 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.1575, allocations: 145.8 kB / 0.5206 GB, free: 3.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1575, allocations: 25.7 kB / 0.5206 GB, free: 3.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.1576, allocations: 88.14 kB / 0.5207 GB, free: 3.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.1576, allocations: 39.73 kB / 0.5208 GB, free: 3.195 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.1577, allocations: 21.72 kB / 0.5208 GB, free: 3.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1578, allocations: 318.8 kB / 0.5211 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.02e-05/0.1579, allocations: 23.98 kB / 0.5211 GB, free: 2.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.244e-05/0.158, allocations: 41.64 kB / 0.5211 GB, free: 2.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.1582, allocations: 61.08 kB / 0.5212 GB, free: 2.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1582, allocations: 0 / 0.5212 GB, free: 2.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000225/0.1584, allocations: 93.61 kB / 0.5213 GB, free: 2.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1584, allocations: 4 kB / 0.5213 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1584, allocations: 3.938 kB / 0.5213 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.1584, allocations: 0 / 0.5213 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.1585, allocations: 15.98 kB / 0.5213 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.1586, allocations: 4 kB / 0.5213 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.04e-05/0.1586, allocations: 15.92 kB / 0.5213 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.1586, allocations: 7.938 kB / 0.5213 GB, free: 2.566 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.0001254/0.1587, allocations: 113.8 kB / 0.5215 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.1588, allocations: 7.953 kB / 0.5215 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.1591, allocations: 110 kB / 0.5216 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.1591, allocations: 4 kB / 0.5216 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1591, allocations: 0 / 0.5216 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1591, allocations: 7.938 kB / 0.5216 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005052/0.1596, allocations: 333.6 kB / 0.5219 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1596, allocations: 4 kB / 0.5219 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.935e-05/0.1597, allocations: 15.98 kB / 0.5219 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1597, allocations: 0 / 0.5219 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1597, allocations: 3.938 kB / 0.5219 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1597, allocations: 384 / 0.5219 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1597, allocations: 0 / 0.5219 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.16, allocations: 199.4 kB / 0.5221 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.16, allocations: 7.953 kB / 0.5221 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.16, allocations: 7.938 kB / 0.5221 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.1601, allocations: 11.98 kB / 0.5221 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.1601, allocations: 7.938 kB / 0.5221 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.1601, allocations: 0 / 0.5221 GB, free: 1.664 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.66e-05/0.1602, allocations: 119 kB / 0.5223 GB, free: 1.551 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1602, allocations: 0 / 0.5223 GB, free: 1.551 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002927/0.1605, allocations: 23.94 kB / 0.5223 GB, free: 1.527 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.002358/0.1629, allocations: 1.075 MB / 0.5233 GB, free: 488 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002603/0.1632, allocations: 55.95 kB / 0.5234 GB, free: 432 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1632, allocations: 3.938 kB / 0.5234 GB, free: 428 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.069e-05/0.1632, allocations: 27.92 kB / 0.5234 GB, free: 400 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.1636, allocations: 27.27 kB / 0.5234 GB, free: 376 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.1657, allocations: 1.449 MB / 0.5249 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.1661, allocations: 0.6924 MB / 0.5255 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.1663, allocations: 28.38 kB / 0.5256 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.747e-05/0.1664, allocations: 27.42 kB / 0.5256 GB, free: 14.07 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1664, allocations: 0 / 0.5256 GB, free: 14.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.1904, allocations: 3.138 MB / 0.5286 GB, free: 10.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.57, allocations: 8 kB / 0.5287 GB, free: 10.8 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.99732305604266]