Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.00171/0.00171, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.448/1.448, allocations: 222.9 MB / 242.4 MB, free: 15.35 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.2256/0.2256, allocations: 44.18 MB / 336.8 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 65.75 kB / 408.4 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1175, allocations: 60.82 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003136/0.1207, allocations: 1.64 MB / 470.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008477/0.1215, allocations: 431.2 kB / 471.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.1216, allocations: 0 / 471.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.1219, allocations: 111.8 kB / 471.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.1221, allocations: 79.83 kB / 471.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.1224, allocations: 90.7 kB / 471.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.1226, allocations: 99.72 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1227, allocations: 16.19 kB / 471.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.553e-05/0.1228, allocations: 47.81 kB / 471.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.1229, allocations: 75.8 kB / 471.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1229, allocations: 4 kB / 471.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.617e-05/0.123, allocations: 35.98 kB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.146e-05/0.1231, allocations: 31.91 kB / 471.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.701e-05/0.1232, allocations: 35.69 kB / 471.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.1233, allocations: 84.17 kB / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.1233, allocations: 0 / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1233, allocations: 3.938 kB / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1233, allocations: 0 / 471.9 MB, free: 12.05 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.0005298/0.1239, allocations: 426.8 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1239, allocations: 8.031 kB / 472.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.124, allocations: 12.84 kB / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.1242, allocations: 207.9 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.1242, allocations: 8.375 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.1242, allocations: 4.375 kB / 472.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.1244, allocations: 53.61 kB / 472.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.1244, allocations: 4 kB / 472.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.1244, allocations: 4 kB / 472.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1244, allocations: 3.938 kB / 472.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.1246, allocations: 27.97 kB / 472.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/0.125, allocations: 316.6 kB / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1251, allocations: 46.5 kB / 473 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.089e-05/0.1252, allocations: 20.94 kB / 473.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.1252, allocations: 0 / 473.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.1253, allocations: 30.56 kB / 473.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1253, allocations: 4 kB / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000909/0.1262, allocations: 233.3 kB / 473.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.1262, allocations: 55.41 kB / 473.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.1265, allocations: 274.2 kB / 473.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1265, allocations: 33.7 kB / 473.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.823e-05/0.1266, allocations: 112 kB / 473.8 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.1266, allocations: 19.66 kB / 473.8 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.1267, allocations: 25.7 kB / 473.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1268, allocations: 326.8 kB / 474.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.691e-05/0.1269, allocations: 27.98 kB / 474.2 MB, free: 9.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.987e-05/0.127, allocations: 27.97 kB / 474.2 MB, free: 9.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.1271, allocations: 80.83 kB / 474.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1271, allocations: 4 kB / 474.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000213/0.1273, allocations: 113.6 kB / 474.4 MB, free: 9.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1274, allocations: 11.88 kB / 474.4 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1274, allocations: 3.984 kB / 474.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1274, allocations: 3.984 kB / 474.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1275, allocations: 16 kB / 474.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.1275, allocations: 8.25 kB / 474.4 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.1276, allocations: 7.984 kB / 474.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1276, allocations: 0 / 474.4 MB, free: 9.316 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.0001082/0.1277, allocations: 138.3 kB / 474.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.1277, allocations: 15.81 kB / 474.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002898/0.128, allocations: 139 kB / 474.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1281, allocations: 4 kB / 474.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.1281, allocations: 3.938 kB / 474.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1281, allocations: 0 / 474.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005096/0.1286, allocations: 423.3 kB / 475.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1286, allocations: 4 kB / 475.2 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.861e-05/0.1287, allocations: 23.86 kB / 475.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1287, allocations: 4.031 kB / 475.2 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1287, allocations: 4 kB / 475.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1287, allocations: 0 / 475.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1287, allocations: 0 / 475.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.129, allocations: 216.2 kB / 475.4 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.129, allocations: 92.86 kB / 475.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.1291, allocations: 4 kB / 475.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.1291, allocations: 8 kB / 475.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.1292, allocations: 7.984 kB / 475.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.1292, allocations: 4 kB / 475.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.1294, allocations: 203.2 kB / 475.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1294, allocations: 0 / 475.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.1296, allocations: 27.98 kB / 475.7 MB, free: 7.914 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.001034/0.1307, allocations: 452.3 kB / 476.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.1309, allocations: 75.94 kB / 476.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1309, allocations: 0 / 476.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.253e-05/0.131, allocations: 43.92 kB / 476.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.1314, allocations: 23.89 kB / 476.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000578/0.132, allocations: 366.9 kB / 476.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.1323, allocations: 0.7277 MB / 477.4 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.1323, allocations: 11.44 kB / 477.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1323, allocations: 0 / 477.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of Templates: time 0.003664/0.136, allocations: 1.894 MB / 479.3 MB, free: 4.457 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches