Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.001305/0.001305, allocations: 105.2 kB / 20.44 MB, free: 1.504 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.0013/0.0013, allocations: 225.3 kB / 23.76 MB, free: 4.719 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.337/1.337, allocations: 207.6 MB / 234.5 MB, free: 9.98 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.2184/0.2184, allocations: 44.23 MB / 331 MB, free: 9.523 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.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.002093/0.002093, allocations: 74.56 kB / 468.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1181, allocations: 61.03 MB / 0.5174 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.003097/0.1212, allocations: 1.634 MB / 0.519 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006126/0.1219, allocations: 335.5 kB / 0.5193 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.091e-05/0.1219, allocations: 4 kB / 0.5193 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005673/0.1225, allocations: 451.1 kB / 0.5197 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.1228, allocations: 255.4 kB / 0.52 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.1231, allocations: 111.7 kB / 0.5201 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.1233, allocations: 163.6 kB / 0.5202 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.263e-05/0.1234, allocations: 12.17 kB / 0.5202 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1235, allocations: 111.8 kB / 0.5204 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.1238, allocations: 243.5 kB / 0.5206 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.1238, allocations: 8 kB / 0.5206 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.181e-05/0.1239, allocations: 27.98 kB / 0.5206 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.124, allocations: 83.69 kB / 0.5207 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.406e-05/0.124, allocations: 95.06 kB / 0.5208 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.1244, allocations: 262.5 kB / 0.521 GB, free: 3.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1244, allocations: 0 / 0.521 GB, free: 3.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1244, allocations: 4 kB / 0.521 GB, free: 3.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1244, allocations: 0 / 0.521 GB, free: 3.055 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.0006589/0.125, allocations: 0.566 MB / 0.5216 GB, free: 2.457 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.1251, allocations: 12.03 kB / 0.5216 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.851e-05/0.1251, allocations: 44.66 kB / 0.5216 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.1254, allocations: 238.8 kB / 0.5219 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.1254, allocations: 4.375 kB / 0.5219 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.1254, allocations: 384 / 0.5219 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1256, allocations: 57.61 kB / 0.5219 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1256, allocations: 7.953 kB / 0.5219 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.1256, allocations: 0 / 0.5219 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1256, allocations: 0 / 0.5219 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.769e-05/0.1257, allocations: 27.92 kB / 0.522 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.1261, allocations: 355.8 kB / 0.5223 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.1263, allocations: 42.56 kB / 0.5223 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.573e-05/0.1263, allocations: 12.89 kB / 0.5224 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.1264, allocations: 7.984 kB / 0.5224 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.1264, allocations: 34.56 kB / 0.5224 GB, free: 1.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1264, allocations: 0 / 0.5224 GB, free: 1.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005639/0.127, allocations: 232.7 kB / 0.5226 GB, free: 1.301 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.127, allocations: 51.41 kB / 0.5227 GB, free: 1.238 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007979/0.1278, allocations: 0.8574 MB / 0.5235 GB, free: 376 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.1278, allocations: 25.7 kB / 0.5235 GB, free: 344 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.128, allocations: 224.1 kB / 0.5237 GB, free: 116 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.128, allocations: 19.84 kB / 0.5238 GB, free: 96 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.128, allocations: 17.72 kB / 0.5238 GB, free: 72 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1282, allocations: 362.7 kB / 0.5241 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.545e-05/0.1283, allocations: 19.98 kB / 0.5241 GB, free: 15.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.625e-05/0.1283, allocations: 19.98 kB / 0.5242 GB, free: 15.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.1285, allocations: 49.03 kB / 0.5242 GB, free: 15.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.1285, allocations: 0 / 0.5242 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002004/0.1287, allocations: 121.3 kB / 0.5243 GB, free: 15.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1287, allocations: 4 kB / 0.5243 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1287, allocations: 0 / 0.5243 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1287, allocations: 4 kB / 0.5243 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.692e-05/0.1287, allocations: 8 kB / 0.5243 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1288, allocations: 3.984 kB / 0.5244 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/0.1288, allocations: 11.89 kB / 0.5244 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.1288, allocations: 4 kB / 0.5244 GB, free: 15.46 MB / 414.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.0001838/0.129, allocations: 213.8 kB / 0.5246 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/0.1291, allocations: 47.66 kB / 0.5246 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.1293, allocations: 129.1 kB / 0.5247 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1293, allocations: 0 / 0.5247 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1293, allocations: 4 kB / 0.5247 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1293, allocations: 3.938 kB / 0.5247 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005081/0.1298, allocations: 421.6 kB / 0.5251 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1298, allocations: 0 / 0.5251 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.535e-05/0.1299, allocations: 19.92 kB / 0.5252 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1299, allocations: 0 / 0.5252 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1299, allocations: 3.938 kB / 0.5252 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1299, allocations: 0 / 0.5252 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1299, allocations: 192 / 0.5252 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.1302, allocations: 219.2 kB / 0.5254 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/0.1302, allocations: 39.98 kB / 0.5254 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.1302, allocations: 3.938 kB / 0.5254 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.1303, allocations: 4 kB / 0.5254 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.1303, allocations: 3.984 kB / 0.5254 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1303, allocations: 3.984 kB / 0.5254 GB, free: 14.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006205/0.131, allocations: 0.6511 MB / 0.5261 GB, free: 13.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.131, allocations: 0 / 0.5261 GB, free: 13.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.1312, allocations: 27.94 kB / 0.5261 GB, free: 13.6 MB / 414.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.001428/0.1326, allocations: 398.1 kB / 0.5265 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.1328, allocations: 47.97 kB / 0.5265 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1328, allocations: 0 / 0.5265 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.007e-05/0.1329, allocations: 27.98 kB / 0.5265 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.1333, allocations: 33.81 kB / 0.5266 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.1344, allocations: 0.8234 MB / 0.5274 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.1349, allocations: 0.8182 MB / 0.5282 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.1349, allocations: 11.44 kB / 0.5282 GB, free: 11.43 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1349, allocations: 0 / 0.5282 GB, free: 11.43 MB / 414.1 MB Notification: Performance of Templates: time 0.006531/0.1414, allocations: 3.656 MB / 0.5318 GB, free: 7.773 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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: 6.898547140881419]