Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.0012/0.0012, allocations: 109 kB / 20.45 MB, free: 1.52 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.001313/0.001313, allocations: 215.3 kB / 23.76 MB, free: 4.746 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.308/1.308, allocations: 207.6 MB / 234.5 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 179] 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.2074/0.2074, allocations: 44.23 MB / 331 MB, free: 9.531 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: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") [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.002271/0.002271, allocations: 79.89 kB / 468.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1157, allocations: 61.03 MB / 0.5174 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003278/0.119, allocations: 1.595 MB / 0.5189 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006877/0.1197, allocations: 343.4 kB / 0.5193 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.167e-05/0.1197, allocations: 0 / 0.5193 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.1201, allocations: 95.73 kB / 0.5193 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.1203, allocations: 75.73 kB / 0.5194 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.1205, allocations: 67.84 kB / 0.5195 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.1207, allocations: 83.8 kB / 0.5196 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.855e-05/0.1208, allocations: 12.17 kB / 0.5196 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.456e-05/0.1209, allocations: 43.83 kB / 0.5196 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.121, allocations: 59.8 kB / 0.5197 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.121, allocations: 4 kB / 0.5197 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.877e-05/0.1211, allocations: 31.98 kB / 0.5197 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.799e-05/0.1212, allocations: 23.86 kB / 0.5197 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.424e-05/0.1212, allocations: 31.75 kB / 0.5198 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.1214, allocations: 115.5 kB / 0.5199 GB, free: 4.254 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1214, allocations: 0 / 0.5199 GB, free: 4.254 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1214, allocations: 0 / 0.5199 GB, free: 4.254 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.1214, allocations: 0 / 0.5199 GB, free: 4.254 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004752/0.1219, allocations: 333.7 kB / 0.5202 GB, free: 3.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1219, allocations: 8.031 kB / 0.5202 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.122, allocations: 12.84 kB / 0.5202 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.1222, allocations: 151.2 kB / 0.5204 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1222, allocations: 4.375 kB / 0.5204 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.1222, allocations: 8.375 kB / 0.5204 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.1223, allocations: 61.61 kB / 0.5204 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1224, allocations: 0 / 0.5204 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1224, allocations: 0 / 0.5204 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.1224, allocations: 4 kB / 0.5204 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.1225, allocations: 27.97 kB / 0.5205 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.1229, allocations: 279.8 kB / 0.5207 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.123, allocations: 58.48 kB / 0.5208 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.713e-05/0.123, allocations: 16.97 kB / 0.5208 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.123, allocations: 4.078 kB / 0.5208 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.1231, allocations: 30.56 kB / 0.5208 GB, free: 3.152 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1231, allocations: 0 / 0.5208 GB, free: 3.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005998/0.1237, allocations: 201.4 kB / 0.521 GB, free: 2.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.1237, allocations: 51.41 kB / 0.5211 GB, free: 2.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.1239, allocations: 238.2 kB / 0.5213 GB, free: 2.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.124, allocations: 25.7 kB / 0.5213 GB, free: 2.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.53e-05/0.124, allocations: 108.1 kB / 0.5214 GB, free: 2.504 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.1241, allocations: 31.69 kB / 0.5215 GB, free: 2.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.1241, allocations: 21.7 kB / 0.5215 GB, free: 2.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1242, allocations: 326.8 kB / 0.5218 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.161e-05/0.1243, allocations: 23.98 kB / 0.5218 GB, free: 2.094 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-05/0.1244, allocations: 23.98 kB / 0.5218 GB, free: 2.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.1245, allocations: 64.81 kB / 0.5219 GB, free: 2.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1245, allocations: 0 / 0.5219 GB, free: 2.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002062/0.1247, allocations: 101.6 kB / 0.522 GB, free: 1.898 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1247, allocations: 4 kB / 0.522 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1247, allocations: 3.984 kB / 0.522 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1247, allocations: 0 / 0.522 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1248, allocations: 19.94 kB / 0.522 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.217e-06/0.1248, allocations: 0 / 0.522 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.09e-05/0.1249, allocations: 11.92 kB / 0.522 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.1249, allocations: 4 kB / 0.522 GB, free: 1.855 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 (8): * Single equations (assignments): 8 * 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.0001026/0.125, allocations: 125.8 kB / 0.5222 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.125, allocations: 19.91 kB / 0.5222 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002704/0.1253, allocations: 119.3 kB / 0.5223 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1253, allocations: 7.938 kB / 0.5223 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1253, allocations: 0 / 0.5223 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.1253, allocations: 3.938 kB / 0.5223 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.1258, allocations: 357.6 kB / 0.5226 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1258, allocations: 7.984 kB / 0.5226 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.244e-05/0.1259, allocations: 15.94 kB / 0.5227 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1259, allocations: 7.875 kB / 0.5227 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.1259, allocations: 0 / 0.5227 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.1259, allocations: 7.984 kB / 0.5227 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1259, allocations: 0 / 0.5227 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.1261, allocations: 191.4 kB / 0.5229 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.1261, allocations: 15.94 kB / 0.5229 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.1262, allocations: 8.125 kB / 0.5229 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-05/0.1262, allocations: 8 kB / 0.5229 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.1263, allocations: 3.984 kB / 0.5229 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.1263, allocations: 4 kB / 0.5229 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.1264, allocations: 168.2 kB / 0.5231 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1264, allocations: 4 kB / 0.5231 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002341/0.1266, allocations: 19.98 kB / 0.5231 GB, free: 0.6953 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 (8): * Single equations (assignments): 8 * 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.001414/0.1281, allocations: 416.7 kB / 0.5235 GB, free: 340 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.1283, allocations: 55.97 kB / 0.5235 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1283, allocations: 0 / 0.5235 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.225e-05/0.1283, allocations: 39.86 kB / 0.5236 GB, free: 244 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.1287, allocations: 19.84 kB / 0.5236 GB, free: 224 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005479/0.1292, allocations: 295.8 kB / 0.5239 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.1296, allocations: 0.7041 MB / 0.5246 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/0.1296, allocations: 19.42 kB / 0.5246 GB, free: 15.14 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1296, allocations: 0 / 0.5246 GB, free: 15.14 MB / 414.1 MB Notification: Performance of Templates: time 0.003933/0.1335, allocations: 1.695 MB / 0.5262 GB, free: 13.45 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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: 7.09107958083041]