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.002283/0.002283, allocations: 100.4 kB / 20.45 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.002827/0.002827, allocations: 209.6 kB / 23.74 MB, free: 4.543 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.522/1.522, allocations: 207.7 MB / 234.6 MB, free: 9.785 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.233/0.233, allocations: 44.26 MB / 331.1 MB, free: 9.406 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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30") [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.00236/0.00236, allocations: 68.23 kB / 468.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1222, allocations: 61.06 MB / 0.5174 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003309/0.1255, allocations: 1.607 MB / 0.519 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007526/0.1262, allocations: 335.6 kB / 0.5193 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.126e-05/0.1263, allocations: 8 kB / 0.5193 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.1266, allocations: 75.66 kB / 0.5194 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.1268, allocations: 63.8 kB / 0.5194 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/0.1273, allocations: 155.6 kB / 0.5196 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.1274, allocations: 79.77 kB / 0.5196 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1275, allocations: 19.95 kB / 0.5197 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.708e-05/0.1276, allocations: 35.84 kB / 0.5197 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.1277, allocations: 55.81 kB / 0.5197 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.1278, allocations: 4 kB / 0.5198 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.014e-05/0.1278, allocations: 35.98 kB / 0.5198 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.666e-05/0.1279, allocations: 19.92 kB / 0.5198 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.427e-05/0.128, allocations: 31.78 kB / 0.5198 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.1282, allocations: 99.53 kB / 0.5199 GB, free: 4.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1282, allocations: 4 kB / 0.5199 GB, free: 4.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1282, allocations: 0 / 0.5199 GB, free: 4.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.1282, allocations: 0 / 0.5199 GB, free: 4.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.0005459/0.1288, allocations: 329.7 kB / 0.5202 GB, free: 3.703 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1288, allocations: 8.031 kB / 0.5203 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.1289, allocations: 12.84 kB / 0.5203 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.1291, allocations: 138.4 kB / 0.5204 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1291, allocations: 4.375 kB / 0.5204 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.1291, allocations: 8.312 kB / 0.5204 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.1293, allocations: 65.8 kB / 0.5205 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1293, allocations: 0 / 0.5205 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1293, allocations: 11.92 kB / 0.5205 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1293, allocations: 0 / 0.5205 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.1295, allocations: 35.97 kB / 0.5205 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005019/0.13, allocations: 252.4 kB / 0.5208 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.1301, allocations: 42.5 kB / 0.5208 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.157e-05/0.1302, allocations: 28.94 kB / 0.5208 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.1302, allocations: 0 / 0.5208 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.542e-05/0.1303, allocations: 38.56 kB / 0.5209 GB, free: 2.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.1303, allocations: 0 / 0.5209 GB, free: 2.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008041/0.1311, allocations: 237.3 kB / 0.5211 GB, free: 2.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.1311, allocations: 51.41 kB / 0.5211 GB, free: 2.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.1313, allocations: 215.2 kB / 0.5213 GB, free: 2.465 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.1313, allocations: 25.7 kB / 0.5214 GB, free: 2.434 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.1314, allocations: 100.1 kB / 0.5215 GB, free: 2.332 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.1315, allocations: 23.78 kB / 0.5215 GB, free: 2.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.1315, allocations: 21.72 kB / 0.5215 GB, free: 2.281 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1317, allocations: 330.8 kB / 0.5218 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.1318, allocations: 31.97 kB / 0.5219 GB, free: 1.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.1319, allocations: 43.95 kB / 0.5219 GB, free: 1.875 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.1322, allocations: 96.67 kB / 0.522 GB, free: 1.777 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1322, allocations: 0 / 0.522 GB, free: 1.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002918/0.1324, allocations: 125.5 kB / 0.5221 GB, free: 1.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1325, allocations: 9.875 kB / 0.5221 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1325, allocations: 0 / 0.5221 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1325, allocations: 0 / 0.5221 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.1326, allocations: 24.25 kB / 0.5221 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1326, allocations: 0 / 0.5221 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.602e-05/0.1327, allocations: 8 kB / 0.5222 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.1327, allocations: 8 kB / 0.5222 GB, free: 1.602 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.0001141/0.1328, allocations: 133.7 kB / 0.5223 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.1328, allocations: 7.953 kB / 0.5223 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003656/0.1332, allocations: 147 kB / 0.5224 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1332, allocations: 0 / 0.5224 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1332, allocations: 0 / 0.5224 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1332, allocations: 3.984 kB / 0.5224 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006548/0.1339, allocations: 365.9 kB / 0.5228 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1339, allocations: 4 kB / 0.5228 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.396e-05/0.134, allocations: 15.98 kB / 0.5228 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.134, allocations: 4 kB / 0.5228 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.134, allocations: 0 / 0.5228 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.134, allocations: 0 / 0.5228 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.134, allocations: 3.938 kB / 0.5228 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.1343, allocations: 219.8 kB / 0.523 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.1343, allocations: 7.953 kB / 0.523 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.1344, allocations: 4 kB / 0.523 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-05/0.1344, allocations: 15.98 kB / 0.523 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.1345, allocations: 11.92 kB / 0.5231 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.1345, allocations: 0 / 0.5231 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.1346, allocations: 155.9 kB / 0.5232 GB, free: 460 kB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1346, allocations: 0 / 0.5232 GB, free: 460 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1349, allocations: 20 kB / 0.5232 GB, free: 440 kB / 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.001635/0.1365, allocations: 436.9 kB / 0.5236 GB, free: 40 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003301/0.1369, allocations: 95.94 kB / 0.5237 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1369, allocations: 4 kB / 0.5237 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.137, allocations: 39.97 kB / 0.5238 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.1373, allocations: 19.84 kB / 0.5238 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005512/0.1379, allocations: 292.3 kB / 0.5241 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.1381, allocations: 100.2 kB / 0.5242 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.1381, allocations: 11.44 kB / 0.5242 GB, free: 15.43 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1381, allocations: 0 / 0.5242 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Templates: time 0.004153/0.1423, allocations: 1.782 MB / 0.5259 GB, free: 13.65 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 480] 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: 8.072776225861162]