Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009713/0.0009717, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 180.3 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.4 MB / 223.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3798/0.3798, allocations: 43.57 MB / 315 MB, free: 8.891 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.0004766/0.0004766, allocations: 20.61 kB / 384.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1233, allocations: 58.87 MB / 443.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.001853/0.1252, allocations: 1.291 MB / 444.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005576/0.1257, allocations: 307.6 kB / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.1258, allocations: 0 / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.126, allocations: 95.8 kB / 445.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.1262, allocations: 59.8 kB / 445.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.1264, allocations: 63.92 kB / 445.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.1265, allocations: 75.81 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.537e-05/0.1266, allocations: 28.38 kB / 445.4 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.965e-05/0.1267, allocations: 27.91 kB / 445.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.288e-05/0.1268, allocations: 47.83 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.1268, allocations: 0 / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.268e-05/0.1269, allocations: 39.97 kB / 445.5 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.651e-05/0.1269, allocations: 19.86 kB / 445.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.856e-05/0.127, allocations: 57.39 kB / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.1271, allocations: 103.6 kB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.641e-05/0.1272, allocations: 4 kB / 445.7 MB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1272, allocations: 4 kB / 445.7 MB, free: 10.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1272, allocations: 0 / 445.7 MB, free: 10.44 MB / 382.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.0004451/0.1276, allocations: 395.1 kB / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1277, allocations: 12.03 kB / 446.1 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.1277, allocations: 12.75 kB / 446.1 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.1279, allocations: 200.9 kB / 446.3 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.1279, allocations: 384 / 446.3 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.1279, allocations: 4.375 kB / 446.3 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.1281, allocations: 69.55 kB / 446.3 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1281, allocations: 3.984 kB / 446.3 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.1281, allocations: 0 / 446.3 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1281, allocations: 4 kB / 446.3 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1282, allocations: 31.98 kB / 446.4 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.1286, allocations: 308.7 kB / 446.7 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.1287, allocations: 50.5 kB / 446.7 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.1288, allocations: 24.97 kB / 446.7 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1288, allocations: 0 / 446.7 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.1288, allocations: 34.56 kB / 446.8 MB, free: 9.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.1288, allocations: 4 kB / 446.8 MB, free: 9.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005795/0.1294, allocations: 201.2 kB / 447 MB, free: 8.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.1295, allocations: 55.41 kB / 447 MB, free: 8.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.1297, allocations: 238.3 kB / 447.3 MB, free: 8.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1297, allocations: 25.7 kB / 447.3 MB, free: 8.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.242e-05/0.1298, allocations: 108 kB / 447.4 MB, free: 8.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.1298, allocations: 27.59 kB / 447.4 MB, free: 8.465 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.1298, allocations: 17.72 kB / 447.4 MB, free: 8.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1299, allocations: 322.8 kB / 447.8 MB, free: 8.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.908e-05/0.13, allocations: 31.97 kB / 447.8 MB, free: 8.086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.874e-05/0.1301, allocations: 31.98 kB / 447.8 MB, free: 8.055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.1303, allocations: 68.98 kB / 447.9 MB, free: 7.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1303, allocations: 0 / 447.9 MB, free: 7.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002021/0.1305, allocations: 113.5 kB / 448 MB, free: 7.867 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.1305, allocations: 4 kB / 448 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.1305, allocations: 0 / 448 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.1305, allocations: 0 / 448 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1306, allocations: 19.98 kB / 448 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1307, allocations: 4 kB / 448 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.1307, allocations: 15.92 kB / 448 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.1307, allocations: 3.938 kB / 448 MB, free: 7.82 MB / 382.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 9.151e-05/0.1308, allocations: 137.8 kB / 448.2 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.1309, allocations: 15.89 kB / 448.2 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002702/0.1311, allocations: 135.3 kB / 448.3 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1312, allocations: 0 / 448.3 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1312, allocations: 4 kB / 448.3 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1312, allocations: 7.938 kB / 448.3 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000469/0.1316, allocations: 398.5 kB / 448.7 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1317, allocations: 0 / 448.7 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.707e-05/0.1317, allocations: 19.98 kB / 448.8 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.1317, allocations: 3.938 kB / 448.8 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.1318, allocations: 4 kB / 448.8 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1318, allocations: 0 / 448.8 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1318, allocations: 3.984 kB / 448.8 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.132, allocations: 203.4 kB / 449 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.1321, allocations: 92.91 kB / 449.1 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1321, allocations: 7.938 kB / 449.1 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.563e-05/0.1322, allocations: 4 kB / 449.1 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.1322, allocations: 11.98 kB / 449.1 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.1322, allocations: 0 / 449.1 MB, free: 6.688 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.1324, allocations: 176.2 kB / 449.2 MB, free: 6.516 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1324, allocations: 3.938 kB / 449.3 MB, free: 6.512 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.1326, allocations: 20 kB / 449.3 MB, free: 6.492 MB / 382.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.0009337/0.1335, allocations: 401.1 kB / 449.7 MB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.1338, allocations: 79.89 kB / 449.7 MB, free: 6.055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1338, allocations: 0 / 449.7 MB, free: 6.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.199e-05/0.1339, allocations: 36.14 kB / 449.8 MB, free: 6.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.1342, allocations: 16.14 kB / 449.8 MB, free: 6.004 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000491/0.1347, allocations: 293.2 kB / 450.1 MB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.1349, allocations: 0.716 MB / 450.8 MB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.154e-05/0.135, allocations: 8.672 kB / 450.8 MB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.135, allocations: 19.42 kB / 450.8 MB, free: 4.918 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.135, allocations: 0 / 450.8 MB, free: 4.918 MB / 382.1 MB Notification: Performance of Templates: time 0.003278/0.1383, allocations: 1.128 MB / 451.9 MB, free: 3.789 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches