Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.00172/0.00172, allocations: 111.7 kB / 19.69 MB, free: 2.207 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.002084/0.002084, allocations: 218.3 kB / 23 MB, free: 5.062 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.67/1.67, allocations: 207.6 MB / 233.8 MB, free: 9.996 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.2952/0.2952, allocations: 44.24 MB / 330.3 MB, free: 9.52 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.CombiTable2Dv.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") [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.002615/0.002615, allocations: 82.55 kB / 468 MB, free: 3.984 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.145, allocations: 61.02 MB / 0.5166 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.004184/0.1492, allocations: 1.649 MB / 0.5182 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.1511, allocations: 1.06 MB / 0.5193 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.1512, allocations: 0 / 0.5193 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.1515, allocations: 23.86 kB / 0.5193 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.1518, allocations: 47.77 kB / 0.5193 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/0.1523, allocations: 163.6 kB / 0.5195 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.1525, allocations: 63.78 kB / 0.5196 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1526, allocations: 23.95 kB / 0.5196 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.585e-05/0.1527, allocations: 19.92 kB / 0.5196 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.1528, allocations: 31.86 kB / 0.5196 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.1529, allocations: 7.984 kB / 0.5196 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.153, allocations: 51.97 kB / 0.5197 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.573e-05/0.1531, allocations: 15.94 kB / 0.5197 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.782e-05/0.1532, allocations: 39.72 kB / 0.5197 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.1534, allocations: 95.64 kB / 0.5198 GB, free: 3.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1534, allocations: 0 / 0.5198 GB, free: 3.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1534, allocations: 0 / 0.5198 GB, free: 3.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1534, allocations: 0 / 0.5198 GB, free: 3.52 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.0005855/0.154, allocations: 306 kB / 0.5201 GB, free: 3.191 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.1541, allocations: 12.03 kB / 0.5201 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.1541, allocations: 4.891 kB / 0.5201 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.1543, allocations: 142.3 kB / 0.5203 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1543, allocations: 8.312 kB / 0.5203 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.1544, allocations: 4.375 kB / 0.5203 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.1546, allocations: 83.5 kB / 0.5204 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.1546, allocations: 4 kB / 0.5204 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.1546, allocations: 3.984 kB / 0.5204 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1546, allocations: 0 / 0.5204 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.1548, allocations: 35.97 kB / 0.5204 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.1553, allocations: 275.8 kB / 0.5207 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.1554, allocations: 42.56 kB / 0.5207 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.36e-05/0.1555, allocations: 24.94 kB / 0.5207 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.1555, allocations: 3.984 kB / 0.5207 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.1555, allocations: 34.56 kB / 0.5208 GB, free: 2.426 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1555, allocations: 0 / 0.5208 GB, free: 2.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008266/0.1564, allocations: 225.3 kB / 0.521 GB, free: 2.199 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.1564, allocations: 85.11 kB / 0.5211 GB, free: 2.098 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.1566, allocations: 129.8 kB / 0.5212 GB, free: 1.961 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.1566, allocations: 29.7 kB / 0.5212 GB, free: 1.926 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/0.1567, allocations: 92.09 kB / 0.5213 GB, free: 1.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.1567, allocations: 27.78 kB / 0.5213 GB, free: 1.805 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.1568, allocations: 17.72 kB / 0.5214 GB, free: 1.781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1569, allocations: 330.7 kB / 0.5217 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.157, allocations: 43.91 kB / 0.5217 GB, free: 1.406 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.1572, allocations: 53.69 kB / 0.5218 GB, free: 1.348 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.1574, allocations: 84.8 kB / 0.5218 GB, free: 1.262 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1574, allocations: 0 / 0.5218 GB, free: 1.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002965/0.1577, allocations: 129.6 kB / 0.522 GB, free: 1.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1577, allocations: 8 kB / 0.522 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1577, allocations: 320 / 0.522 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1577, allocations: 0 / 0.522 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.1579, allocations: 23.92 kB / 0.522 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.1579, allocations: 0 / 0.522 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.998e-05/0.1579, allocations: 11.92 kB / 0.522 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1579, allocations: 11.98 kB / 0.522 GB, free: 1.074 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.0001025/0.158, allocations: 117.8 kB / 0.5221 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/0.1581, allocations: 7.953 kB / 0.5221 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003593/0.1584, allocations: 134 kB / 0.5223 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1584, allocations: 3.938 kB / 0.5223 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1584, allocations: 0 / 0.5223 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1584, allocations: 7.875 kB / 0.5223 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000564/0.159, allocations: 377.6 kB / 0.5226 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.159, allocations: 0 / 0.5226 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.866e-05/0.1591, allocations: 15.98 kB / 0.5227 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1591, allocations: 4 kB / 0.5227 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1591, allocations: 7.938 kB / 0.5227 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1591, allocations: 0 / 0.5227 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1591, allocations: 4 kB / 0.5227 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.1595, allocations: 219.4 kB / 0.5229 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.352e-05/0.1595, allocations: 7.953 kB / 0.5229 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.1595, allocations: 3.938 kB / 0.5229 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.759e-05/0.1596, allocations: 7.984 kB / 0.5229 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.1596, allocations: 15.98 kB / 0.5229 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1596, allocations: 4 kB / 0.5229 GB, free: 72 kB / 398.1 MB Notification: Performance of sorting global known variables: time 9.656e-05/0.1597, allocations: 102.9 kB / 0.523 GB, free: 15.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1597, allocations: 0 / 0.523 GB, free: 15.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.16, allocations: 31.92 kB / 0.523 GB, free: 15.94 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 (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.0017/0.1617, allocations: 447.2 kB / 0.5235 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003293/0.162, allocations: 87.88 kB / 0.5236 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.162, allocations: 0 / 0.5236 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.1622, allocations: 47.95 kB / 0.5236 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.1625, allocations: 23.44 kB / 0.5236 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000483/0.163, allocations: 206.2 kB / 0.5238 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.1634, allocations: 0.7002 MB / 0.5245 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.589e-05/0.1635, allocations: 23.97 kB / 0.5245 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.805e-05/0.1635, allocations: 23.42 kB / 0.5246 GB, free: 14.39 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1635, allocations: 0 / 0.5246 GB, free: 14.39 MB / 414.1 MB Notification: Performance of Templates: time 0.004981/0.1685, allocations: 1.587 MB / 0.5261 GB, free: 12.8 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.818642229074612]