Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001332, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001389/0.001389, allocations: 195.3 kB / 19.23 MB, free: 3.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 242.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2094/0.2094, allocations: 44.18 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 68.67 kB / 409.1 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1146, allocations: 60.83 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003039/0.1177, allocations: 1.565 MB / 471.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007126/0.1184, allocations: 419.2 kB / 471.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.803e-05/0.1185, allocations: 0 / 471.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002901/0.1188, allocations: 127.6 kB / 472 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.119, allocations: 91.69 kB / 472.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.1193, allocations: 114.8 kB / 472.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.1195, allocations: 87.8 kB / 472.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.346e-05/0.1196, allocations: 16.17 kB / 472.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.743e-05/0.1196, allocations: 43.83 kB / 472.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.1198, allocations: 91.78 kB / 472.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.1198, allocations: 0 / 472.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.147e-05/0.1199, allocations: 39.98 kB / 472.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.805e-05/0.1199, allocations: 27.92 kB / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.12, allocations: 39.62 kB / 472.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.1202, allocations: 108 kB / 472.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1202, allocations: 3.938 kB / 472.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1202, allocations: 0 / 472.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1202, allocations: 0 / 472.7 MB, free: 11.63 MB / 350.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.0004854/0.1207, allocations: 430.8 kB / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1208, allocations: 12.03 kB / 473.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.1208, allocations: 8.844 kB / 473.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.121, allocations: 207.9 kB / 473.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.121, allocations: 8.359 kB / 473.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.1211, allocations: 4.375 kB / 473.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.1212, allocations: 61.55 kB / 473.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1212, allocations: 0 / 473.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1212, allocations: 0 / 473.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.1213, allocations: 0 / 473.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.1214, allocations: 31.98 kB / 473.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.1218, allocations: 312.6 kB / 473.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.1219, allocations: 50.48 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.018e-05/0.122, allocations: 16.86 kB / 473.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.122, allocations: 4 kB / 473.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.122, allocations: 38.64 kB / 473.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.122, allocations: 3.938 kB / 473.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008586/0.1229, allocations: 241 kB / 474.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.1229, allocations: 55.34 kB / 474.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.1232, allocations: 274.2 kB / 474.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1232, allocations: 29.7 kB / 474.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.1233, allocations: 112 kB / 474.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.1233, allocations: 27.64 kB / 474.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.1233, allocations: 17.72 kB / 474.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1235, allocations: 326.8 kB / 474.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.467e-05/0.1236, allocations: 39.91 kB / 474.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.437e-05/0.1236, allocations: 32.05 kB / 475 MB, free: 9.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.1238, allocations: 72.81 kB / 475 MB, free: 9.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1238, allocations: 0 / 475 MB, free: 9.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000222/0.124, allocations: 113.5 kB / 475.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1241, allocations: 4 kB / 475.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1241, allocations: 4 kB / 475.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.1241, allocations: 0 / 475.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.878e-05/0.1242, allocations: 23.92 kB / 475.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1242, allocations: 3.938 kB / 475.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.368e-05/0.1243, allocations: 7.984 kB / 475.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1243, allocations: 0 / 475.2 MB, free: 8.883 MB / 350.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.0001003/0.1244, allocations: 133.8 kB / 475.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.1244, allocations: 15.81 kB / 475.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.1247, allocations: 131 kB / 475.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1247, allocations: 3.984 kB / 475.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1247, allocations: 7.938 kB / 475.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1247, allocations: 432 / 475.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004996/0.1252, allocations: 431.2 kB / 475.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1253, allocations: 0 / 475.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.873e-05/0.1253, allocations: 19.92 kB / 475.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.1254, allocations: 4 kB / 475.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1254, allocations: 0 / 475.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1254, allocations: 0 / 475.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1254, allocations: 480 / 475.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.1256, allocations: 228.2 kB / 476.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.1257, allocations: 92.8 kB / 476.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.1257, allocations: 7.984 kB / 476.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.1258, allocations: 7.938 kB / 476.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.1259, allocations: 15.98 kB / 476.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1259, allocations: 0 / 476.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001578/0.126, allocations: 199.2 kB / 476.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.126, allocations: 0 / 476.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.1263, allocations: 27.94 kB / 476.5 MB, free: 7.477 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0009695/0.1273, allocations: 441.6 kB / 476.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.1275, allocations: 91.88 kB / 477 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1275, allocations: 0 / 477 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.884e-05/0.1276, allocations: 39.97 kB / 477.1 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.128, allocations: 22.58 kB / 477.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005063/0.1285, allocations: 341 kB / 477.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.1288, allocations: 0.7197 MB / 478.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.1288, allocations: 19.42 kB / 478.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1288, allocations: 3.938 kB / 478.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of Templates: time 0.00346/0.1323, allocations: 1.891 MB / 480 MB, free: 4.047 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches