Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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.001505/0.001505, 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.001998/0.001998, allocations: 213.2 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.72/1.72, allocations: 207.7 MB / 233.8 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.2672/0.2672, allocations: 44.27 MB / 330.4 MB, free: 9.301 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.CombiTable1D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21") [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.002291/0.002291, allocations: 75.89 kB / 468 MB, free: 3.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1506, allocations: 61.04 MB / 0.5166 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.003623/0.1543, allocations: 1.561 MB / 0.5182 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.156, allocations: 1.025 MB / 0.5192 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.664e-05/0.156, allocations: 0 / 0.5192 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.1563, allocations: 27.84 kB / 0.5192 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.1566, allocations: 51.7 kB / 0.5192 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.1569, allocations: 87.83 kB / 0.5193 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.1571, allocations: 71.75 kB / 0.5194 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1573, allocations: 7.984 kB / 0.5194 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.353e-05/0.1573, allocations: 19.92 kB / 0.5194 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.1575, allocations: 27.84 kB / 0.5195 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.1575, allocations: 4 kB / 0.5195 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.1576, allocations: 51.92 kB / 0.5195 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.913e-05/0.1577, allocations: 15.92 kB / 0.5195 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.687e-05/0.1577, allocations: 15.92 kB / 0.5195 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.158, allocations: 87.66 kB / 0.5196 GB, free: 3.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.158, allocations: 3.938 kB / 0.5196 GB, free: 3.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.158, allocations: 0 / 0.5196 GB, free: 3.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.158, allocations: 0 / 0.5196 GB, free: 3.594 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006499/0.1587, allocations: 298 kB / 0.5199 GB, free: 3.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1587, allocations: 12.03 kB / 0.5199 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.1587, allocations: 8.891 kB / 0.5199 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.1589, allocations: 130.4 kB / 0.5201 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.1589, allocations: 4.375 kB / 0.5201 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.159, allocations: 384 / 0.5201 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.1592, allocations: 97.22 kB / 0.5201 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1592, allocations: 0 / 0.5201 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1592, allocations: 4 kB / 0.5202 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1592, allocations: 0 / 0.5202 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.039e-05/0.1593, allocations: 23.98 kB / 0.5202 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.1596, allocations: 224.5 kB / 0.5204 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.1599, allocations: 46.55 kB / 0.5204 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.997e-05/0.1599, allocations: 12.86 kB / 0.5204 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.1599, allocations: 4 kB / 0.5205 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.16, allocations: 38.64 kB / 0.5205 GB, free: 2.586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.16, allocations: 0 / 0.5205 GB, free: 2.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005651/0.1605, allocations: 149.4 kB / 0.5206 GB, free: 2.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.1606, allocations: 81.11 kB / 0.5207 GB, free: 2.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.1607, allocations: 133.8 kB / 0.5208 GB, free: 2.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.1608, allocations: 25.7 kB / 0.5209 GB, free: 2.164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.1608, allocations: 100.1 kB / 0.521 GB, free: 2.062 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.1608, allocations: 23.8 kB / 0.521 GB, free: 2.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.1609, allocations: 17.72 kB / 0.521 GB, free: 2.016 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.161, allocations: 322.8 kB / 0.5213 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.3e-05/0.1611, allocations: 19.98 kB / 0.5213 GB, free: 1.672 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.314e-05/0.1612, allocations: 59.41 kB / 0.5214 GB, free: 1.602 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.1613, allocations: 56.81 kB / 0.5214 GB, free: 1.543 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1613, allocations: 3.938 kB / 0.5214 GB, free: 1.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001922/0.1615, allocations: 85.66 kB / 0.5215 GB, free: 1.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1615, allocations: 4 kB / 0.5215 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1615, allocations: 0 / 0.5215 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1616, allocations: 4 kB / 0.5215 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.088e-05/0.1616, allocations: 15.92 kB / 0.5215 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.1616, allocations: 0 / 0.5215 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.089e-05/0.1617, allocations: 4 kB / 0.5215 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.1617, allocations: 3.984 kB / 0.5215 GB, free: 1.418 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 (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 9.521e-05/0.1618, allocations: 121.8 kB / 0.5217 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.1618, allocations: 7.953 kB / 0.5217 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.162, allocations: 97.7 kB / 0.5218 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.162, allocations: 0 / 0.5218 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1621, allocations: 320 / 0.5218 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1621, allocations: 3.984 kB / 0.5218 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.1625, allocations: 302.1 kB / 0.5221 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1625, allocations: 0 / 0.5221 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-05/0.1626, allocations: 15.98 kB / 0.5221 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1626, allocations: 0 / 0.5221 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1626, allocations: 4 kB / 0.5221 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1626, allocations: 0 / 0.5221 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1626, allocations: 0 / 0.5221 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.1628, allocations: 187.3 kB / 0.5223 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.1628, allocations: 0 / 0.5223 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.1628, allocations: 4 kB / 0.5223 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.534e-05/0.1629, allocations: 4 kB / 0.5223 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.163, allocations: 11.92 kB / 0.5223 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.163, allocations: 7.938 kB / 0.5223 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.333e-05/0.1631, allocations: 103.3 kB / 0.5224 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1631, allocations: 0 / 0.5224 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.1633, allocations: 27.92 kB / 0.5224 GB, free: 476 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 (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.00176/0.1651, allocations: 465.9 kB / 0.5229 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.1653, allocations: 59.95 kB / 0.5229 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1653, allocations: 0 / 0.5229 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.598e-05/0.1654, allocations: 31.86 kB / 0.5229 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.1657, allocations: 15.86 kB / 0.523 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.1661, allocations: 165.4 kB / 0.5231 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.78e-05/0.1662, allocations: 75.52 kB / 0.5232 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.842e-05/0.1663, allocations: 15.98 kB / 0.5232 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.1663, allocations: 23.31 kB / 0.5232 GB, free: 15.63 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1663, allocations: 0 / 0.5232 GB, free: 15.63 MB / 414.1 MB Notification: Performance of Templates: time 0.004445/0.1708, allocations: 1.42 MB / 0.5246 GB, free: 14.21 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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.513907549902797]