Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.001529/0.001529, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001685/0.001685, allocations: 213.8 kB / 23.77 MB, free: 4.551 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.503/1.503, allocations: 207.7 MB / 234.6 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.2221/0.2221, allocations: 44.26 MB / 331.1 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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test30",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_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.002263/0.002263, allocations: 75.89 kB / 468.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1197, allocations: 61.04 MB / 0.5169 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test30): time 0.003232/0.123, allocations: 1.559 MB / 0.5184 GB, free: 5.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006929/0.1236, allocations: 324.7 kB / 0.5188 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.4e-05/0.1237, allocations: 0 / 0.5188 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.124, allocations: 75.77 kB / 0.5188 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.1242, allocations: 67.73 kB / 0.5189 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.1245, allocations: 99.75 kB / 0.519 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.1247, allocations: 75.75 kB / 0.5191 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1248, allocations: 11.98 kB / 0.5191 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.565e-05/0.1249, allocations: 35.89 kB / 0.5191 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.125, allocations: 51.83 kB / 0.5192 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.125, allocations: 4 kB / 0.5192 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.597e-05/0.1251, allocations: 31.97 kB / 0.5192 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.906e-05/0.1251, allocations: 19.92 kB / 0.5192 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.758e-05/0.1252, allocations: 23.75 kB / 0.5192 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.1254, allocations: 91.59 kB / 0.5193 GB, free: 4.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1254, allocations: 0 / 0.5193 GB, free: 4.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1254, allocations: 0 / 0.5193 GB, free: 4.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.1254, allocations: 3.984 kB / 0.5193 GB, free: 4.707 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004925/0.1259, allocations: 317.8 kB / 0.5196 GB, free: 4.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1259, allocations: 8.031 kB / 0.5196 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.682e-05/0.1259, allocations: 4.188 kB / 0.5196 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.463e-05/0.126, allocations: 38.69 kB / 0.5197 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.164e-05/0.126, allocations: 12.84 kB / 0.5197 GB, free: 4.297 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.1262, allocations: 138.3 kB / 0.5198 GB, free: 4.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.082e-06/0.1262, allocations: 4.375 kB / 0.5198 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.1262, allocations: 4.125 kB / 0.5198 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.1264, allocations: 53.67 kB / 0.5199 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1264, allocations: 0 / 0.5199 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1264, allocations: 0 / 0.5199 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1264, allocations: 0 / 0.5199 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.165e-05/0.1265, allocations: 23.98 kB / 0.5199 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.1269, allocations: 252 kB / 0.5201 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.1271, allocations: 46.5 kB / 0.5202 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.413e-05/0.1271, allocations: 20.94 kB / 0.5202 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.1271, allocations: 0 / 0.5202 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.1272, allocations: 30.56 kB / 0.5202 GB, free: 3.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.1272, allocations: 3.938 kB / 0.5202 GB, free: 3.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005869/0.1278, allocations: 165.5 kB / 0.5204 GB, free: 3.469 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.1278, allocations: 51.41 kB / 0.5204 GB, free: 3.406 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.128, allocations: 206.2 kB / 0.5206 GB, free: 3.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.128, allocations: 29.7 kB / 0.5207 GB, free: 3.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.1281, allocations: 104.1 kB / 0.5208 GB, free: 3.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.1281, allocations: 15.91 kB / 0.5208 GB, free: 3.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.1281, allocations: 17.72 kB / 0.5208 GB, free: 3.016 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1283, allocations: 326.8 kB / 0.5211 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.236e-05/0.1284, allocations: 19.98 kB / 0.5211 GB, free: 2.668 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.878e-05/0.1284, allocations: 28.03 kB / 0.5212 GB, free: 2.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.1286, allocations: 56.77 kB / 0.5212 GB, free: 2.582 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1286, allocations: 4 kB / 0.5212 GB, free: 2.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002254/0.1288, allocations: 77.62 kB / 0.5213 GB, free: 2.496 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1288, allocations: 8 kB / 0.5213 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1288, allocations: 48 / 0.5213 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1288, allocations: 3.984 kB / 0.5213 GB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.1289, allocations: 11.98 kB / 0.5213 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1289, allocations: 0 / 0.5213 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.509e-05/0.1289, allocations: 15.92 kB / 0.5213 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.1289, allocations: 4 kB / 0.5213 GB, free: 2.453 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 (5): * Single equations (assignments): 5 * 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.0001045/0.129, allocations: 125.8 kB / 0.5215 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.1291, allocations: 11.91 kB / 0.5215 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.1293, allocations: 98.05 kB / 0.5216 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1293, allocations: 4 kB / 0.5216 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1293, allocations: 0 / 0.5216 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1293, allocations: 3.938 kB / 0.5216 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.1298, allocations: 325.5 kB / 0.5219 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1298, allocations: 4.312 kB / 0.5219 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-05/0.1298, allocations: 15.98 kB / 0.5219 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1298, allocations: 4 kB / 0.5219 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1299, allocations: 7.938 kB / 0.5219 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1299, allocations: 0 / 0.5219 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1299, allocations: 0 / 0.5219 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.1301, allocations: 183.4 kB / 0.5221 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.003e-05/0.1301, allocations: 19.84 kB / 0.5221 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.1301, allocations: 3.938 kB / 0.5221 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.035e-05/0.1302, allocations: 11.98 kB / 0.5221 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.1302, allocations: 4 kB / 0.5221 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1302, allocations: 4 kB / 0.5221 GB, free: 1.559 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.1304, allocations: 155.2 kB / 0.5223 GB, free: 1.406 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1304, allocations: 0 / 0.5223 GB, free: 1.406 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.1306, allocations: 15.94 kB / 0.5223 GB, free: 1.391 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 (5): * Single equations (assignments): 5 * 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.002129/0.1328, allocations: 1.036 MB / 0.5233 GB, free: 388 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.133, allocations: 59.83 kB / 0.5234 GB, free: 328 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.133, allocations: 0 / 0.5234 GB, free: 328 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.425e-05/0.1331, allocations: 27.98 kB / 0.5234 GB, free: 300 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.1335, allocations: 15.98 kB / 0.5234 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.1356, allocations: 1.578 MB / 0.5249 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.1357, allocations: 92.98 kB / 0.525 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.368e-05/0.1358, allocations: 16.05 kB / 0.525 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.559e-05/0.1358, allocations: 27.42 kB / 0.5251 GB, free: 14.46 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1358, allocations: 0 / 0.5251 GB, free: 14.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.1581, allocations: 3.011 MB / 0.528 GB, free: 11.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.7, allocations: 4 kB / 0.528 GB, free: 11.34 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.084350557997823]