Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.002331/0.002331, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002061/0.002061, allocations: 216.7 kB / 22.99 MB, free: 4.605 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.679/1.679, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.2672/0.2672, allocations: 44.26 MB / 330.3 MB, free: 9.418 MB / 270.1 MB " [Timeout remaining time 179] 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30") translateModel(ModelicaTest.Tables.CombiTable2D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.002313/0.002313, allocations: 71.89 kB / 468 MB, free: 3.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1352, allocations: 61.05 MB / 0.5167 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test30): time 0.003239/0.1384, allocations: 1.603 MB / 0.5182 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006609/0.1391, allocations: 311.7 kB / 0.5185 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.53e-05/0.1391, allocations: 8 kB / 0.5185 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.1394, allocations: 71.77 kB / 0.5186 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.1396, allocations: 67.67 kB / 0.5187 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.1399, allocations: 107.8 kB / 0.5188 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.14, allocations: 75.83 kB / 0.5188 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1402, allocations: 20.11 kB / 0.5189 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.843e-05/0.1402, allocations: 39.78 kB / 0.5189 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.1403, allocations: 51.81 kB / 0.5189 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1404, allocations: 4 kB / 0.5189 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.595e-05/0.1405, allocations: 35.97 kB / 0.519 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.711e-05/0.1405, allocations: 19.92 kB / 0.519 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/0.1406, allocations: 15.88 kB / 0.519 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.1408, allocations: 99.58 kB / 0.5191 GB, free: 4.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1408, allocations: 3.938 kB / 0.5191 GB, free: 4.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1408, allocations: 4 kB / 0.5191 GB, free: 4.152 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1408, allocations: 3.938 kB / 0.5191 GB, free: 4.148 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.0005647/0.1413, allocations: 333.7 kB / 0.5194 GB, free: 3.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1414, allocations: 8.031 kB / 0.5194 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.1414, allocations: 12.84 kB / 0.5195 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.1416, allocations: 138.4 kB / 0.5196 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.1416, allocations: 384 / 0.5196 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.1417, allocations: 4.375 kB / 0.5196 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.1418, allocations: 61.61 kB / 0.5197 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1418, allocations: 4 kB / 0.5197 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1419, allocations: 3.984 kB / 0.5197 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1419, allocations: 0 / 0.5197 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.142, allocations: 35.91 kB / 0.5197 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.1423, allocations: 232.5 kB / 0.5199 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.1425, allocations: 42.56 kB / 0.52 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.041e-05/0.1425, allocations: 20.94 kB / 0.52 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.1426, allocations: 11.94 kB / 0.52 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.1426, allocations: 38.55 kB / 0.52 GB, free: 3.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1426, allocations: 0 / 0.52 GB, free: 3.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007439/0.1433, allocations: 201.6 kB / 0.5202 GB, free: 2.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.1434, allocations: 55.41 kB / 0.5203 GB, free: 2.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.1436, allocations: 206.2 kB / 0.5205 GB, free: 2.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.1436, allocations: 29.7 kB / 0.5205 GB, free: 2.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.398e-05/0.1437, allocations: 104.1 kB / 0.5206 GB, free: 2.488 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.1437, allocations: 31.86 kB / 0.5206 GB, free: 2.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.1438, allocations: 17.72 kB / 0.5206 GB, free: 2.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1439, allocations: 326.8 kB / 0.521 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.144, allocations: 31.97 kB / 0.521 GB, free: 2.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.1441, allocations: 31.97 kB / 0.521 GB, free: 2.043 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.1443, allocations: 80.75 kB / 0.5211 GB, free: 1.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1443, allocations: 0 / 0.5211 GB, free: 1.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002721/0.1446, allocations: 113.5 kB / 0.5212 GB, free: 1.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1446, allocations: 8 kB / 0.5212 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1446, allocations: 3.938 kB / 0.5212 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1446, allocations: 4 kB / 0.5212 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1448, allocations: 19.98 kB / 0.5212 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.1448, allocations: 0 / 0.5212 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.738e-05/0.1448, allocations: 7.984 kB / 0.5212 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.1448, allocations: 7.938 kB / 0.5212 GB, free: 1.793 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.0001243/0.145, allocations: 129.8 kB / 0.5214 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.145, allocations: 15.91 kB / 0.5214 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003403/0.1453, allocations: 130.3 kB / 0.5215 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1453, allocations: 4 kB / 0.5215 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1453, allocations: 0 / 0.5215 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1454, allocations: 0 / 0.5215 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005075/0.1459, allocations: 326.1 kB / 0.5218 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1459, allocations: 0 / 0.5218 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.277e-05/0.1459, allocations: 19.92 kB / 0.5218 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1459, allocations: 11.98 kB / 0.5219 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.146, allocations: 4 kB / 0.5219 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.146, allocations: 0 / 0.5219 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.146, allocations: 3.938 kB / 0.5219 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.1463, allocations: 211.9 kB / 0.5221 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.1463, allocations: 7.953 kB / 0.5221 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.1463, allocations: 0 / 0.5221 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.854e-05/0.1464, allocations: 11.98 kB / 0.5221 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.1465, allocations: 15.92 kB / 0.5221 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1465, allocations: 8 kB / 0.5221 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.1466, allocations: 147.2 kB / 0.5222 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1466, allocations: 7.938 kB / 0.5223 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.1468, allocations: 16 kB / 0.5223 GB, free: 0.6719 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.00164/0.1485, allocations: 429.9 kB / 0.5227 GB, free: 296 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003021/0.1488, allocations: 79.92 kB / 0.5228 GB, free: 216 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1488, allocations: 0 / 0.5228 GB, free: 216 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.1489, allocations: 43.91 kB / 0.5228 GB, free: 172 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.1493, allocations: 15.86 kB / 0.5228 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000518/0.1498, allocations: 262.1 kB / 0.5231 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.1499, allocations: 92.19 kB / 0.5232 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.106e-05/0.1499, allocations: 7.938 kB / 0.5232 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.15, allocations: 19.42 kB / 0.5232 GB, free: 15.73 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.15, allocations: 0 / 0.5232 GB, free: 15.73 MB / 414.1 MB Notification: Performance of Templates: time 0.004485/0.1545, allocations: 1.33 MB / 0.5245 GB, free: 14.41 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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: 5.416486756876111]