Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29") translateModel(ModelicaTest.Tables.CombiTable1D.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 111.6 kB / 16.64 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 187.5 kB / 17.56 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2193/0.2193, allocations: 43.52 MB / 314.3 MB, free: 0.707 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 66.91 kB / 382.9 MB, free: 56.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1202, allocations: 57.79 MB / 440.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test29): time 0.00287/0.1231, allocations: 1.63 MB / 442.3 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005294/0.1236, allocations: 331.5 kB / 442.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.368e-05/0.1237, allocations: 0 / 442.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002366/0.124, allocations: 27.91 kB / 442.6 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.1241, allocations: 35.89 kB / 442.7 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.1244, allocations: 82.59 kB / 442.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.1245, allocations: 71.83 kB / 442.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1247, allocations: 24.11 kB / 442.8 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.367e-05/0.1247, allocations: 35.8 kB / 442.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.277e-05/0.1248, allocations: 31.84 kB / 442.9 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.1248, allocations: 4 kB / 442.9 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.685e-05/0.1249, allocations: 31.98 kB / 443 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.132e-05/0.1249, allocations: 11.98 kB / 443 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.914e-05/0.125, allocations: 31.8 kB / 443 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.1251, allocations: 63.84 kB / 443.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1251, allocations: 4 kB / 443.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1251, allocations: 0 / 443.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1251, allocations: 4 kB / 443.1 MB, free: 4.922 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000409/0.1256, allocations: 391.1 kB / 443.4 MB, free: 4.492 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1256, allocations: 11.89 kB / 443.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.1256, allocations: 8.844 kB / 443.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.1258, allocations: 192.8 kB / 443.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1258, allocations: 4.375 kB / 443.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.1259, allocations: 384 / 443.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.126, allocations: 87.31 kB / 443.7 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.126, allocations: 3.938 kB / 443.7 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1261, allocations: 0 / 443.7 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1261, allocations: 4 kB / 443.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.378e-05/0.1262, allocations: 35.97 kB / 443.8 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.1266, allocations: 389 kB / 444.2 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.1269, allocations: 81.16 kB / 444.2 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.751e-05/0.127, allocations: 37.8 kB / 444.3 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.612e-05/0.127, allocations: 11.94 kB / 444.3 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.127, allocations: 30.56 kB / 444.3 MB, free: 3.477 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.127, allocations: 3.938 kB / 444.3 MB, free: 3.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006568/0.1277, allocations: 229.3 kB / 444.6 MB, free: 3.242 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.1277, allocations: 81.11 kB / 444.6 MB, free: 3.145 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.1278, allocations: 164.6 kB / 444.8 MB, free: 2.977 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.1279, allocations: 25.7 kB / 444.8 MB, free: 2.945 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.1279, allocations: 92.14 kB / 444.9 MB, free: 2.852 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.128, allocations: 35.45 kB / 444.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.128, allocations: 29.7 kB / 445 MB, free: 2.781 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.384e-05/0.1281, allocations: 318.8 kB / 445.3 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.606e-05/0.1281, allocations: 35.97 kB / 445.3 MB, free: 2.426 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.323e-05/0.1282, allocations: 49.69 kB / 445.4 MB, free: 2.371 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.1284, allocations: 85.61 kB / 445.4 MB, free: 2.281 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1284, allocations: 0 / 445.4 MB, free: 2.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001883/0.1286, allocations: 121.8 kB / 445.6 MB, free: 2.156 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1286, allocations: 8 kB / 445.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1286, allocations: 0 / 445.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1286, allocations: 7.984 kB / 445.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.672e-05/0.1287, allocations: 23.92 kB / 445.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1287, allocations: 3.938 kB / 445.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.977e-05/0.1288, allocations: 7.984 kB / 445.6 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-06/0.1288, allocations: 4 kB / 445.6 MB, free: 2.102 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.332e-05/0.1289, allocations: 129.8 kB / 445.7 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/0.1289, allocations: 7.906 kB / 445.8 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.1292, allocations: 145.9 kB / 445.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1292, allocations: 0 / 445.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.1292, allocations: 7.938 kB / 445.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.1292, allocations: 3.984 kB / 445.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.1297, allocations: 0.4946 MB / 446.4 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1297, allocations: 4.25 kB / 446.4 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.458e-05/0.1298, allocations: 19.98 kB / 446.4 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.1298, allocations: 4 kB / 446.4 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1298, allocations: 8 kB / 446.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1298, allocations: 0 / 446.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1298, allocations: 0 / 446.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.1301, allocations: 295.5 kB / 446.7 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.1301, allocations: 88.95 kB / 446.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.1301, allocations: 11.94 kB / 446.8 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.856e-05/0.1302, allocations: 7.984 kB / 446.8 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.1303, allocations: 8.219 kB / 446.8 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.1303, allocations: 0 / 446.8 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.998e-05/0.1304, allocations: 127.2 kB / 447 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1304, allocations: 3.938 kB / 447 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000271/0.1306, allocations: 16 kB / 447 MB, free: 0.625 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0008623/0.1315, allocations: 399.2 kB / 447.4 MB, free: 320 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.1317, allocations: 91.88 kB / 447.5 MB, free: 228 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1317, allocations: 0 / 447.5 MB, free: 228 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.118e-05/0.1318, allocations: 51.91 kB / 447.5 MB, free: 176 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.1323, allocations: 19.88 kB / 447.5 MB, free: 156 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/0.1328, allocations: 297.4 kB / 447.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.133, allocations: 0.7001 MB / 448.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.1331, allocations: 23.42 kB / 448.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1331, allocations: 0 / 448.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of Templates: time 0.003337/0.1364, allocations: 1.634 MB / 450.2 MB, free: 13.44 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches