Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.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.001626/0.001626, 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.001503/0.001503, allocations: 215.2 kB / 22.99 MB, free: 4.602 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.752/1.752, allocations: 207.7 MB / 233.8 MB, free: 9.805 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.2564/0.2564, 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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") [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.002447/0.002447, allocations: 71.91 kB / 468 MB, free: 3.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1475, allocations: 61.03 MB / 0.5166 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003981/0.1515, allocations: 1.576 MB / 0.5182 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.1535, allocations: 1.033 MB / 0.5192 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.791e-05/0.1536, allocations: 0 / 0.5192 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.1538, allocations: 23.86 kB / 0.5192 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.1541, allocations: 39.78 kB / 0.5193 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.1544, allocations: 79.84 kB / 0.5193 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.1546, allocations: 71.75 kB / 0.5194 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1547, allocations: 16.17 kB / 0.5194 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.259e-05/0.1548, allocations: 23.86 kB / 0.5194 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.1549, allocations: 31.83 kB / 0.5195 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.1549, allocations: 4 kB / 0.5195 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.1551, allocations: 51.98 kB / 0.5195 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.1551, allocations: 15.92 kB / 0.5195 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.1552, allocations: 19.86 kB / 0.5196 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.1554, allocations: 95.58 kB / 0.5196 GB, free: 3.602 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.1554, allocations: 8 kB / 0.5196 GB, free: 3.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1554, allocations: 0 / 0.5196 GB, free: 3.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1554, 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005776/0.156, allocations: 313.8 kB / 0.5199 GB, free: 3.258 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.156, allocations: 8.031 kB / 0.52 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.1561, allocations: 8.891 kB / 0.52 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.1563, allocations: 130.4 kB / 0.5201 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1563, allocations: 4.375 kB / 0.5201 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.1564, allocations: 4.375 kB / 0.5201 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.1566, allocations: 101 kB / 0.5202 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1566, allocations: 4 kB / 0.5202 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1566, allocations: 0 / 0.5202 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1566, allocations: 0 / 0.5202 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.1567, allocations: 39.91 kB / 0.5202 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.1571, allocations: 232.5 kB / 0.5205 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.1573, allocations: 50.5 kB / 0.5205 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.944e-05/0.1573, allocations: 12.86 kB / 0.5205 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.1574, allocations: 11.92 kB / 0.5205 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.1574, allocations: 34.69 kB / 0.5206 GB, free: 2.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.1574, allocations: 4 kB / 0.5206 GB, free: 2.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000679/0.1581, allocations: 177.4 kB / 0.5207 GB, free: 2.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.1582, allocations: 77.11 kB / 0.5208 GB, free: 2.258 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.1583, allocations: 141.8 kB / 0.5209 GB, free: 2.109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.1584, allocations: 29.69 kB / 0.521 GB, free: 2.074 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.621e-05/0.1584, allocations: 96.08 kB / 0.5211 GB, free: 1.977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.1585, allocations: 27.73 kB / 0.5211 GB, free: 1.949 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.1585, allocations: 21.72 kB / 0.5211 GB, free: 1.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1587, allocations: 330.8 kB / 0.5214 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.67e-05/0.1588, allocations: 19.98 kB / 0.5214 GB, free: 1.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.1589, allocations: 67.47 kB / 0.5215 GB, free: 1.492 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.159, allocations: 57.06 kB / 0.5216 GB, free: 1.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1591, allocations: 0 / 0.5216 GB, free: 1.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002307/0.1593, allocations: 105.5 kB / 0.5217 GB, free: 1.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1593, allocations: 13.91 kB / 0.5217 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1593, allocations: 0 / 0.5217 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.1593, allocations: 0 / 0.5217 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.1594, allocations: 19.98 kB / 0.5217 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1594, allocations: 0 / 0.5217 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.453e-05/0.1595, allocations: 4 kB / 0.5217 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1595, allocations: 7.938 kB / 0.5217 GB, free: 1.281 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 (8): * Single equations (assignments): 8 * 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.0001088/0.1596, allocations: 117.8 kB / 0.5218 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.1596, allocations: 11.89 kB / 0.5218 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.1599, allocations: 114 kB / 0.5219 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.1599, allocations: 0 / 0.5219 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.1599, allocations: 7.984 kB / 0.5219 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.16, allocations: 0 / 0.5219 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004944/0.1604, allocations: 318.1 kB / 0.5223 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1604, allocations: 0 / 0.5223 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.05e-05/0.1605, allocations: 19.98 kB / 0.5223 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1605, allocations: 0 / 0.5223 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1605, allocations: 8 kB / 0.5223 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1605, allocations: 7.875 kB / 0.5223 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.1606, allocations: 4.359 kB / 0.5223 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.1609, allocations: 199.4 kB / 0.5225 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.1609, allocations: 7.953 kB / 0.5225 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.1609, allocations: 4 kB / 0.5225 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.816e-05/0.161, allocations: 11.94 kB / 0.5225 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.161, allocations: 7.984 kB / 0.5225 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.161, allocations: 0 / 0.5225 GB, free: 396 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.1612, allocations: 119 kB / 0.5226 GB, free: 280 kB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1612, allocations: 0 / 0.5226 GB, free: 280 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002904/0.1615, allocations: 23.94 kB / 0.5226 GB, free: 256 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 (8): * Single equations (assignments): 8 * 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.001912/0.1634, allocations: 469.4 kB / 0.5231 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.1636, allocations: 67.88 kB / 0.5232 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1636, allocations: 0 / 0.5232 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.609e-05/0.1637, allocations: 31.98 kB / 0.5232 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.1641, allocations: 23.78 kB / 0.5232 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005303/0.1647, allocations: 185.8 kB / 0.5234 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.1648, allocations: 75.33 kB / 0.5235 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000109/0.1649, allocations: 12.67 kB / 0.5235 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.104e-05/0.1649, allocations: 23.36 kB / 0.5235 GB, free: 15.37 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1649, allocations: 0 / 0.5235 GB, free: 15.37 MB / 414.1 MB Notification: Performance of Templates: time 0.005231/0.1702, allocations: 1.495 MB / 0.525 GB, free: 13.88 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.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.587837500497699]